15 # End of configuration section
17 TARGETS=stringbuf_test \
19 stringbuf_conversion_test \
22 mime_xdg_lookup_test \
33 rm -f *.o *.gcda *.gcov *.gcno $(TARGETS)
36 rm -f Makefile config.cache config.log config.status \
40 stringbuf_test: $(LIBOBJS) stringbuf_test.o
41 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
43 ../.libs/libcitadel.a \
46 stringbuf_IO_test: $(LIBOBJS) stringbuf_IO_test.o
47 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
49 ../.libs/libcitadel.a \
52 stringbuf_stream_test: $(LIBOBJS) stringbuf_stream.o
53 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
55 ../.libs/libcitadel.a \
56 -o stringbuf_stream_test
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
64 hashlist_test: $(LIBOBJS) hashlist_test.o
65 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
67 ../.libs/libcitadel.a \
70 mimeparser_test: $(LIBOBJS) mimeparser_test.o
71 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
73 ../.libs/libcitadel.a \
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
84 wildfire_test: $(LIBOBJS) wildfire_test.o
85 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
87 ../.libs/libcitadel.a \
91 stripallbut_test: $(LIBOBJS) stripallbut_test.o
92 $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
94 ../.libs/libcitadel.a \
99 $(CC) $(CFLAGS) $(DEFS) -c $<
101 Makefile: $(srcdir)/tests/Makefile.in $(srcdir)/config.status
102 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
104 config.status: $(srcdir)/configure
105 $(SHELL) ./config.status --recheck
107 $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
108 cd $(srcdir) && $(AUTOCONF)
110 $(srcdir)/aclocal.m4: $(srcdir)/acinclude.m4
111 cd $(srcdir) && $(ACLOCAL)