Committing all of my little comment syntax changes and getting them out of the way...
[citadel.git] / libcitadel / tests / Makefile.in
1 AUTOCONF=@AUTOCONF@
2 CC=@CC@
3 CFLAGS=@CFLAGS@
4 DEFS=@DEFS@
5 INSTALL=@INSTALL@
6 LIBOBJS=@LIBOBJS@
7 LIBS=@LIBS@  -lcunit
8 LDFLAGS=@LDFLAGS@ -dn
9 SED=@SED@
10 LCUNIT_DEFS=
11 srcdir=../
12 prefix=@prefix@
13 top_builddir=`pwd`
14
15 # End of configuration section
16
17 TARGETS=stringbuf_test \
18         stringbuf_IO_test \
19         stringbuf_conversion_test \
20         hashlist_test \
21         mimeparser_test \
22         mime_xdg_lookup_test \
23         wildfire_test \
24         stripallbut_test \
25         stringbuf_stream_test
26
27 all: $(TARGETS)
28
29
30 .SUFFIXES: .cpp .c .o
31
32 clean:
33         rm -f *.o *.gcda *.gcov *.gcno $(TARGETS)
34
35 distclean: clean
36         rm -f Makefile config.cache config.log config.status \
37                 po/Makefile \
38                 $(srcdir)/TAGS
39
40 stringbuf_test: $(LIBOBJS) stringbuf_test.o 
41         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
42         stringbuf_test.o \
43         ../.libs/libcitadel.a \
44         -o stringbuf_test
45
46 stringbuf_IO_test:      $(LIBOBJS) stringbuf_IO_test.o 
47         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
48         stringbuf_IO_test.o \
49         ../.libs/libcitadel.a \
50         -o stringbuf_IO_test
51
52 stringbuf_stream_test:  $(LIBOBJS) stringbuf_stream.o 
53         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
54         stringbuf_stream.o \
55         ../.libs/libcitadel.a \
56         -o stringbuf_stream_test
57
58 stringbuf_conversion_test:      $(LIBOBJS) stringbuf_conversion.o 
59         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
60         stringbuf_conversion.o \
61         ../.libs/libcitadel.a \
62         -o stringbuf_conversion_test 
63
64 hashlist_test:  $(LIBOBJS) hashlist_test.o 
65         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
66         hashlist_test.o \
67         ../.libs/libcitadel.a \
68         -o hashlist_test 
69
70 mimeparser_test:        $(LIBOBJS) mimeparser_test.o 
71         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
72         mimeparser_test.o \
73         ../.libs/libcitadel.a \
74         -o mimeparser_test 
75
76
77 mime_xdg_lookup_test:   $(LIBOBJS) mime_xdg_lookup_type.o 
78         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
79         mime_xdg_lookup_type.o \
80         ../.libs/libcitadel.a \
81         -o mime_xdg_lookup_test 
82
83
84 wildfire_test:  $(LIBOBJS) wildfire_test.o 
85         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
86         wildfire_test.o \
87         ../.libs/libcitadel.a \
88         -o wildfire_test 
89
90
91 stripallbut_test:       $(LIBOBJS) stripallbut_test.o 
92         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
93         stripallbut_test.o \
94         ../.libs/libcitadel.a \
95         -o stripallbut_test 
96
97
98 .c.o:
99         $(CC) $(CFLAGS) $(DEFS) -c  $<
100
101 Makefile: $(srcdir)/tests/Makefile.in $(srcdir)/config.status
102         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
103
104 config.status: $(srcdir)/configure
105         $(SHELL) ./config.status --recheck
106
107 $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
108         cd $(srcdir) && $(AUTOCONF)
109
110 $(srcdir)/aclocal.m4: $(srcdir)/acinclude.m4
111         cd $(srcdir) && $(ACLOCAL)
112
113