-ln -s ../src/dbfunctions.h dbfunctions.h
-ln -s ../src/dbstuff.h dbstuff.h
-ln -s ../src/exim.h exim.h
-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
-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
-ln -s ../src/child.c child.c
-ln -s ../src/crypt16.c crypt16.c
-ln -s ../src/daemon.c daemon.c
-ln -s ../src/dbfn.c dbfn.c
-ln -s ../src/debug.c debug.c
-ln -s ../src/deliver.c deliver.c
-ln -s ../src/directory.c directory.c
-ln -s ../src/dns.c dns.c
-ln -s ../src/drtables.c drtables.c
-ln -s ../src/dummies.c dummies.c
-ln -s ../src/enq.c enq.c
-ln -s ../src/exim.c exim.c
-ln -s ../src/exim_dbmbuild.c exim_dbmbuild.c
-ln -s ../src/exim_dbutil.c exim_dbutil.c
-ln -s ../src/exim_lock.c exim_lock.c
-ln -s ../src/expand.c expand.c
-ln -s ../src/filter.c filter.c
-ln -s ../src/filtertest.c filtertest.c
-ln -s ../src/globals.c globals.c
-ln -s ../src/header.c header.c
-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
-ln -s ../src/match.c match.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/queue.c queue.c
-ln -s ../src/rda.c rda.c
-ln -s ../src/readconf.c readconf.c
-ln -s ../src/receive.c receive.c
-ln -s ../src/retry.c retry.c
-ln -s ../src/rewrite.c rewrite.c
-ln -s ../src/rfc2047.c rfc2047.c
-ln -s ../src/route.c route.c
-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
-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/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/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
+for f in blob.h dbfunctions.h dbstuff.h exim.h functions.h globals.h \
+ hash.h local_scan.h \
+ macros.h mytypes.h osfunctions.h store.h structs.h lookupapi.h sha_ver.h \
+ \
+ acl.c buildconfig.c base64.c child.c crypt16.c daemon.c dbfn.c debug.c \
+ deliver.c directory.c dns.c drtables.c dummies.c enq.c exim.c \
+ exim_dbmbuild.c exim_dbutil.c exim_lock.c expand.c filter.c filtertest.c \
+ globals.c hash.c header.c host.c ip.c log.c lss.c match.c md5.c moan.c \
+ parse.c perl.c queue.c rda.c readconf.c receive.c retry.c rewrite.c \
+ rfc2047.c route.c search.c setenv.c environment.c \
+ sieve.c smtp_in.c smtp_out.c spool_in.c spool_out.c std-crypto.c store.c \
+ string.c tls.c tlscert-gnu.c tlscert-openssl.c tls-cipher-stdname.c \
+ tls-gnu.c tls-openssl.c \
+ tod.c transport.c tree.c verify.c version.c \
+ dkim.c dkim.h dkim_transport.c dmarc.c dmarc.h \
+ valgrind.h memcheck.h \
+ macro_predef.c macro_predef.h
+do
+ ln -s ../src/$f $f
+done