DMARC: expand main-config options. Bug 3102
[exim.git] / test / Makefile.in
index 6a9603cf3740111303719e04e6b6028620a12cbd..f7a2a4695b68df277dd446a5c9badba5ba5a2a22 100644 (file)
@@ -28,7 +28,8 @@ all:            binaries sysbinaries
 binaries:      $(BINARIES)
 
 sysbinaries:   FORCE binaries
-               bin/locate initdb postgres pg_ctl mysqld
+               rm -f bin.sys/*
+               bin/locate initdb postgres pg_ctl psql mysqld mysql
                ls -la bin.sys
 
 # Compile and link the programs:
@@ -59,7 +60,7 @@ bin/client-ssl: $(SRC)/client.c Makefile
                $(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -o bin/client-ssl $(SRC)/client.c -lssl -lcrypto $(LIBS)
 
 $(CLIENT_ANYTLS): $(CLIENT_GNUTLS) $(CLIENT_OPENSSL)
-               ln -sf `basename $<` $@
+               [ -n "$(CLIENT_GNUTLS)" ] && ln -sf `basename $(CLIENT_GNUTLS)` $@ || ln -sf `basename $(CLIENT_OPENSSL)` $@
 
 bin/checkaccess:$(SRC)/checkaccess.c Makefile
                $(CC) $(CFLAGS) -DNO_TLS $(LDFLAGS) -o bin/checkaccess $(SRC)/checkaccess.c