xref: /onnv-gate/usr/src/lib/libbe/Makefile (revision 13013:3c7681e3e323)
1*13013Sglenn.lagasse@oracle.com#
2*13013Sglenn.lagasse@oracle.com# CDDL HEADER START
3*13013Sglenn.lagasse@oracle.com#
4*13013Sglenn.lagasse@oracle.com# The contents of this file are subject to the terms of the
5*13013Sglenn.lagasse@oracle.com# Common Development and Distribution License (the "License").
6*13013Sglenn.lagasse@oracle.com# You may not use this file except in compliance with the License.
7*13013Sglenn.lagasse@oracle.com#
8*13013Sglenn.lagasse@oracle.com# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*13013Sglenn.lagasse@oracle.com# or http://www.opensolaris.org/os/licensing.
10*13013Sglenn.lagasse@oracle.com# See the License for the specific language governing permissions
11*13013Sglenn.lagasse@oracle.com# and limitations under the License.
12*13013Sglenn.lagasse@oracle.com#
13*13013Sglenn.lagasse@oracle.com# When distributing Covered Code, include this CDDL HEADER in each
14*13013Sglenn.lagasse@oracle.com# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*13013Sglenn.lagasse@oracle.com# If applicable, add the following below this CDDL HEADER, with the
16*13013Sglenn.lagasse@oracle.com# fields enclosed by brackets "[]" replaced with your own identifying
17*13013Sglenn.lagasse@oracle.com# information: Portions Copyright [yyyy] [name of copyright owner]
18*13013Sglenn.lagasse@oracle.com#
19*13013Sglenn.lagasse@oracle.com# CDDL HEADER END
20*13013Sglenn.lagasse@oracle.com#
21*13013Sglenn.lagasse@oracle.com
22*13013Sglenn.lagasse@oracle.com#
23*13013Sglenn.lagasse@oracle.com# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*13013Sglenn.lagasse@oracle.com#
25*13013Sglenn.lagasse@oracle.com
26*13013Sglenn.lagasse@oracle.cominclude		../Makefile.lib
27*13013Sglenn.lagasse@oracle.com
28*13013Sglenn.lagasse@oracle.comHDRS=		libbe.h \
29*13013Sglenn.lagasse@oracle.com		libbe_priv.h
30*13013Sglenn.lagasse@oracle.com
31*13013Sglenn.lagasse@oracle.comHDRDIR=		common
32*13013Sglenn.lagasse@oracle.com
33*13013Sglenn.lagasse@oracle.comSUBDIRS=	$(MACH)
34*13013Sglenn.lagasse@oracle.comTESTDIR= 	tbeadm
35*13013Sglenn.lagasse@oracle.com
36*13013Sglenn.lagasse@oracle.comall :=		TARGET= all
37*13013Sglenn.lagasse@oracle.comclean :=	TARGET= clean
38*13013Sglenn.lagasse@oracle.comclobber :=	TARGET= clobber
39*13013Sglenn.lagasse@oracle.cominstall :=	TARGET= install
40*13013Sglenn.lagasse@oracle.comlint :=		TARGET= lint
41*13013Sglenn.lagasse@oracle.comtest := 	TARGET= test
42*13013Sglenn.lagasse@oracle.com
43*13013Sglenn.lagasse@oracle.comPOFILE =	libbe.po
44*13013Sglenn.lagasse@oracle.comMSGFILES =	`$(GREP) -l gettext $(HDRDIR)/*.[ch]`
45*13013Sglenn.lagasse@oracle.com
46*13013Sglenn.lagasse@oracle.com.KEEP_STATE:
47*13013Sglenn.lagasse@oracle.com
48*13013Sglenn.lagasse@oracle.comall install lint: install_h $(SUBDIRS)
49*13013Sglenn.lagasse@oracle.com
50*13013Sglenn.lagasse@oracle.comclean clobber: $(SUBDIRS) $(TESTDIR)
51*13013Sglenn.lagasse@oracle.com
52*13013Sglenn.lagasse@oracle.com$(POFILE): 	pofile_MSGFILES
53*13013Sglenn.lagasse@oracle.com
54*13013Sglenn.lagasse@oracle.cominstall_h: 	$(ROOTHDRS)
55*13013Sglenn.lagasse@oracle.com
56*13013Sglenn.lagasse@oracle.comcheck: 		$(CHECKHDRS)
57*13013Sglenn.lagasse@oracle.com
58*13013Sglenn.lagasse@oracle.com_msg: $(MSGDOMAINPOFILE)
59*13013Sglenn.lagasse@oracle.com
60*13013Sglenn.lagasse@oracle.comtest:
61*13013Sglenn.lagasse@oracle.com	cd tbeadm; pwd; $(MAKE) install
62*13013Sglenn.lagasse@oracle.com
63*13013Sglenn.lagasse@oracle.com$(TESTDIR): FRC
64*13013Sglenn.lagasse@oracle.com	@cd $@; pwd; $(MAKE) $(TARGET)
65*13013Sglenn.lagasse@oracle.com
66*13013Sglenn.lagasse@oracle.com$(SUBDIRS): FRC
67*13013Sglenn.lagasse@oracle.com	@cd $@; pwd; $(MAKE) $(TARGET)
68*13013Sglenn.lagasse@oracle.com
69*13013Sglenn.lagasse@oracle.comFRC:
70*13013Sglenn.lagasse@oracle.com
71*13013Sglenn.lagasse@oracle.cominclude $(SRC)/Makefile.msg.targ
72*13013Sglenn.lagasse@oracle.cominclude $(SRC)/lib/Makefile.targ
73