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