xref: /titanic_44/usr/src/lib/libidmap/Makefile (revision 62615d1b6cd28c7db6dea1cdad6d219ffbcd7881)
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#
22*62615d1bSJulian Pullen# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23c5c4113dSnw141292# Use is subject to license terms.
24c5c4113dSnw141292#
25c5c4113dSnw141292
26c5c4113dSnw141292include $(SRC)/lib/Makefile.lib
27c5c4113dSnw141292
28c5c4113dSnw141292HDRS =		idmap.h
29c5c4113dSnw141292HDRDIR =	common
30c5c4113dSnw141292
31c5c4113dSnw141292SUBDIRS	=	$(MACH)
32c5c4113dSnw141292$(BUILD64)SUBDIRS += $(MACH64)
33c5c4113dSnw141292
34*62615d1bSJulian Pullen# Both MACH and MACH64 subdirs invoke rpcgen on the same file,
35*62615d1bSJulian Pullen# so to prevent collisions, we turn off parallelism.
36*62615d1bSJulian Pullen.NO_PARALLEL:	$(SUBDIRS)
37*62615d1bSJulian Pullen
38c5c4113dSnw141292POFILE =	libidmap.po
39c5c4113dSnw141292MSGFILES =	`$(GREP) -l gettext common/*.[ch]`
40c5c4113dSnw141292XGETFLAGS =	-a
41c5c4113dSnw141292
42c5c4113dSnw141292all := 		TARGET = all
43c5c4113dSnw141292clean :=	TARGET = clean
44c5c4113dSnw141292clobber :=	TARGET = clobber
45c5c4113dSnw141292install	:=	TARGET = install
46c5c4113dSnw141292lint :=		TARGET = lint
47c5c4113dSnw141292
48c5c4113dSnw141292.KEEP_STATE:
49c5c4113dSnw141292
50c5c4113dSnw141292all clean clobber install lint: $(SUBDIRS)
51c5c4113dSnw141292
52c5c4113dSnw141292install_h:	$(ROOTHDRS)
53c5c4113dSnw141292
54c5c4113dSnw141292check:		$(CHECKHDRS)
55c5c4113dSnw141292
56c5c4113dSnw141292$(POFILE):	pofile_MSGFILES
57c5c4113dSnw141292		$(BUILDPO.msgfiles)
58c5c4113dSnw141292
59c5c4113dSnw141292_msg:		$(MSGDOMAINPOFILE)
60c5c4113dSnw141292
61c5c4113dSnw141292$(SUBDIRS): FRC
62c5c4113dSnw141292	@cd $@; pwd; $(MAKE) $(TARGET)
63c5c4113dSnw141292
64c5c4113dSnw141292FRC:
65c5c4113dSnw141292
66c5c4113dSnw141292include $(SRC)/Makefile.msg.targ
67c5c4113dSnw141292include $(SRC)/lib/Makefile.targ
68