Makefile revision 10946:324bab2b3370
119370Spst#
298944Sobrien# CDDL HEADER START
398944Sobrien#
419370Spst# The contents of this file are subject to the terms of the
519370Spst# Common Development and Distribution License (the "License").
698944Sobrien# You may not use this file except in compliance with the License.
719370Spst#
898944Sobrien# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
998944Sobrien# or http://www.opensolaris.org/os/licensing.
1098944Sobrien# See the License for the specific language governing permissions
1198944Sobrien# and limitations under the License.
1219370Spst#
1398944Sobrien# When distributing Covered Code, include this CDDL HEADER in each
1498944Sobrien# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1598944Sobrien# If applicable, add the following below this CDDL HEADER, with the
1698944Sobrien# fields enclosed by brackets "[]" replaced with your own identifying
1719370Spst# information: Portions Copyright [yyyy] [name of copyright owner]
1898944Sobrien#
1998944Sobrien# CDDL HEADER END
2098944Sobrien#
2198944Sobrien#
2219370Spst# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2319370Spst# Use is subject to license terms.
2419370Spst#
2519370Spst
2619370SpstSUBDIRS=	bridged dhcp dsvclockd ilbd in.chargend in.daytimed \
2719370Spst		in.discardd in.echod in.dhcpd in.mpathd in.ndpd \
2819370Spst		in.ripngd in.timed inetd mdnsd ncaconfd pppoe \
2919370Spst		slpd wanboot wpad
3019370Spst
3119370SpstMSGSUBDIRS=	dsvclockd ilbd in.dhcpd inetd ncaconfd wanboot
3219370Spst
3319370Spstinclude ../../Makefile.cmd
3419370Spst
3519370Spst$(CLOSED_BUILD)SUBDIRS += \
3698944Sobrien	$(CLOSED)/cmd/cmd-inet/usr.lib/ike-certutils \
3798944Sobrien	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked
3846283Sdfr
3998944SobrienPOFILES=	dsvclockd/dsvclockd.po in.dhcpd/in.dhcpd.po \
4098944Sobrien		inetd/inetd.po ncaconfd/ncaconfd.po \
4198944Sobrien		wanboot/wanboot.po
4246283SdfrPOFILE=		usr.lib.po
4398944Sobrien
4446283Sdfrall:=		TARGET= all
4598944Sobrieninstall:=	TARGET= install
4698944Sobrienclean:=		TARGET= clean
4746283Sdfrclobber:=	TARGET= clobber
4898944Sobrienlint:=		TARGET= lint
4946283Sdfr_msg:=		TARGET= _msg
5098944Sobrien
5198944Sobrien.KEEP_STATE:
5298944Sobrien
5398944Sobrienall install clean clobber lint: $(SUBDIRS)
5446283Sdfr
5598944Sobrien_msg: $(MSGSUBDIRS) 
5698944Sobrien
5798944Sobrien#
5898944Sobrien# The reason this rule checks for the existence of the
5998944Sobrien# Makefile is that some of the directories do not exist
6098944Sobrien# in our exportable source builds or in OpenSolaris.
6198944Sobrien#
6298944Sobrien$(SUBDIRS): FRC
6398944Sobrien	@if [ -f $@/Makefile  ]; then \
6498944Sobrien		cd $@; pwd; $(MAKE) $(TARGET); \
6598944Sobrien	else \
6698944Sobrien		true; \
6798944Sobrien	fi
6898944Sobrien
6998944SobrienFRC:
7098944Sobrien