-# $Id: Makefile.in 7752 2009-08-29 10:37:43Z dothebart $
-
AUTOCONF=@AUTOCONF@
CC=@CC@
CFLAGS=@CFLAGS@
DEFS=@DEFS@
INSTALL=@INSTALL@
-LIBOBJS=@LIBOBJS@ -lcunit -lcitadel
-LIBS=@LIBS@
-LDFLAGS=@LDFLAGS@ -L ../.libs
+LIBOBJS=@LIBOBJS@
+LIBS=@LIBS@ -lcunit
+LDFLAGS=@LDFLAGS@ -dn
SED=@SED@
LCUNIT_DEFS=
srcdir=../
# End of configuration section
-TARGETS=stringbuf_test stringbuf_IO_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 \
stringbuf_test: $(LIBOBJS) stringbuf_test.o
$(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
stringbuf_test.o \
- -o stringbuf_test \
- $(LIBS)
+ ../.libs/libcitadel.a \
+ -o stringbuf_test
stringbuf_IO_test: $(LIBOBJS) stringbuf_IO_test.o
$(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
stringbuf_IO_test.o \
- -o stringbuf_io_test \
- $(LIBS)
+ ../.libs/libcitadel.a \
+ -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) \
+ stringbuf_conversion.o \
+ ../.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 $<