X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/6bf342e1eb87c656de34d668d7303a7d0138e89a..0eb51736637f6c93a2fd6cb65316f8ae11f0a0be:/src/scripts/MakeLinks diff --git a/src/scripts/MakeLinks b/src/scripts/MakeLinks index d4561ac39..a50f75b36 100755 --- a/src/scripts/MakeLinks +++ b/src/scripts/MakeLinks @@ -1,5 +1,4 @@ #!/bin/sh -# $Cambridge: exim/src/scripts/MakeLinks,v 1.10 2007/01/23 15:08:45 ph10 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. @@ -17,84 +16,43 @@ if [ -r pcre/Makefile ] ; then fi -# Initialize the file holding the compile number - -echo "0" > cnumber.h - echo "" echo ">>> Creating links to source files..." -# The PCRE regular expression library sources have to be linked -# independently in their own sub-directory, since their .o files -# are built using their own Makefile in the sub-directory. -mkdir pcre -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/pcre_internal.h pcre_internal.h -ln -s ../../src/pcre/pcre.h pcre.h -ln -s ../../src/pcre/pcre_maketables.c pcre_maketables.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/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 .. +# 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 -ln -s ../../src/lookups/cdb.h cdb.h +# Makefile is generated 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/dnsdb.h dnsdb.h ln -s ../../src/lookups/dnsdb.c dnsdb.c -ln -s ../../src/lookups/dsearch.h dsearch.h ln -s ../../src/lookups/dsearch.c dsearch.c -ln -s ../../src/lookups/ibase.h ibase.h ln -s ../../src/lookups/ibase.c ibase.c ln -s ../../src/lookups/ldap.h ldap.h ln -s ../../src/lookups/ldap.c ldap.c -ln -s ../../src/lookups/lsearch.h lsearch.h ln -s ../../src/lookups/lsearch.c lsearch.c -ln -s ../../src/lookups/mysql.h mysql.h ln -s ../../src/lookups/mysql.c mysql.c -ln -s ../../src/lookups/nis.h nis.h +ln -s ../../src/lookups/redis.c redis.c ln -s ../../src/lookups/nis.c nis.c -ln -s ../../src/lookups/nisplus.h nisplus.h ln -s ../../src/lookups/nisplus.c nisplus.c -ln -s ../../src/lookups/oracle.h oracle.h ln -s ../../src/lookups/oracle.c oracle.c -ln -s ../../src/lookups/passwd.h passwd.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/whoson.c whoson.c 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 .. @@ -166,8 +124,12 @@ 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/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 @@ -186,6 +148,26 @@ 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. @@ -201,6 +183,7 @@ ln -s ../src/mytypes.h mytypes.h ln -s ../src/osfunctions.h osfunctions.h ln -s ../src/store.h store.h ln -s ../src/structs.h structs.h +ln -s ../src/lookupapi.h lookupapi.h ln -s ../src/acl.c acl.c ln -s ../src/buildconfig.c buildconfig.c @@ -246,9 +229,12 @@ ln -s ../src/smtp_in.c smtp_in.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 @@ -256,6 +242,12 @@ ln -s ../src/transport.c transport.c 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 +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 # WITH_CONTENT_SCAN ln -s ../src/spam.c spam.c @@ -277,7 +269,12 @@ 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/dk.c dk.c -ln -s ../src/dk.h dk.h +ln -s ../src/dcc.c dcc.c +ln -s ../src/dcc.h dcc.h +ln -s ../src/dane.c dane.c +ln -s ../src/dane-gnu.c dane-gnu.c +ln -s ../src/dane-openssl.c dane-openssl.c +ln -s ../src/danessl.h danessl.h + # End of MakeLinks