Testsuite: support TLS cross-library testing
[exim.git] / src / OS / Makefile-Base
index d00ab94043ea606625db18ccd14769b6f8399ed0..e0aa1dc6ce77263028827a679d5bb644d4cc32c6 100644 (file)
@@ -39,6 +39,9 @@ FE       = $(FULLECHO)
 all:       utils exim
 config:    $(EDITME) checklocalmake Makefile os.c config.h version.h version.sh macro.c
 
+exim_openssl exim_gnutls: clean exim
+       cp exim $@
+
 checklocalmake:
        @if $(SHELL) $(SCRIPTS)/newer $(EDITME)-$(OSTYPE) $(EDITME) || \
          $(SHELL) $(SCRIPTS)/newer $(EDITME)-$(ARCHTYPE) $(EDITME) || \
@@ -249,8 +252,8 @@ utils: $(EXIM_MONITOR) exicyclog exinext exiwhat \
         exigrep eximstats exipick exiqgrep exiqsumm \
         transport-filter.pl convert4r3 convert4r4 \
         exim_checkaccess \
-        exim_dbmbuild exim_dumpdb exim_fixdb exim_tidydb exim_lock \
-        exim_msgdate
+        exim_dbmbuild exim_dumpdb exim_fixdb exim_tidydb \
+       exim_lock exim_msgdate exim_id_update
 
 
 # Targets for special-purpose configuration header builders
@@ -451,6 +454,19 @@ exipick: config ../src/exipick.src
        @chmod a+x exipick
        @echo ">>> exipick script built"
 
+exim_id_update: config ../src/exim_id_update.src
+       @rm -f exim_id_update
+       @. ./version.sh && sed \
+         -e "s?PERL_COMMAND?$(PERL_COMMAND)?" \
+         -e "s?SPOOL_DIRECTORY?$(SPOOL_DIRECTORY)?" \
+         -e "s?BIN_DIRECTORY?$(BIN_DIRECTORY)?" \
+         -e "s?EXIM_RELEASE_VERSION?$${EXIM_RELEASE_VERSION}?" \
+         -e "s?EXIM_VARIANT_VERSION?$${EXIM_VARIANT_VERSION}?" \
+         ../src/exim_id_update.src > exim_id_update-t
+       @mv exim_id_update-t exim_id_update
+       @chmod a+x exim_id_update
+       @echo ">>> exim_id_update script built"
+
 transport-filter.pl: config ../src/transport-filter.src
        @rm -f transport-filter.pl
        @. ./version.sh && sed \
@@ -497,7 +513,8 @@ OBJ_EXPERIMENTAL =  arc.o \
                        dmarc.o \
                        imap_utf7.o \
                        spf.o \
-                       utf8.o
+                       utf8.o \
+                       xclient.o
 
 # Targets for final binaries; the main one has a build number which is
 # updated each time. We don't bother with that for the auxiliaries.
@@ -873,6 +890,7 @@ dmarc.o:    $(HDRS) pdkim/pdkim.h dmarc.h dmarc.c
 imap_utf7.o:   $(HDRS) imap_utf7.c
 spf.o:         $(HDRS) spf.h spf.c
 utf8.o:                $(HDRS) utf8.c
+xclient.o:     $(HDRS) xclient.c
 
 # The module containing tables of available lookups, routers, auths, and
 # transports must be rebuilt if any of them are. However, because the makefiles