xref: /titanic_44/usr/src/lib/libidmap/Makefile (revision 1fcced4c370617db71610fecffd5451a5894ca5e)
1c5c4113dSnw141292#
2c5c4113dSnw141292# CDDL HEADER START
3c5c4113dSnw141292#
4c5c4113dSnw141292# The contents of this file are subject to the terms of the
5c5c4113dSnw141292# Common Development and Distribution License (the "License").
6c5c4113dSnw141292# You may not use this file except in compliance with the License.
7c5c4113dSnw141292#
8c5c4113dSnw141292# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9c5c4113dSnw141292# or http://www.opensolaris.org/os/licensing.
10c5c4113dSnw141292# See the License for the specific language governing permissions
11c5c4113dSnw141292# and limitations under the License.
12c5c4113dSnw141292#
13c5c4113dSnw141292# When distributing Covered Code, include this CDDL HEADER in each
14c5c4113dSnw141292# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15c5c4113dSnw141292# If applicable, add the following below this CDDL HEADER, with the
16c5c4113dSnw141292# fields enclosed by brackets "[]" replaced with your own identifying
17c5c4113dSnw141292# information: Portions Copyright [yyyy] [name of copyright owner]
18c5c4113dSnw141292#
19c5c4113dSnw141292# CDDL HEADER END
20c5c4113dSnw141292#
21c5c4113dSnw141292#
2262615d1bSJulian Pullen# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23c5c4113dSnw141292# Use is subject to license terms.
24c5c4113dSnw141292#
25c5c4113dSnw141292
26c5c4113dSnw141292include $(SRC)/lib/Makefile.lib
27c5c4113dSnw141292
28*1fcced4cSJordan BrownHDRS =		idmap.h directory.h
29c5c4113dSnw141292HDRDIR =	common
30c5c4113dSnw141292
31c5c4113dSnw141292SUBDIRS	=	$(MACH)
32c5c4113dSnw141292$(BUILD64)SUBDIRS += $(MACH64)
33c5c4113dSnw141292
34c5c4113dSnw141292POFILE =	libidmap.po
35*1fcced4cSJordan BrownMSGFILES:sh =	echo common/*.[ch]
36*1fcced4cSJordan BrownXGETTEXT =	$(GNUXGETTEXT)
37*1fcced4cSJordan BrownXGETFLAGS =	--foreign-user --strict -n -E --width=72 \
38*1fcced4cSJordan Brown		--omit-header --keyword=directoryError:2 \
39*1fcced4cSJordan Brown		--language=C --force-po
40c5c4113dSnw141292
41c5c4113dSnw141292all := 		TARGET = all
42c5c4113dSnw141292clean :=	TARGET = clean
43c5c4113dSnw141292clobber :=	TARGET = clobber
44c5c4113dSnw141292install	:=	TARGET = install
45c5c4113dSnw141292lint :=		TARGET = lint
46c5c4113dSnw141292
47c5c4113dSnw141292.KEEP_STATE:
48c5c4113dSnw141292
49c5c4113dSnw141292all clean clobber install lint: $(SUBDIRS)
50c5c4113dSnw141292
51c5c4113dSnw141292install_h:	$(ROOTHDRS)
52c5c4113dSnw141292
53c5c4113dSnw141292check:		$(CHECKHDRS)
54c5c4113dSnw141292
55*1fcced4cSJordan Brown$(POFILE):	$(MSGFILES)
56c5c4113dSnw141292		$(BUILDPO.msgfiles)
57c5c4113dSnw141292
58c5c4113dSnw141292_msg:		$(MSGDOMAINPOFILE)
59c5c4113dSnw141292
60c5c4113dSnw141292$(SUBDIRS): FRC
61c5c4113dSnw141292	@cd $@; pwd; $(MAKE) $(TARGET)
62c5c4113dSnw141292
63c5c4113dSnw141292FRC:
64c5c4113dSnw141292
65c5c4113dSnw141292include $(SRC)/Makefile.msg.targ
66c5c4113dSnw141292include $(SRC)/lib/Makefile.targ
67