Makefile revision 2
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater# CDDL HEADER START
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater#
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# The contents of this file are subject to the terms of the
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Common Development and Distribution License (the "License").
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# You may not use this file except in compliance with the License.
0bddff542cf2ae1b6595020f2f72ca482c6b438fAutomatic Updater#
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# or http://www.opensolaris.org/os/licensing.
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrews# See the License for the specific language governing permissions
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updater# and limitations under the License.
c89d02f2fb4c06168236d600e86831cff324f763Mark Andrews#
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater#
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# CDDL HEADER END
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../Makefile.lib
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater
80faf1588895fd26490f82f95a7a1b771df1c324Automatic UpdaterSUBDIRS= $(MACH)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews$(BUILD64)SUBDIRS += $(MACH64)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsall := TARGET = all
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterclean := TARGET = clean
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonclobber := TARGET = clobber
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterinstall := TARGET = install
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterlint := TARGET = lint
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonstub := TARGET = stub
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterstubinstall := TARGET = stubinstall
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterHDRDIR= common
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntHDRS= libbrand.h
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterFILEMODE = 644
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterBRANDDIR= brand
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterROOTBRANDDIR= $(ROOTLIBDIR)/$(BRANDDIR)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntDTDS = dtd/brand.dtd.1 dtd/zone_platform.dtd.1
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterDTDDIR = $(ROOT)/usr/share/lib/xml
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterROOTDTDS= $(DTDS:%=$(DTDDIR)/%)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater$(DTDDIR)/%: %
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater $(INS.file)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater.KEEP_STATE:
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updaterall clean clobber lint install stub stubinstall: $(SUBDIRS)
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinstall_h: $(ROOTHDRS)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updatercheck: $(CHECKHDRS)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews$(ROOTBRANDDIR):
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews $(INS.dir)
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninstall: $(ROOTBRANDDIR) $(ROOTDTDS)
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews$(SUBDIRS): FRC
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater @cd $@; pwd; $(MAKE) $(TARGET)
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsFRC:
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../Makefile.targ
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic Updater