tidying: coverity issues
[users/heiko/exim.git] / test / Makefile.in
index da72101d44b334957eb099213d45074336be3f17..70b14753a79f0ba0d71a0d892327d4d9eb8974da 100644 (file)
@@ -1,16 +1,16 @@
-# $Cambridge: exim/test/Makefile.in,v 1.2 2007/01/23 11:01:10 ph10 Exp $
 # This Makefile builds the support programs for the Exim test suite.
 
 ##############################################################################
 # These variables are set by the configure script.
 
 CC=@CC@
-CFLAGS=@CFLAGS@ @BIND_8_COMPAT@
+CFLAGS=@CFLAGS@ @BIND_8_COMPAT@ @DEFS@
 LDFLAGS=@LDFLAGS@
 CLIENT_SSL=@CLIENT_SSL@
 CLIENT_GNUTLS=@CLIENT_GNUTLS@
 LOADED=@LOADED@
 LOADED_OPT=@LOADED_OPT@
+LIBS=@LIBS@
 
 ##############################################################################
 
@@ -45,17 +45,17 @@ bin/cf:         src/cf.c Makefile
                @echo " "
 
 bin/client:     src/client.c Makefile
-               $(CC) $(CFLAGS) $(LDFLAGS) -o bin/client src/client.c
+               $(CC) $(CFLAGS) $(LDFLAGS) -o bin/client src/client.c $(LIBS)
                @echo ">>> bin/client command built"
                @echo " "
 
 bin/client-gnutls: src/client.c Makefile
-               $(CC) $(CFLAGS) -DHAVE_GNUTLS $(LDFLAGS) -lgnutls -lgcrypt -o bin/client-gnutls src/client.c
+               $(CC) $(CFLAGS) -DHAVE_GNUTLS $(LDFLAGS) -o bin/client-gnutls src/client.c -lgnutls -lgcrypt $(LIBS)
                @echo ">>> bin/client-gnutls command built"
                @echo " "
 
 bin/client-ssl: src/client.c Makefile
-               $(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -lssl -lcrypto -o bin/client-ssl src/client.c
+               $(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -o bin/client-ssl src/client.c -lssl -lcrypto $(LIBS)
                @echo ">>> bin/client-ssl command built"
                @echo " "
 
@@ -65,7 +65,7 @@ bin/checkaccess:src/checkaccess.c Makefile
                @echo " "
 
 bin/fakens:     src/fakens.c Makefile
-               $(CC) $(CFLAGS) $(LDFLAGS) -o bin/fakens src/fakens.c
+               $(CC) $(CFLAGS) $(LDFLAGS) -o bin/fakens src/fakens.c $(LIBS)
                @echo ">>> bin/fakens command built"
                @echo " "
 
@@ -90,7 +90,7 @@ bin/mtpscript:  src/mtpscript.c Makefile
                @echo " "
 
 bin/server:     src/server.c Makefile
-               $(CC) $(CFLAGS) $(LDFLAGS) -o bin/server src/server.c
+               $(CC) $(CFLAGS) $(LDFLAGS) -o bin/server src/server.c $(LIBS)
                @echo ">>> bin/server command built"
                @echo " "