xref: /titanic_41/usr/src/lib/libpam/Makefile (revision 355b4669e025ff377602b6fc7caaf30dbc218371)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# usr/src/lib/libpam/Makefile
27#
28# ident	"%Z%%M%	%I%	%E% SMI"
29
30include ../Makefile.lib
31
32SUBDIRS=	$(MACH)
33$(BUILD64)SUBDIRS += $(MACH64)
34
35TEXT_DOMAIN=	SUNW_OST_SYSOSPAM
36POFILE=		libpam.po
37MSGFILES=	pam_framework.c
38
39HDRS=		pam_appl.h pam_modules.h pam_impl.h
40ROOTHDRDIR=	$(ROOT)/usr/include/security
41HDRDIR=		.
42
43# install pam.conf
44ETCFILES=	pam.conf
45ROOTETC=	$(ROOT)/etc
46IETCFILES=	$(ETCFILES:%=$(ROOTETC)/%)
47$(IETCFILES) := GROUP= sys
48
49all :=		TARGET= all
50clean :=	TARGET= clean
51clobber :=	TARGET= clobber
52install :=	TARGET= install
53lint :=		TARGET= lint
54
55.KEEP_STATE:
56
57all clean clobber install: spec .WAIT $(SUBDIRS)
58
59install_h:	$(ROOTHDRS)
60
61install:	$(IETCFILES)
62
63check:		$(CHECKHDRS)
64
65lint:		$(SUBDIRS)
66
67$(POFILE):	$(MSGFILES)
68	$(BUILDPO.msgfiles)
69
70_msg:		$(MSGDOMAINPOFILE)
71
72include		$(SRC)/Makefile.msg.targ
73
74$(SUBDIRS) spec:	FRC
75	@cd $@; pwd; $(MAKE) $(TARGET)
76
77$(ROOTETC)/%:	%
78	$(INS.file)
79FRC:
80
81include ../Makefile.targ
82