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