#!/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.14.2.2 2009/02/24 15:57:55 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.
cd pcre
ln -s ../../src/pcre/Makefile Makefile
ln -s ../../src/pcre/config.h config.h
-ln -s ../../src/pcre/dftables.c dftables.c
-ln -s ../../src/pcre/internal.h internal.h
+ln -s ../../src/pcre/pcre_internal.h pcre_internal.h
ln -s ../../src/pcre/pcre.h pcre.h
-ln -s ../../src/pcre/maketables.c maketables.c
-ln -s ../../src/pcre/get.c get.c
-ln -s ../../src/pcre/pcre.c pcre.c
+ln -s ../../src/pcre/pcre_maketables.c pcre_maketables.c
+ln -s ../../src/pcre/pcre_chartables.c pcre_chartables.c
+ln -s ../../src/pcre/pcre_config.c pcre_config.c
+ln -s ../../src/pcre/pcre_get.c pcre_get.c
+ln -s ../../src/pcre/pcre_globals.c pcre_globals.c
+ln -s ../../src/pcre/pcre_newline.c pcre_newline.c
+ln -s ../../src/pcre/pcre_compile.c pcre_compile.c
+ln -s ../../src/pcre/pcre_exec.c pcre_exec.c
+ln -s ../../src/pcre/pcre_fullinfo.c pcre_fullinfo.c
ln -s ../../src/pcre/pcretest.c pcretest.c
-ln -s ../../src/pcre/printint.c printint.c
-ln -s ../../src/pcre/study.c study.c
+ln -s ../../src/pcre/pcre_printint.src pcre_printint.src
+ln -s ../../src/pcre/pcre_study.c pcre_study.c
+ln -s ../../src/pcre/pcre_tables.c pcre_tables.c
+ln -s ../../src/pcre/pcre_try_flipped.c pcre_try_flipped.c
+ln -s ../../src/pcre/pcre_version.c pcre_version.c
+ln -s ../../src/pcre/ucp.h ucp.h
cd ..
# Likewise for the lookups
ln -s ../../src/lookups/cdb.c cdb.c
ln -s ../../src/lookups/dbmdb.h dbmdb.h
ln -s ../../src/lookups/dbmdb.c dbmdb.c
+ln -s ../../src/lookups/dkim.h dkim.h
+ln -s ../../src/lookups/dkim.c dkim.c
ln -s ../../src/lookups/dnsdb.h dnsdb.h
ln -s ../../src/lookups/dnsdb.c dnsdb.c
ln -s ../../src/lookups/dsearch.h dsearch.h
ln -s ../../src/lookups/passwd.c passwd.c
ln -s ../../src/lookups/pgsql.h pgsql.h
ln -s ../../src/lookups/pgsql.c pgsql.c
+ln -s ../../src/lookups/spf.h spf.h
+ln -s ../../src/lookups/spf.c spf.c
+ln -s ../../src/lookups/sqlite.h sqlite.h
+ln -s ../../src/lookups/sqlite.c sqlite.c
ln -s ../../src/lookups/testdb.h testdb.h
ln -s ../../src/lookups/testdb.c testdb.c
ln -s ../../src/lookups/whoson.h whoson.h
ln -s ../../src/lookups/lf_functions.h lf_functions.h
ln -s ../../src/lookups/lf_check_file.c lf_check_file.c
ln -s ../../src/lookups/lf_quote.c lf_quote.c
+ln -s ../../src/lookups/lf_sqlperform.c lf_sqlperform.c
cd ..
ln -s ../../src/auths/call_pam.c call_pam.c
ln -s ../../src/auths/call_pwcheck.c call_pwcheck.c
ln -s ../../src/auths/call_radius.c call_radius.c
+ln -s ../../src/auths/check_serv_cond.c check_serv_cond.c
ln -s ../../src/auths/cyrus_sasl.c cyrus_sasl.c
ln -s ../../src/auths/cyrus_sasl.h cyrus_sasl.h
ln -s ../../src/auths/get_data.c get_data.c
ln -s ../../src/auths/pwcheck.h pwcheck.h
ln -s ../../src/auths/auth-spa.c auth-spa.c
ln -s ../../src/auths/auth-spa.h auth-spa.h
+ln -s ../../src/auths/dovecot.c dovecot.c
+ln -s ../../src/auths/dovecot.h dovecot.h
ln -s ../../src/auths/sha1.c sha1.c
ln -s ../../src/auths/spa.c spa.c
ln -s ../../src/auths/spa.h spa.h
cd ..
+# Likewise for the code for the PDKIM library
+mkdir pdkim
+cd pdkim
+ln -s ../../src/pdkim/README README
+ln -s ../../src/pdkim/Makefile Makefile
+ln -s ../../src/pdkim/base64.c base64.c
+ln -s ../../src/pdkim/base64.h base64.h
+ln -s ../../src/pdkim/bignum.c bignum.c
+ln -s ../../src/pdkim/bignum.h bignum.h
+ln -s ../../src/pdkim/bn_mul.h bn_mul.h
+ln -s ../../src/pdkim/pdkim.c pdkim.c
+ln -s ../../src/pdkim/pdkim.h pdkim.h
+ln -s ../../src/pdkim/rsa.c rsa.c
+ln -s ../../src/pdkim/rsa.h rsa.h
+ln -s ../../src/pdkim/sha1.c sha1.c
+ln -s ../../src/pdkim/sha1.h sha1.h
+ln -s ../../src/pdkim/sha2.c sha2.c
+ln -s ../../src/pdkim/sha2.h sha2.h
+cd ..
+
# The basic source files for Exim and utilities. NB local_scan.h gets linked,
# 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.
ln -s ../src/tree.c tree.c
ln -s ../src/verify.c verify.c
ln -s ../src/version.c version.c
+ln -s ../src/dkim.c dkim.c
+ln -s ../src/dkim.h dkim.h
+
+# WITH_CONTENT_SCAN
+ln -s ../src/spam.c spam.c
+ln -s ../src/spam.h spam.h
+ln -s ../src/spool_mbox.c spool_mbox.c
+ln -s ../src/regex.c regex.c
+ln -s ../src/mime.c mime.c
+ln -s ../src/mime.h mime.h
+ln -s ../src/malware.c malware.c
+
+# WITH_OLD_DEMIME
+ln -s ../src/demime.c demime.c
+ln -s ../src/demime.h demime.h
+
+# EXPERIMENTAL_*
+ln -s ../src/bmi_spam.c bmi_spam.c
+ln -s ../src/bmi_spam.h bmi_spam.h
+ln -s ../src/spf.c spf.c
+ln -s ../src/spf.h spf.h
+ln -s ../src/srs.c srs.c
+ln -s ../src/srs.h srs.h
+ln -s ../src/dcc.c dcc.c
+ln -s ../src/dcc.h dcc.h
+
# End of MakeLinks