Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
2834197ede0bfaec5b57cb1666e0c21f76408570David Lawrence#
816e576f77e2c46df3e3d97d65822aa8aded7c4bDavid Lawrence# CDDL HEADER START
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# The contents of this file are subject to the terms of the
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# Common Development and Distribution License, Version 1.0 only
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# (the "License"). You may not use this file except in compliance
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# with the License.
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# See the License for the specific language governing permissions
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# and limitations under the License.
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
b2ca1f1bd04a779f15e12e0b2bee6fa95e512f89Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9dc499f133042bb8ab6e2089db708be0d13733bfBrian Wellington# If applicable, add the following below this CDDL HEADER, with the
b2ca1f1bd04a779f15e12e0b2bee6fa95e512f89Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
1cb5d53b09cded8298285fdcdcc6a261f2b47afbBrian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# CDDL HEADER END
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# Use is subject to license terms.
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# usr/src/lib/libpam/Makefile
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson#
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson# ident "%Z%%M% %I% %E% SMI"
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafssoninclude ../Makefile.lib
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas GustafssonSUBDIRS= $(MACH)
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson$(BUILD64)SUBDIRS += $(MACH64)
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas GustafssonTEXT_DOMAIN= SUNW_OST_SYSOSPAM
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonPOFILE= libpam.po
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonMSGFILES= pam_framework.c
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonHDRS= pam_appl.h pam_modules.h pam_impl.h
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonROOTHDRDIR= $(ROOT)/usr/include/security
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonHDRDIR= .
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson# install pam.conf
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas GustafssonETCFILES= pam.conf
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonROOTETC= $(ROOT)/etc
1b855974958ebca91882c4b59f66c48dd5784b87Andreas GustafssonIETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson$(IETCFILES) := GROUP= sys
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafssonall := TARGET= all
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafssonclean := TARGET= clean
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafssonclobber := TARGET= clobber
5b4397d387b89d696b5eb90c328a385e07d4a380Brian Wellingtoninstall := TARGET= install
5b4397d387b89d696b5eb90c328a385e07d4a380Brian Wellingtonlint := TARGET= lint
5b4397d387b89d696b5eb90c328a385e07d4a380Brian Wellington
5b4397d387b89d696b5eb90c328a385e07d4a380Brian Wellington.KEEP_STATE:
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafsson
1cb5d53b09cded8298285fdcdcc6a261f2b47afbBrian Wellingtonall clean clobber install: spec .WAIT $(SUBDIRS)
1cb5d53b09cded8298285fdcdcc6a261f2b47afbBrian Wellington
1b855974958ebca91882c4b59f66c48dd5784b87Andreas Gustafssoninstall_h: $(ROOTHDRS)
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafssoninstall: $(IETCFILES)
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafssoncheck: $(CHECKHDRS)
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafssonlint: $(SUBDIRS)
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson$(POFILE): $(MSGFILES)
c81bf797a812236e4a6d13a6473bc029d7ce280aAndreas Gustafsson $(BUILDPO.msgfiles)
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson_msg: $(MSGDOMAINPOFILE)
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafssoninclude $(SRC)/Makefile.msg.targ
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson$(SUBDIRS) spec: FRC
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson @cd $@; pwd; $(MAKE) $(TARGET)
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson$(ROOTETC)/%: %
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson $(INS.file)
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas GustafssonFRC:
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafssoninclude ../Makefile.targ
95b6b97ae0942ceb8244693c3d68d2b396af9960Andreas Gustafsson