Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
244N/A#
244N/A# CDDL HEADER START
244N/A#
244N/A# The contents of this file are subject to the terms of the
244N/A# Common Development and Distribution License (the "License").
244N/A# You may not use this file except in compliance with the License.
244N/A#
244N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
244N/A# or http://www.opensolaris.org/os/licensing.
244N/A# See the License for the specific language governing permissions
244N/A# and limitations under the License.
244N/A#
244N/A# When distributing Covered Code, include this CDDL HEADER in each
244N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
244N/A# If applicable, add the following below this CDDL HEADER, with the
244N/A# fields enclosed by brackets "[]" replaced with your own identifying
244N/A# information: Portions Copyright [yyyy] [name of copyright owner]
244N/A#
244N/A# CDDL HEADER END
244N/A#
244N/A#
244N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
244N/A# Use is subject to license terms.
244N/A#
244N/A# ident "%Z%%M% %I% %E% SMI"
244N/A#
421N/A
244N/Ainclude ../Makefile.lib
244N/A
244N/ALIBRARY= libgss.a
244N/A
244N/A# defines the duplicate sources we share with gsscred
421N/AGSSCRED_DIR = $(SRC)/cmd/gss/gsscred
244N/ADUPLICATE_SRC = gsscred_utils.c gsscred_file.c # gen_oids.c
244N/ACLEAN_SRC = $(DUPLICATE_SRC) gen_oids.c
244N/A
244N/ASUBDIRS = $(MACH)
244N/A$(BUILD64)SUBDIRS += $(MACH64)
244N/A
244N/AROOTDIRS= $(ROOT)/usr/include
244N/AGSSMECH_DIR= $(ROOT)/usr/lib/gss
244N/A
244N/Aall := TARGET= all
244N/Aclean := TARGET= clean
244N/Aclobber := TARGET= clobber
244N/Ainstall := TARGET= install
244N/Alint := TARGET= lint
244N/A
244N/APOFILE = $(LIBRARY:.a=.po)
244N/AXGETFLAGS+= -a
244N/AMSGFILES = `$(GREP) -l gettext *.[ch]`
244N/A
244N/A.KEEP_STATE:
244N/A
244N/Aall clean clobber lint: $(SUBDIRS)
244N/A
244N/Ainstall: $(GSSMECH_DIR) all .WAIT $(SUBDIRS)
244N/A
244N/Acheck install_h:
244N/A
244N/A_msg: $(MSGDOMAINPOFILE)
244N/A
244N/A$(POFILE): pofile_MSGFILES
244N/A
244N/A$(GSSMECH_DIR):
244N/A $(INS.dir)
244N/A
244N/A$(SUBDIRS): FRC
244N/A @cd $@; pwd; $(MAKE) $(TARGET)
244N/A
244N/AFRC:
244N/A
244N/A# include library targets
244N/Ainclude ../Makefile.targ
244N/A
244N/A# EXPORT DELETE START
244N/A# Special target to clean up the source tree for export distribution
244N/A# Warning: This target changes the source tree
244N/A
244N/AEXPORT_SRC:
244N/A $(RM) Makefile+ g_seal.c+ g_unseal.c+
244N/A sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
244N/A < g_seal.c > g_seal.c+
244N/A $(MV) g_seal.c+ g_seal.c
244N/A sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
244N/A < g_unseal.c > g_unseal.c+
244N/A $(MV) g_unseal.c+ g_unseal.c
244N/A sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
244N/A < Makefile > Makefile+
244N/A $(MV) Makefile+ Makefile
244N/A $(CHMOD) 444 Makefile g_seal.c g_unseal.c
244N/A
244N/A# EXPORT DELETE END
244N/A
244N/A
244N/Ainclude $(SRC)/Makefile.msg.targ
244N/A