include links for exiscan specific files
authorTom Kistner <tom@duncanthrax.net>
Fri, 26 Nov 2004 09:20:46 +0000 (09:20 +0000)
committerTom Kistner <tom@duncanthrax.net>
Fri, 26 Nov 2004 09:20:46 +0000 (09:20 +0000)
src/scripts/MakeLinks

index dd1b9eee0f735a07974cc41c8cef9f3cdb5bd326..27fd36bfec79a56459d5d428537c660301c5a2f9 100755 (executable)
@@ -1,5 +1,5 @@
 #!/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.
@@ -174,6 +174,10 @@ cd ..
 # 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
@@ -181,8 +185,14 @@ ln -s ../src/functions.h       functions.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
 
@@ -212,7 +222,13 @@ ln -s ../src/host.c            host.c
 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
@@ -228,7 +244,13 @@ ln -s ../src/search.c          search.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