1aecfc01dSrui zang - Sun Microsystems - Beijing China# 2aecfc01dSrui zang - Sun Microsystems - Beijing China# CDDL HEADER START 3aecfc01dSrui zang - Sun Microsystems - Beijing China# 4aecfc01dSrui zang - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the 5aecfc01dSrui zang - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License"). 6aecfc01dSrui zang - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License. 7aecfc01dSrui zang - Sun Microsystems - Beijing China# 8aecfc01dSrui zang - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9aecfc01dSrui zang - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing. 10aecfc01dSrui zang - Sun Microsystems - Beijing China# See the License for the specific language governing permissions 11aecfc01dSrui zang - Sun Microsystems - Beijing China# and limitations under the License. 12aecfc01dSrui zang - Sun Microsystems - Beijing China# 13aecfc01dSrui zang - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each 14aecfc01dSrui zang - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15aecfc01dSrui zang - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the 16aecfc01dSrui zang - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying 17aecfc01dSrui zang - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner] 18aecfc01dSrui zang - Sun Microsystems - Beijing China# 19aecfc01dSrui zang - Sun Microsystems - Beijing China# CDDL HEADER END 20aecfc01dSrui zang - Sun Microsystems - Beijing China# 21aecfc01dSrui zang - Sun Microsystems - Beijing China# 228afbae07SRod Evans# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23aecfc01dSrui zang - Sun Microsystems - Beijing China# Use is subject to license terms. 24aecfc01dSrui zang - Sun Microsystems - Beijing China# 25aecfc01dSrui zang - Sun Microsystems - Beijing China 26aecfc01dSrui zang - Sun Microsystems - Beijing ChinaPROG= vtdaemon vtinfo vtxlock 27aecfc01dSrui zang - Sun Microsystems - Beijing China 28aecfc01dSrui zang - Sun Microsystems - Beijing ChinaVTDAEMON_SRC= vtdaemon.c 29aecfc01dSrui zang - Sun Microsystems - Beijing ChinaVTINFO_SRC= vtinfo.c 30aecfc01dSrui zang - Sun Microsystems - Beijing China 31aecfc01dSrui zang - Sun Microsystems - Beijing Chinainclude ../Makefile.cmd 32aecfc01dSrui zang - Sun Microsystems - Beijing China 33aecfc01dSrui zang - Sun Microsystems - Beijing ChinaCFLAGS += $(CCVERBOSE) 34*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 35aecfc01dSrui zang - Sun Microsystems - Beijing China 368afbae07SRod EvansLDLIBS += -lpam -lbsm 37aecfc01dSrui zang - Sun Microsystems - Beijing China 38aecfc01dSrui zang - Sun Microsystems - Beijing China.KEEP_STATE: 39aecfc01dSrui zang - Sun Microsystems - Beijing China 40aecfc01dSrui zang - Sun Microsystems - Beijing Chinaall: $(PROG) 41aecfc01dSrui zang - Sun Microsystems - Beijing China 42aecfc01dSrui zang - Sun Microsystems - Beijing Chinavtdaemon: $(VTDAEMON_SRC) 43aecfc01dSrui zang - Sun Microsystems - Beijing China $(LINK.c) -o $@ $(VTDAEMON_SRC) $(LDLIBS) 44aecfc01dSrui zang - Sun Microsystems - Beijing China $(POST_PROCESS) 45aecfc01dSrui zang - Sun Microsystems - Beijing China 46aecfc01dSrui zang - Sun Microsystems - Beijing Chinavtinfo: $(VTINFO_SRC) 47aecfc01dSrui zang - Sun Microsystems - Beijing China $(LINK.c) -o $@ $(VTINFO_SRC) 48aecfc01dSrui zang - Sun Microsystems - Beijing China $(POST_PROCESS) 49aecfc01dSrui zang - Sun Microsystems - Beijing China 50aecfc01dSrui zang - Sun Microsystems - Beijing Chinainstall: all $(ROOTLIBPROG) 51aecfc01dSrui zang - Sun Microsystems - Beijing China 52aecfc01dSrui zang - Sun Microsystems - Beijing Chinaclean: 53aecfc01dSrui zang - Sun Microsystems - Beijing China 54aecfc01dSrui zang - Sun Microsystems - Beijing Chinalint: 55aecfc01dSrui zang - Sun Microsystems - Beijing China $(LINT.c) $(VTDAEMON_SRC) $(LDLIBS) 56aecfc01dSrui zang - Sun Microsystems - Beijing China $(LINT.c) $(VTINFO_SRC) 57aecfc01dSrui zang - Sun Microsystems - Beijing China 58aecfc01dSrui zang - Sun Microsystems - Beijing Chinainclude ../Makefile.targ 59