xref: /illumos-gate/usr/src/lib/libbrand/Makefile (revision 241c90a0)
19acbbeafSnn#
29acbbeafSnn# CDDL HEADER START
39acbbeafSnn#
49acbbeafSnn# The contents of this file are subject to the terms of the
59acbbeafSnn# Common Development and Distribution License (the "License").
69acbbeafSnn# You may not use this file except in compliance with the License.
79acbbeafSnn#
89acbbeafSnn# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99acbbeafSnn# or http://www.opensolaris.org/os/licensing.
109acbbeafSnn# See the License for the specific language governing permissions
119acbbeafSnn# and limitations under the License.
129acbbeafSnn#
139acbbeafSnn# When distributing Covered Code, include this CDDL HEADER in each
149acbbeafSnn# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159acbbeafSnn# If applicable, add the following below this CDDL HEADER, with the
169acbbeafSnn# fields enclosed by brackets "[]" replaced with your own identifying
179acbbeafSnn# information: Portions Copyright [yyyy] [name of copyright owner]
189acbbeafSnn#
199acbbeafSnn# CDDL HEADER END
209acbbeafSnn#
219acbbeafSnn#
2224fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
239acbbeafSnn# Use is subject to license terms.
249acbbeafSnn#
259acbbeafSnn
269acbbeafSnninclude		../Makefile.lib
279acbbeafSnn
289acbbeafSnnSUBDIRS=	$(MACH)
299acbbeafSnn$(BUILD64)SUBDIRS += $(MACH64)
309acbbeafSnn
319acbbeafSnnall :=		TARGET = all
329acbbeafSnnclean :=	TARGET = clean
339acbbeafSnnclobber :=	TARGET = clobber
349acbbeafSnninstall :=	TARGET = install
359acbbeafSnn
369acbbeafSnnHDRDIR=		common
379acbbeafSnnHDRS=		libbrand.h
389acbbeafSnn
399acbbeafSnnFILEMODE =	644
409acbbeafSnn
419acbbeafSnnBRANDDIR=	brand
429acbbeafSnnROOTBRANDDIR=	$(ROOTLIBDIR)/$(BRANDDIR)
439acbbeafSnn
449acbbeafSnnDTDS =		dtd/brand.dtd.1 dtd/zone_platform.dtd.1
459acbbeafSnnDTDDIR =	$(ROOT)/usr/share/lib/xml
469acbbeafSnnROOTDTDS=	$(DTDS:%=$(DTDDIR)/%)
479acbbeafSnn
489acbbeafSnn$(DTDDIR)/%: %
499acbbeafSnn	$(INS.file)
509acbbeafSnn
519acbbeafSnn.KEEP_STATE:
529acbbeafSnn
53*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
549acbbeafSnn
559acbbeafSnninstall_h: $(ROOTHDRS)
569acbbeafSnn
579acbbeafSnncheck: $(CHECKHDRS)
589acbbeafSnn
599acbbeafSnn$(ROOTBRANDDIR):
609acbbeafSnn	$(INS.dir)
619acbbeafSnn
629acbbeafSnninstall:	$(ROOTBRANDDIR)	$(ROOTDTDS)
639acbbeafSnn
649acbbeafSnn$(SUBDIRS): FRC
659acbbeafSnn	@cd $@; pwd; $(MAKE) $(TARGET)
669acbbeafSnn
679acbbeafSnnFRC:
689acbbeafSnn
699acbbeafSnninclude ../Makefile.targ
70