Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# CDDL HEADER START
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# The contents of this file are subject to the terms of the
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# Common Development and Distribution License (the "License").
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# You may not use this file except in compliance with the License.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# See the License for the specific language governing permissions
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# and limitations under the License.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# When distributing Covered Code, include this CDDL HEADER in each
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# If applicable, add the following below this CDDL HEADER, with the
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync# CDDL HEADER END
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync in.comsat in.fingerd in.rarpd in.rexecd in.rlogind \
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncMANIFEST= rarp.xml telnet.xml comsat.xml finger.xml \
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync login.xml shell.xml rexec.xml socket-filter-kssl.xml
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncSOCKETPROG= 6to4relay arp gettable hostconfig if_mpadm in.comsat \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncNSLPROG= 6to4relay arp gettable hostconfig in.comsat in.rarpd \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncSUBDIRS= bootconfchk htable ifconfig ilbadm in.ftpd in.rdisc in.routed \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync in.talkd inetadm inetconv ipadm ipmpstat ipqosconf ipsecutils \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync kssl/kssladm kssl/ksslcfg nwamadm nwamcfg ping routeadm \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncMSGSUBDIRS= bootconfchk htable ifconfig ilbadm in.ftpd in.routed in.talkd \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync inetadm inetconv ipadm ipmpstat ipqosconf ipsecutils \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync kssl/ksslcfg nwamadm nwamcfg routeadm sppptun snoop wificonfig
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# As programs get lint-clean, add them here and to the 'lint' target.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# Eventually this hack should go away, and all in PROG should be
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# lint-clean.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncLINTCLEAN= 6to4relay arp in.rlogind in.rshd in.telnetd in.tftpd \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# Likewise, as subdirs get lint-clean, add them here. Once
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# they're all clean, replace the dependency of the lint target
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# with SUBDIRS. Also (sigh) deal with the commented-out build lines
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# for the lint rule.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncLINTSUBDIRS= bootconfchk ilbadm in.rdisc in.routed in.talkd inetadm \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync inetconv ipmpstat ipqosconf ipsecutils kssl/kssladm \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync kssl/ksslcfg nwamadm nwamcfg ping routeadm sppptun traceroute \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# And as programs are verified not to attempt to write into constants,
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# -xstrconst should be used to ensure they stay that way.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncCOMMONSRCS= $(COMMONOBJS:%.o=$(CMDINETCOMMONDIR)/%.c)
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncCERRWARN += -_gcc=-Wno-implicit-function-declaration
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# Message catalog
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncPOFILES= 6to4relay.po if_mpadm.po in.comsat.po ipaddrsel.po route.po \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncCLEANFILES += $(COMMONOBJS) $(K5RLOGINOBJS) $(K5RSHDOBJS) $(TFTPDOBJS) \
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncCPPFLAGS += -DSYSV -DBSD_COMP -I$(CMDINETCOMMONDIR) -I
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# Eventually just plain CFLAGS should be += -v, but not until all in
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# PROGS are lint clean.
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncgettable in.comsat := LDFLAGS += $(MAPFILE.NGB:%=-M%)
5d21e43767a8ad1220a67c8954e95d687a433783vboxsyncall: $(PROG) $(ROOTFS_PROG) $(SUBDIRS) THIRDPARTYLICENSE.arp
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync# message catalog
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync $(LINK.c) $(K5RLOGINOBJS) $(COMMONOBJS) -o $@ $(LDLIBS)
5d21e43767a8ad1220a67c8954e95d687a433783vboxsync $(LINK.c) $(K5RSHDOBJS) $(COMMONOBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
$(POST_PROCESS)
$(ROOTUSRSBINLINKS):
@if [ -f $@/Makefile ]; then \
FRC:
@# $(LINT.c) in.rexecd.c $(LDLIBS) -lbsm -lpam