Makefile revision 2
3488e51e244adfc756837287fbfbcc03eca8bf7avboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# CDDL HEADER START
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# The contents of this file are subject to the terms of the
b341a780162d809b187a8f35a10bba7642b69798vboxsync# Common Development and Distribution License (the "License").
b341a780162d809b187a8f35a10bba7642b69798vboxsync# You may not use this file except in compliance with the License.
069b9101fbd3b049610c5511b1cc9534d01ea472vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b341a780162d809b187a8f35a10bba7642b69798vboxsync# or http://www.opensolaris.org/os/licensing.
b341a780162d809b187a8f35a10bba7642b69798vboxsync# See the License for the specific language governing permissions
b341a780162d809b187a8f35a10bba7642b69798vboxsync# and limitations under the License.
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# When distributing Covered Code, include this CDDL HEADER in each
b341a780162d809b187a8f35a10bba7642b69798vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b341a780162d809b187a8f35a10bba7642b69798vboxsync# If applicable, add the following below this CDDL HEADER, with the
b341a780162d809b187a8f35a10bba7642b69798vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
b341a780162d809b187a8f35a10bba7642b69798vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync#
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync# CDDL HEADER END
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync#
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync#
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync#
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncinclude ../Makefile.lib
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncSUBDIRS= $(MACH)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync$(BUILD64)SUBDIRS += $(MACH64)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncall := TARGET = all
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncclean := TARGET = clean
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncclobber := TARGET = clobber
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncinstall := TARGET = install
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsynclint := TARGET = lint
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncstub := TARGET = stub
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncstubinstall := TARGET = stubinstall
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncHDRDIR= common
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncHDRS= libbrand.h
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncFILEMODE = 644
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncBRANDDIR= brand
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncROOTBRANDDIR= $(ROOTLIBDIR)/$(BRANDDIR)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncDTDS = dtd/brand.dtd.1 dtd/zone_platform.dtd.1
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncDTDDIR = $(ROOT)/usr/share/lib/xml
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncROOTDTDS= $(DTDS:%=$(DTDDIR)/%)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync$(DTDDIR)/%: %
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync $(INS.file)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync.KEEP_STATE:
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncall clean clobber lint install stub stubinstall: $(SUBDIRS)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncinstall_h: $(ROOTHDRS)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsynccheck: $(CHECKHDRS)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync$(ROOTBRANDDIR):
d3ad4e45b3213d997bac4a8607ef4fbb4384d30bvboxsync $(INS.dir)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncinstall: $(ROOTBRANDDIR) $(ROOTDTDS)
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync$(SUBDIRS): FRC
d1e0bb6198393c6a797ba3ab4363c55ca5a76988vboxsync @cd $@; pwd; $(MAKE) $(TARGET)
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncFRC:
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsyncinclude ../Makefile.targ
a9b62afc62b28da7a1a77f34259f8013892d9664vboxsync