xref: /titanic_51/usr/src/lib/libbrand/Makefile (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
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#
22*24fe0b3bSjmcp# 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
359acbbeafSnn35248lint :=		TARGET = lint
369acbbeafSnn35248
379acbbeafSnn35248HDRDIR=		common
389acbbeafSnn35248HDRS=		libbrand.h
399acbbeafSnn35248
409acbbeafSnn35248FILEMODE =	644
419acbbeafSnn35248
429acbbeafSnn35248BRANDDIR=	brand
439acbbeafSnn35248ROOTBRANDDIR=	$(ROOTLIBDIR)/$(BRANDDIR)
449acbbeafSnn35248
459acbbeafSnn35248DTDS =		dtd/brand.dtd.1 dtd/zone_platform.dtd.1
469acbbeafSnn35248DTDDIR =	$(ROOT)/usr/share/lib/xml
479acbbeafSnn35248ROOTDTDS=	$(DTDS:%=$(DTDDIR)/%)
489acbbeafSnn35248
499acbbeafSnn35248$(DTDDIR)/%: %
509acbbeafSnn35248	$(INS.file)
519acbbeafSnn35248
529acbbeafSnn35248.KEEP_STATE:
539acbbeafSnn35248
549acbbeafSnn35248all clean clobber lint install: $(SUBDIRS)
559acbbeafSnn35248
569acbbeafSnn35248install_h: $(ROOTHDRS)
579acbbeafSnn35248
589acbbeafSnn35248check: $(CHECKHDRS)
599acbbeafSnn35248
609acbbeafSnn35248$(ROOTBRANDDIR):
619acbbeafSnn35248	$(INS.dir)
629acbbeafSnn35248
639acbbeafSnn35248install:	$(ROOTBRANDDIR)	$(ROOTDTDS)
649acbbeafSnn35248
659acbbeafSnn35248$(SUBDIRS): FRC
669acbbeafSnn35248	@cd $@; pwd; $(MAKE) $(TARGET)
679acbbeafSnn35248
689acbbeafSnn35248FRC:
699acbbeafSnn35248
709acbbeafSnn35248include ../Makefile.targ
71