xref: /illumos-gate/usr/src/cmd/svr4pkg/Makefile (revision 62224350)
15c51f124SMoriah Waterland#
25c51f124SMoriah Waterland# CDDL HEADER START
35c51f124SMoriah Waterland#
45c51f124SMoriah Waterland# The contents of this file are subject to the terms of the
55c51f124SMoriah Waterland# Common Development and Distribution License (the "License").
65c51f124SMoriah Waterland# You may not use this file except in compliance with the License.
75c51f124SMoriah Waterland#
85c51f124SMoriah Waterland# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95c51f124SMoriah Waterland# or http://www.opensolaris.org/os/licensing.
105c51f124SMoriah Waterland# See the License for the specific language governing permissions
115c51f124SMoriah Waterland# and limitations under the License.
125c51f124SMoriah Waterland#
135c51f124SMoriah Waterland# When distributing Covered Code, include this CDDL HEADER in each
145c51f124SMoriah Waterland# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155c51f124SMoriah Waterland# If applicable, add the following below this CDDL HEADER, with the
165c51f124SMoriah Waterland# fields enclosed by brackets "[]" replaced with your own identifying
175c51f124SMoriah Waterland# information: Portions Copyright [yyyy] [name of copyright owner]
185c51f124SMoriah Waterland#
195c51f124SMoriah Waterland# CDDL HEADER END
205c51f124SMoriah Waterland#
215c51f124SMoriah Waterland
225c51f124SMoriah Waterland#
235c51f124SMoriah Waterland# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
245c51f124SMoriah Waterland# Use is subject to license terms.
255c51f124SMoriah Waterland#
265c51f124SMoriah Waterland
275c51f124SMoriah WaterlandCMDSUBDIRS=	\
285c51f124SMoriah Waterland		installf	\
295c51f124SMoriah Waterland		pkgadd		\
305c51f124SMoriah Waterland		pkgadm		\
315c51f124SMoriah Waterland		pkgchk		\
325c51f124SMoriah Waterland		pkgcond		\
335c51f124SMoriah Waterland		pkginfo		\
345c51f124SMoriah Waterland		pkginstall	\
355c51f124SMoriah Waterland		pkgmk		\
365c51f124SMoriah Waterland		pkgname		\
375c51f124SMoriah Waterland		pkgparam	\
385c51f124SMoriah Waterland		pkgproto	\
395c51f124SMoriah Waterland		pkgremove	\
405c51f124SMoriah Waterland		pkgrm		\
415c51f124SMoriah Waterland		pkgscripts	\
42*62224350SCasper H.S. Dik		pkgserv		\
435c51f124SMoriah Waterland		pkgtrans
445c51f124SMoriah Waterland
455c51f124SMoriah Waterland.PARALLEL=	$(CMDSUBDIRS)
465c51f124SMoriah Waterland
475c51f124SMoriah WaterlandLIBSUBDIR=	libinst
485c51f124SMoriah WaterlandSUBDIRS=	$(CMDSUBDIRS) $(LIBSUBDIR)
495c51f124SMoriah Waterland
505c51f124SMoriah Waterlandall:=		TARGET= all
515c51f124SMoriah Waterlandinstall :=	TARGET= install
525c51f124SMoriah Waterlandclean :=	TARGET= clean
535c51f124SMoriah Waterlandclobber:=	TARGET= clobber
545c51f124SMoriah Waterland_msg :=		TARGET= _msg
555c51f124SMoriah Waterland
565c51f124SMoriah Waterland.KEEP_STATE:
575c51f124SMoriah Waterland
585c51f124SMoriah Waterlandall clean clobber install _msg: $(SUBDIRS)
595c51f124SMoriah Waterland
605c51f124SMoriah Waterland$(CMDSUBDIRS): $(LIBSUBDIR)
615c51f124SMoriah Waterland
625c51f124SMoriah Waterland$(SUBDIRS): FRC
635c51f124SMoriah Waterland	@cd $@; pwd; $(MAKE) $(TARGET)
645c51f124SMoriah Waterland
655c51f124SMoriah WaterlandFRC:
66