xref: /onnv-gate/usr/src/lib/libidmap/Makefile (revision 10122:96eda55bfd54)
14520Snw141292#
24520Snw141292# CDDL HEADER START
34520Snw141292#
44520Snw141292# The contents of this file are subject to the terms of the
54520Snw141292# Common Development and Distribution License (the "License").
64520Snw141292# You may not use this file except in compliance with the License.
74520Snw141292#
84520Snw141292# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94520Snw141292# or http://www.opensolaris.org/os/licensing.
104520Snw141292# See the License for the specific language governing permissions
114520Snw141292# and limitations under the License.
124520Snw141292#
134520Snw141292# When distributing Covered Code, include this CDDL HEADER in each
144520Snw141292# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154520Snw141292# If applicable, add the following below this CDDL HEADER, with the
164520Snw141292# fields enclosed by brackets "[]" replaced with your own identifying
174520Snw141292# information: Portions Copyright [yyyy] [name of copyright owner]
184520Snw141292#
194520Snw141292# CDDL HEADER END
204520Snw141292#
214520Snw141292#
228804SJulian.Pullen@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
234520Snw141292# Use is subject to license terms.
244520Snw141292#
254520Snw141292
264520Snw141292include $(SRC)/lib/Makefile.lib
274520Snw141292
28*10122SJordan.Brown@Sun.COMHDRS =		idmap.h directory.h
294520Snw141292HDRDIR =	common
304520Snw141292
314520Snw141292SUBDIRS	=	$(MACH)
324520Snw141292$(BUILD64)SUBDIRS += $(MACH64)
334520Snw141292
344520Snw141292POFILE =	libidmap.po
35*10122SJordan.Brown@Sun.COMMSGFILES:sh =	echo common/*.[ch]
36*10122SJordan.Brown@Sun.COMXGETTEXT =	$(GNUXGETTEXT)
37*10122SJordan.Brown@Sun.COMXGETFLAGS =	--foreign-user --strict -n -E --width=72 \
38*10122SJordan.Brown@Sun.COM		--omit-header --keyword=directoryError:2 \
39*10122SJordan.Brown@Sun.COM		--language=C --force-po
404520Snw141292
414520Snw141292all := 		TARGET = all
424520Snw141292clean :=	TARGET = clean
434520Snw141292clobber :=	TARGET = clobber
444520Snw141292install	:=	TARGET = install
454520Snw141292lint :=		TARGET = lint
464520Snw141292
474520Snw141292.KEEP_STATE:
484520Snw141292
494520Snw141292all clean clobber install lint: $(SUBDIRS)
504520Snw141292
514520Snw141292install_h:	$(ROOTHDRS)
524520Snw141292
534520Snw141292check:		$(CHECKHDRS)
544520Snw141292
55*10122SJordan.Brown@Sun.COM$(POFILE):	$(MSGFILES)
564520Snw141292		$(BUILDPO.msgfiles)
574520Snw141292
584520Snw141292_msg:		$(MSGDOMAINPOFILE)
594520Snw141292
604520Snw141292$(SUBDIRS): FRC
614520Snw141292	@cd $@; pwd; $(MAKE) $(TARGET)
624520Snw141292
634520Snw141292FRC:
644520Snw141292
654520Snw141292include $(SRC)/Makefile.msg.targ
664520Snw141292include $(SRC)/lib/Makefile.targ
67