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/pam_modules/krb5/Makefile 27# 28#ident "%Z%%M% %I% %E% SMI" 29# 30 31include ../../Makefile.lib 32 33TEXT_DOMAIN= SUNW_OST_SYSOSPAM 34POFILE= pam_krb5.po 35MSGFILES= krb5_acct_mgmt.c krb5_authenticate.c krb5_password.c \ 36 krb5_setcred.c 37 38SUBDIRS= $(MACH) 39$(BUILD64)SUBDIRS += $(MACH64) 40 41all := TARGET= all 42clean := TARGET= clean 43clobber := TARGET= clobber 44install := TARGET= install 45lint := TARGET= lint 46 47# EXPORT DELETE START 48# CRYPT DELETE START 49EXPORT_SRC := TARGET= EXPORT_SRC 50CRYPT_SRC := TARGET= CRYPT_SRC 51# CRYPT DELETE END 52# EXPORT DELETE END 53 54.KEEP_STATE: 55 56all clean clobber install: spec .WAIT $(SUBDIRS) 57 58lint: $(SUBDIRS) 59 60$(POFILE): $(MSGFILES) 61 $(BUILDPO.msgfiles) 62 63_msg: $(MSGDOMAINPOFILE) 64 65$(SUBDIRS) spec: FRC 66 @cd $@; pwd; $(MAKE) $(TARGET) 67 68# EXPORT DELETE START 69# CRYPT DELETE START 70# Special target to clean up the source tree for export distribution 71# Warning: This target changes the source tree 72EXPORT_SRC: 73 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 74 < Makefile.com > Makefile.com+ 75 $(MV) Makefile.com+ Makefile.com 76 $(CHMOD) 444 Makefile.com 77 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 78 < Makefile > Makefile+ 79 $(MV) Makefile+ Makefile 80 $(CHMOD) 444 Makefile 81 82CRYPT_SRC: 83 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \ 84 < Makefile.com \ 85 | $(SED) -e "/EXPORT DELETE/d" \ 86 > Makefile.com+ 87 $(MV) Makefile.com+ Makefile.com 88 $(CHMOD) 444 Makefile.com 89 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \ 90 < Makefile \ 91 | $(SED) -e "/EXPORT DELETE/d" \ 92 > Makefile+ 93 $(MV) Makefile+ Makefile 94 $(CHMOD) 444 Makefile 95# CRYPT DELETE END 96# EXPORT DELETE END 97 98FRC: 99 100include $(SRC)/Makefile.msg.targ 101include ../../Makefile.targ 102