Add maildirfolder_create_regex to appendfile.
[users/jgh/exim.git] / test / Makefile.in
1 # $Cambridge: exim/test/Makefile.in,v 1.1 2006/02/06 16:07:10 ph10 Exp $
2 # This Makefile builds the support programs for the Exim test suite.
3
4 ##############################################################################
5 # These variables are set by the configure script.
6
7 CC=@CC@
8 CFLAGS=@CFLAGS@
9 LDFLAGS=@LDFLAGS@
10 CLIENT_SSL=@CLIENT_SSL@
11 CLIENT_GNUTLS=@CLIENT_GNUTLS@
12 LOADED=@LOADED@
13 LOADED_OPT=@LOADED_OPT@
14
15 ##############################################################################
16
17 # List of targets
18
19 all:            makebin bin/cf bin/client $(CLIENT_SSL) $(CLIENT_GNUTLS) \
20                 bin/checkaccess bin/fakens bin/fd bin/iefbr14 $(LOADED) \
21                 bin/mtpscript bin/server bin/showids
22
23 # Ensure the bin directory exists
24
25 makebin:;       @if [ ! -e bin ] ; then mkdir bin 2>/dev/null; echo ""; fi
26
27 # Compile and link the programs:
28 #
29 # bin/client        is the SMTP script-driven client, without TLS support
30 # bin/client-ssl    is with OpenSSL support
31 #                   there isn't yet a version with GnuTLS support
32 # bin/checkaccess   tests whether the exim uid/gid can access the files
33 # bin/iefbr14       a program that does nothing and returns 0
34 # bin/loaded        is a dynamically loaded test module
35 # bin/server        is the SMTP script-driven server (no TLS support)
36
37 bin/cf:         src/cf.c
38                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/cf src/cf.c
39                 @echo ">>> bin/cf command build"
40                 @echo " "
41
42 bin/client:     src/client.c
43                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/client src/client.c
44                 @echo ">>> bin/client command built"
45                 @echo " "
46
47 bin/client-gnutls: src/client.c
48                 $(CC) $(CFLAGS) -DHAVE_GNUTLS $(LDFLAGS) -lgnutls -lgcrypt -o bin/client-gnutls src/client.c
49                 @echo ">>> bin/client-gnutls command built"
50                 @echo " "
51
52 bin/client-ssl: src/client.c
53                 $(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -lssl -lcrypto -o bin/client-ssl src/client.c
54                 @echo ">>> bin/client-ssl command built"
55                 @echo " "
56
57 bin/checkaccess:src/checkaccess.c
58                 $(CC) $(CFLAGS) -DNO_TLS $(LDFLAGS) -o bin/checkaccess src/checkaccess.c
59                 @echo ">>> bin/checkaccess command built"
60                 @echo " "
61
62 bin/fakens:     src/fakens.c
63                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/fakens src/fakens.c
64                 @echo ">>> bin/fakens command built"
65                 @echo " "
66
67 bin/fd:         src/fd.c
68                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/fd src/fd.c
69                 @echo ">>> bin/fd command built"
70                 @echo " "
71
72 bin/iefbr14:    src/iefbr14.c
73                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/iefbr14 src/iefbr14.c
74                 @echo ">>> bin/iefbr14 command built"
75                 @echo " "
76
77 bin/loaded:     src/loaded.c
78                 $(CC) $(CFLAGS) $(LDFLAGS) $(LOADED_OPT) -o bin/loaded src/loaded.c
79                 @echo ">>> bin/loaded command built"
80                 @echo " "
81
82 bin/mtpscript:  src/mtpscript.c
83                 $(CC) $(CFLAGS) $(LDFLAGS) $(mtpscript_OPT) -o bin/mtpscript src/mtpscript.c
84                 @echo ">>> bin/mtpscript command built"
85                 @echo " "
86
87 bin/server:     src/server.c
88                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/server src/server.c
89                 @echo ">>> bin/server command built"
90                 @echo " "
91
92 bin/showids:    src/showids.c 
93                 $(CC) $(CFLAGS) $(LDFLAGS) -o bin/showids src/showids.c
94                 @echo ">>> bin/showids command built"
95                 @echo " "
96
97 # End