Makefile revision f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# CDDL HEADER START
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# The contents of this file are subject to the terms of the
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# Common Development and Distribution License (the "License").
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# You may not use this file except in compliance with the License.
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# or http://www.opensolaris.org/os/licensing.
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# See the License for the specific language governing permissions
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# and limitations under the License.
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# When distributing Covered Code, include this CDDL HEADER in each
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# If applicable, add the following below this CDDL HEADER, with the
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# fields enclosed by brackets "[]" replaced with your own identifying
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# information: Portions Copyright [yyyy] [name of copyright owner]
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# CDDL HEADER END
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass#
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassinclude ../Makefile.lib
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav GlassHDRS= libbe.h \
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass libbe_priv.h
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav GlassHDRDIR= common
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav GlassSUBDIRS= $(MACH)
3f2ac16886fbbccf85547608b11143a8795d8db4Dav GlassTESTDIR= tbeadm
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassall := TARGET= all
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassclean := TARGET= clean
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassclobber := TARGET= clobber
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassinstall := TARGET= install
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glasslint := TARGET= lint
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glasstest := TARGET= test
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav GlassPOFILE = libbe.po
3f2ac16886fbbccf85547608b11143a8795d8db4Dav GlassMSGFILES = `$(GREP) -l gettext $(HDRDIR)/*.[ch]`
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass.KEEP_STATE:
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassall install lint: install_h $(SUBDIRS)
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassclean clobber: $(SUBDIRS) $(TESTDIR)
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass$(POFILE): pofile_MSGFILES
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glass
3f2ac16886fbbccf85547608b11143a8795d8db4Dav Glassinstall_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
test:
cd tbeadm; pwd; $(MAKE) install
$(TESTDIR): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
include $(SRC)/Makefile.msg.targ
include $(SRC)/lib/Makefile.targ