xref: /titanic_52/usr/src/lib/libbe/Makefile (revision a7ee947f69e6d1a3903e0918f85630f74650b992)
1f169c0eaSGlenn Lagasse#
2f169c0eaSGlenn Lagasse# CDDL HEADER START
3f169c0eaSGlenn Lagasse#
4f169c0eaSGlenn Lagasse# The contents of this file are subject to the terms of the
5f169c0eaSGlenn Lagasse# Common Development and Distribution License (the "License").
6f169c0eaSGlenn Lagasse# You may not use this file except in compliance with the License.
7f169c0eaSGlenn Lagasse#
8f169c0eaSGlenn Lagasse# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f169c0eaSGlenn Lagasse# or http://www.opensolaris.org/os/licensing.
10f169c0eaSGlenn Lagasse# See the License for the specific language governing permissions
11f169c0eaSGlenn Lagasse# and limitations under the License.
12f169c0eaSGlenn Lagasse#
13f169c0eaSGlenn Lagasse# When distributing Covered Code, include this CDDL HEADER in each
14f169c0eaSGlenn Lagasse# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f169c0eaSGlenn Lagasse# If applicable, add the following below this CDDL HEADER, with the
16f169c0eaSGlenn Lagasse# fields enclosed by brackets "[]" replaced with your own identifying
17f169c0eaSGlenn Lagasse# information: Portions Copyright [yyyy] [name of copyright owner]
18f169c0eaSGlenn Lagasse#
19f169c0eaSGlenn Lagasse# CDDL HEADER END
20f169c0eaSGlenn Lagasse#
21f169c0eaSGlenn Lagasse
22f169c0eaSGlenn Lagasse#
23f169c0eaSGlenn Lagasse# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24f169c0eaSGlenn Lagasse#
25f169c0eaSGlenn Lagasse
26f169c0eaSGlenn Lagasseinclude		../Makefile.lib
27f169c0eaSGlenn Lagasse
28f169c0eaSGlenn LagasseHDRS=		libbe.h \
29f169c0eaSGlenn Lagasse		libbe_priv.h
30f169c0eaSGlenn Lagasse
31f169c0eaSGlenn LagasseHDRDIR=		common
32f169c0eaSGlenn Lagasse
33f169c0eaSGlenn LagasseSUBDIRS=	$(MACH)
34f169c0eaSGlenn Lagasse
35f169c0eaSGlenn Lagasseall :=		TARGET= all
36f169c0eaSGlenn Lagasseclean :=	TARGET= clean
37f169c0eaSGlenn Lagasseclobber :=	TARGET= clobber
38f169c0eaSGlenn Lagasseinstall :=	TARGET= install
39f169c0eaSGlenn Lagasselint :=		TARGET= lint
40f169c0eaSGlenn Lagasse
41f169c0eaSGlenn LagassePOFILE =	libbe.po
42f169c0eaSGlenn LagasseMSGFILES =	`$(GREP) -l gettext $(HDRDIR)/*.[ch]`
43f169c0eaSGlenn Lagasse
44f169c0eaSGlenn Lagasse.KEEP_STATE:
45f169c0eaSGlenn Lagasse
46f169c0eaSGlenn Lagasseall install lint: install_h $(SUBDIRS)
47f169c0eaSGlenn Lagasse
48*a7ee947fSAlexander Stetsenkoclean clobber: $(SUBDIRS)
49f169c0eaSGlenn Lagasse
50f169c0eaSGlenn Lagasse$(POFILE): 	pofile_MSGFILES
51f169c0eaSGlenn Lagasse
52f169c0eaSGlenn Lagasseinstall_h: 	$(ROOTHDRS)
53f169c0eaSGlenn Lagasse
54f169c0eaSGlenn Lagassecheck: 		$(CHECKHDRS)
55f169c0eaSGlenn Lagasse
56f169c0eaSGlenn Lagasse_msg: $(MSGDOMAINPOFILE)
57f169c0eaSGlenn Lagasse
58f169c0eaSGlenn Lagasse$(SUBDIRS): FRC
59f169c0eaSGlenn Lagasse	@cd $@; pwd; $(MAKE) $(TARGET)
60f169c0eaSGlenn Lagasse
61f169c0eaSGlenn LagasseFRC:
62f169c0eaSGlenn Lagasse
63f169c0eaSGlenn Lagasseinclude $(SRC)/Makefile.msg.targ
64f169c0eaSGlenn Lagasseinclude $(SRC)/lib/Makefile.targ
65