#!/bin/sh
-# $Cambridge: exim/src/scripts/MakeLinks,v 1.1 2004/10/06 15:07:40 ph10 Exp $
+# $Cambridge: exim/src/scripts/MakeLinks,v 1.1.2.1 2004/11/26 09:20:46 tom Exp $
# Script to build links for all the exim source files from the system-
# specific build directory. It should be run from within that directory.
# but local_scan.c does not, because its location is taken from the build-time
# configuration. Likewise for the os.c file, which gets build dynamically.
+# NB: Files marked as "WITH_CONTENT_SCAN" contain only functions relating
+# to content scanning. They are always linked, but their contents compile
+# to nothing if WITH_CONTENT_SCAN is not set.
+
ln -s ../src/dbfunctions.h dbfunctions.h
ln -s ../src/dbstuff.h dbstuff.h
ln -s ../src/exim.h exim.h
ln -s ../src/globals.h globals.h
ln -s ../src/local_scan.h local_scan.h
ln -s ../src/macros.h macros.h
+# WITH_CONTENT_SCAN
+ln -s ../src/mime.h mime.h
+#
ln -s ../src/mytypes.h mytypes.h
ln -s ../src/osfunctions.h osfunctions.h
+# WITH_CONTENT_SCAN
+ln -s ../src/spam.h spam.h
+#
ln -s ../src/store.h store.h
ln -s ../src/structs.h structs.h
ln -s ../src/ip.c ip.c
ln -s ../src/log.c log.c
ln -s ../src/lss.c lss.c
+# WITH_CONTENT_SCAN
+ln -s ../src/malware.c malware.c
+#
ln -s ../src/match.c match.c
+# WITH_CONTENT_SCAN
+ln -s ../src/mime.c mime.c
+#
ln -s ../src/moan.c moan.c
ln -s ../src/parse.c parse.c
ln -s ../src/perl.c perl.c
ln -s ../src/sieve.c sieve.c
ln -s ../src/smtp_in.c smtp_in.c
ln -s ../src/smtp_out.c smtp_out.c
+# WITH_CONTENT_SCAN
+ln -s ../src/spam.c spam.c
+#
ln -s ../src/spool_in.c spool_in.c
+# WITH_CONTENT_SCAN
+ln -s ../src/spool_mbox.c spool_mbox.c
+#
ln -s ../src/spool_out.c spool_out.c
ln -s ../src/store.c store.c
ln -s ../src/string.c string.c