Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
198N/A#
198N/A# CDDL HEADER START
198N/A#
198N/A# The contents of this file are subject to the terms of the
198N/A# Common Development and Distribution License (the "License").
198N/A# You may not use this file except in compliance with the License.
198N/A#
198N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
198N/A# or http://www.opensolaris.org/os/licensing.
198N/A# See the License for the specific language governing permissions
198N/A# and limitations under the License.
198N/A#
198N/A# When distributing Covered Code, include this CDDL HEADER in each
198N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
198N/A# If applicable, add the following below this CDDL HEADER, with the
198N/A# fields enclosed by brackets "[]" replaced with your own identifying
198N/A# information: Portions Copyright [yyyy] [name of copyright owner]
198N/A#
198N/A# CDDL HEADER END
198N/A#
198N/A#
198N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1579N/A# Use is subject to license terms.
198N/A#
198N/A# ident "%Z%%M% %I% %E% SMI"
198N/A#
198N/A
198N/Ainclude ../Makefile.lib
198N/A
198N/ASUBDIRS = $(MACH)
379N/A$(BUILD64)SUBDIRS += $(MACH64)
379N/A
379N/Aall := TARGET= all
198N/Aclean := TARGET= clean
379N/Aclobber := TARGET= clobber
379N/Adelete := TARGET= delete
1579N/Ainstall := TARGET= install
379N/Alint := TARGET= lint
1579N/Acatalog := TARGET= catalog
1579N/A_msg := TARGET= _msg
198N/Apackage := TARGET= package
1258N/A
1258N/ALIBRARY= libsldap.a
198N/ATEXT_DOMAIN = SUNW_OST_OSLIB
198N/AXGETFLAGS=
198N/APOFILE= $(LIBRARY:.a=.po)
198N/APOFILES= generic.po
379N/A
379N/A.KEEP_STATE:
379N/A
379N/Aall clean clobber delete install lint catalog package: $(SUBDIRS)
379N/A
379N/A# install rule for install_h target
689N/A$(ROOTHDRDIR)/%: %
689N/A $(INS.file)
689N/A
689N/A$(SUBDIRS): FRC
689N/A @cd $@; pwd; $(MAKE) $(TARGET)
379N/A
379N/A_msg: $(MSGDOMAIN) $(POFILE)
379N/A $(RM) $(MSGDOMAIN)/$(POFILE)
379N/A $(RM) generic.po
689N/A cp $(POFILE) $(MSGDOMAIN)
379N/A
379N/A$(POFILE): $(POFILES)
379N/A $(RM) $@
379N/A $(CAT) $(POFILES) > $@
1166N/A
844N/A$(MSGDOMAIN):
689N/A $(INS.dir)
844N/A
689N/A$(POFILES):
689N/A $(RM) messages.po
379N/A $(XGETTEXT) $(XGETFLAGS) common/*.[ch]*
198N/A sed "/^domain/d" < messages.po > $@
198N/A $(RM) messages.po
379N/A
198N/AFRC:
1579N/A
1579N/A# EXPORT DELETE START
1579N/AEXPORT_SRC:
1579N/A $(RM) -f common/ns_crypt.c+ Makefile+
198N/A sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
198N/A common/ns_crypt.c > common/ns_crypt.c+
198N/A $(MV) common/ns_crypt.c+ common/ns_crypt.c
1579N/A sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
198N/A < Makefile > Makefile+
1579N/A $(MV) Makefile+ Makefile
198N/A $(CHMOD) 444 Makefile common/ns_crypt.c
198N/A
198N/A# This target cleans up the SCCS files as well as the plain src.
1579N/AEXPORT_WS:
1579N/A $(RM) -f common/ns_crypt.c+ Makefile+
1579N/A
1579N/A sccs edit common/ns_crypt.c
1579N/A sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1579N/A < ns_crypt.c > common/ns_crypt.c+
198N/A sccs unedit common/ns_crypt.c
1579N/A $(RM) -f common/ns_crypt.c ns_crypt.c
1579N/A $(RM) -f common/SCCS/s.ns_crypt.c
198N/A $(MV) common/ns_crypt.c+ common/ns_crypt.c
1579N/A sccs create common/ns_crypt.c
1579N/A $(RM) common/,ns_crypt.c
1579N/A
1579N/A sccs edit Makefile
1579N/A sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
198N/A < Makefile > Makefile+
379N/A sccs unedit Makefile
379N/A $(RM) -f Makefile
379N/A $(RM) -f SCCS/s.Makefile
379N/A $(MV) Makefile+ Makefile
379N/A sccs create Makefile
379N/A $(RM) ,Makefile
379N/A
379N/A# EXPORT DELETE END
379N/A