Print this page
3882 remove xmod & friends

@@ -76,93 +76,8 @@
 THIRDPARTYLICENSE: LICENSE.txt
         $(SED) -n '/Carnegie Mellon/,$$p' LICENSE.txt > $@
 
 CLOBBERFILES += THIRDPARTYLICENSE
 
-# EXPORT DELETE START
-# CRYPT DELETE START
-# Special target to clean up the source tree for export distribution
-# Warning: This target changes the source tree
-EXPORT_SRC:
-        $(RM) Makefile+ \
-                lib/client.c+ \
-                lib/server.c+ \
-                lib/common.c+ \
-                lib/saslint.h+ \
-                include/plugin_common.h+
-
-        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
-                < lib/client.c > lib/client.c+
-        $(MV) lib/client.c+ lib/client.c
-
-        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
-                < lib/server.c > lib/server.c+
-        $(MV) lib/server.c+ lib/server.c
-
-        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
-                < lib/common.c > lib/common.c+
-        $(MV) lib/common.c+ lib/common.c
-
-        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
-                < lib/saslint.h > lib/saslint.h+
-        $(MV) lib/saslint.h+ lib/saslint.h
-
-        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
-                < include/plugin_common.h > include/plugin_common.h+
-        $(MV) include/plugin_common.h+ include/plugin_common.h
-
-        $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
-                < Makefile > Makefile+
-        $(MV) Makefile+ Makefile
-
-        $(CHMOD) 444 Makefile \
-                lib/client.c \
-                lib/server.c \
-                lib/common.c \
-                lib/saslint.h \
-                include/plugin_common.h
-
-CRYPT_SRC:
-        $(RM) Makefile+ lib/common.c+
-
-        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
-                < lib/common.c | $(SED) -e "/EXPORT DELETE/d" \
-                > lib/common.c+
-        $(MV) lib/common.c+ lib/common.c
-
-        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
-                < lib/client.c | $(SED) -e "/EXPORT DELETE/d" \
-                > lib/client.c+
-        $(MV) lib/client.c+ lib/client.c
-
-        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
-                < lib/server.c | $(SED) -e "/EXPORT DELETE/d" \
-                > lib/server.c+
-        $(MV) lib/server.c+ lib/server.c
-
-        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
-                < lib/saslint.h | $(SED) -e "/EXPORT DELETE/d" \
-                > lib/saslint.h+
-        $(MV) lib/saslint.h+ lib/saslint.h
-
-        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
-                < include/plugin_common.h | $(SED) -e "/EXPORT DELETE/d" \
-                > include/plugin_common.h+
-        $(MV) include/plugin_common.h+ include/plugin_common.h
-
-        $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
-                < Makefile | $(SED) -e "/^# EXPORT DELETE/d" > Makefile+
-        $(MV) Makefile+ Makefile
-
-        $(CHMOD) 444 Makefile \
-                lib/client.c \
-                lib/server.c \
-                lib/common.c \
-                lib/saslint.h \
-                include/plugin_common.h
-
-# CRYPT DELETE END
-# EXPORT DELETE END
-
 include ../Makefile.targ
 
 .PARALLEL: $(SUBDIRS)