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