#!/bin/sh
-# $Cambridge: exim/src/scripts/MakeLinks,v 1.17 2009/11/13 15:58:17 nm4 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.
fi
-# Initialize the file holding the compile number
-
-echo "0" > cnumber.h
-
echo ""
echo ">>> Creating links to source files..."
-# PCRE is no longer part of the source distribution, so is no longer linked
+# The sources for modular parts of Exim have to be linked independently
+# in their own sub-directories, since their .o files are built using
+# their own Makefile in their sub-directory.
-# Likewise for the lookups
+# Firstly the lookups
mkdir lookups
cd lookups
ln -s ../../src/lookups/README README
-ln -s ../../src/lookups/Makefile Makefile
+# Makefile is generated
ln -s ../../src/lookups/cdb.c cdb.c
ln -s ../../src/lookups/dbmdb.c dbmdb.c
ln -s ../../src/lookups/dnsdb.c dnsdb.c
ln -s ../../src/lookups/ldap.c ldap.c
ln -s ../../src/lookups/lsearch.c lsearch.c
ln -s ../../src/lookups/mysql.c mysql.c
+ln -s ../../src/lookups/redis.c redis.c
ln -s ../../src/lookups/nis.c nis.c
ln -s ../../src/lookups/nisplus.c nisplus.c
ln -s ../../src/lookups/oracle.c oracle.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/gsasl_exim.c gsasl_exim.c
+ln -s ../../src/auths/gsasl_exim.h gsasl_exim.h
ln -s ../../src/auths/get_data.c get_data.c
ln -s ../../src/auths/get_no64_data.c get_no64_data.c
+ln -s ../../src/auths/heimdal_gssapi.c heimdal_gssapi.c
+ln -s ../../src/auths/heimdal_gssapi.h heimdal_gssapi.h
ln -s ../../src/auths/md5.c md5.c
ln -s ../../src/auths/xtextencode.c xtextencode.c
ln -s ../../src/auths/xtextdecode.c xtextdecode.c
ln -s ../src/smtp_out.c smtp_out.c
ln -s ../src/spool_in.c spool_in.c
ln -s ../src/spool_out.c spool_out.c
+ln -s ../src/std-crypto.c std-crypto.c
ln -s ../src/store.c store.c
ln -s ../src/string.c string.c
ln -s ../src/tls.c tls.c
+ln -s ../src/tlscert-gnu.c tlscert-gnu.c
+ln -s ../src/tlscert-openssl.c tlscert-openssl.c
ln -s ../src/tls-gnu.c tls-gnu.c
ln -s ../src/tls-openssl.c tls-openssl.c
ln -s ../src/tod.c tod.c
ln -s ../src/version.c version.c
ln -s ../src/dkim.c dkim.c
ln -s ../src/dkim.h dkim.h
+ln -s ../src/dmarc.c dmarc.c
+ln -s ../src/dmarc.h dmarc.h
ln -s ../src/valgrind.h valgrind.h
ln -s ../src/memcheck.h memcheck.h