feature_tests.h: always use largefile interfaces
[unleashed.git] / usr / src / lib / libpam / Makefile
blobc7edfd718b06b5e7db9ba08629a0baa1173e1ceb
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 include ../Makefile.lib
28 SUBDIRS= $(MACH)
29 $(BUILD64)SUBDIRS += $(MACH64)
31 TEXT_DOMAIN= SUNW_OST_SYSOSPAM
32 POFILE= libpam.po
33 MSGFILES= pam_framework.c
35 HDRS= pam_appl.h pam_modules.h pam_impl.h
36 ROOTHDRDIR= $(ROOT)/usr/include/security
37 HDRDIR= .
39 # install pam.conf
40 ETCFILES= pam.conf \
41 pam.d/cron \
42 pam.d/ktelnet \
43 pam.d/login \
44 pam.d/other \
45 pam.d/passwd \
46 pam.d/ppp
47 ROOTETC= $(ROOT)/etc
48 IETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
50 all := TARGET= all
51 clean := TARGET= clean
52 clobber := TARGET= clobber
53 install := TARGET= install
55 .KEEP_STATE:
57 all clean clobber install: $(SUBDIRS)
59 install_h: $(ROOTHDRS)
61 install: $(IETCFILES)
63 check: $(CHECKHDRS)
65 $(POFILE): $(MSGFILES)
66 $(BUILDPO.msgfiles)
68 _msg: $(MSGDOMAINPOFILE)
70 include $(SRC)/Makefile.msg.targ
72 $(SUBDIRS): FRC
73 @cd $@; pwd; $(MAKE) $(TARGET)
75 $(ROOTETC)/%: %
76 $(INS.file)
78 FRC:
80 include ../Makefile.targ