Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
include ../../../../../Makefile.master
# EXPORT DELETE START
all:
@$(ECHO) " This Makefile is used to clean up the source tree\n" \
"for export distribution.\n" \
"[Usage]: make [EXPORT_SRC] [CRYPT_SRC]\n\n" \
"WARNING: EXPORT_SRC, CRYPT_SRC targets change the\n" \
"source tree and remove the Makefile."
# Special target to clean up the source tree for export distribution
# Warning: This target changes the source tree
sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
< krb5mech.c > krb5mech.c+
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(RM) ../../../Makefile.files+
sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
< ../../../Makefile.files > ../../../Makefile.files+
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
# CRYPT DELETE START
# Special target to clean up the source tree for domestic distribution
# Warning: This target changes the source tree
$(RM) krb5mech.c+
sed -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
< krb5mech.c > krb5mech.c+
sed -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
# CRYPT DELETE END
# EXPORT DELETE END