-# $Id: Makefile.in 7752 2009-08-29 10:37:43Z dothebart $
-
AUTOCONF=@AUTOCONF@
CC=@CC@
CFLAGS=@CFLAGS@
# End of configuration section
-TARGETS=stringbuf_test stringbuf_IO_test stringbuf_conversion_test
+TARGETS=stringbuf_test \
+ stringbuf_IO_test \
+ stringbuf_conversion_test \
+ hashlist_test \
+ mimeparser_test \
+ mime_xdg_lookup_test \
+ wildfire_test \
+ stripallbut_test \
+ stringbuf_stream_test
+
all: $(TARGETS)
.SUFFIXES: .cpp .c .o
clean:
- rm -f *.o
+ rm -f *.o *.gcda *.gcov *.gcno $(TARGETS)
distclean: clean
rm -f Makefile config.cache config.log config.status \
$(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
stringbuf_IO_test.o \
../.libs/libcitadel.a \
- -o stringbuf_io_test
+ -o stringbuf_IO_test
+
+stringbuf_stream_test: $(LIBOBJS) stringbuf_stream.o
+ $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+ stringbuf_stream.o \
+ ../.libs/libcitadel.a \
+ -o stringbuf_stream_test
stringbuf_conversion_test: $(LIBOBJS) stringbuf_conversion.o
$(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
../.libs/libcitadel.a \
-o stringbuf_conversion_test
+hashlist_test: $(LIBOBJS) hashlist_test.o
+ $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+ hashlist_test.o \
+ ../.libs/libcitadel.a \
+ -o hashlist_test
+
+mimeparser_test: $(LIBOBJS) mimeparser_test.o
+ $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+ mimeparser_test.o \
+ ../.libs/libcitadel.a \
+ -o mimeparser_test
+
+
+mime_xdg_lookup_test: $(LIBOBJS) mime_xdg_lookup_type.o
+ $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+ mime_xdg_lookup_type.o \
+ ../.libs/libcitadel.a \
+ -o mime_xdg_lookup_test
+
+
+wildfire_test: $(LIBOBJS) wildfire_test.o
+ $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+ wildfire_test.o \
+ ../.libs/libcitadel.a \
+ -o wildfire_test
+
+
+stripallbut_test: $(LIBOBJS) stripallbut_test.o
+ $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+ stripallbut_test.o \
+ ../.libs/libcitadel.a \
+ -o stripallbut_test
+
+
.c.o:
$(CC) $(CFLAGS) $(DEFS) -c $<