db30bcad58d12c047dad3c53a853188357b69257
[citadel.git] / libcitadel / tests / Makefile.in
1 # $Id: Makefile.in 7752 2009-08-29 10:37:43Z dothebart $
2
3 AUTOCONF=@AUTOCONF@
4 CC=@CC@
5 CFLAGS=@CFLAGS@
6 DEFS=@DEFS@
7 INSTALL=@INSTALL@
8 LIBOBJS=@LIBOBJS@
9 LIBS=@LIBS@  -lcunit
10 LDFLAGS=@LDFLAGS@ -dn
11 SED=@SED@
12 LCUNIT_DEFS=
13 srcdir=../
14 prefix=@prefix@
15 top_builddir=`pwd`
16
17 # End of configuration section
18
19 TARGETS=stringbuf_test stringbuf_IO_test stringbuf_conversion_test hashlist_test
20 all: $(TARGETS)
21
22
23 .SUFFIXES: .cpp .c .o
24
25 clean:
26         rm -f *.o *.gcda *.gcov *.gcno $(TARGETS)
27
28 distclean: clean
29         rm -f Makefile config.cache config.log config.status \
30                 po/Makefile \
31                 $(srcdir)/TAGS
32
33 stringbuf_test: $(LIBOBJS) stringbuf_test.o 
34         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
35         stringbuf_test.o \
36         ../.libs/libcitadel.a \
37         -o stringbuf_test
38
39 stringbuf_IO_test:      $(LIBOBJS) stringbuf_IO_test.o 
40         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
41         stringbuf_IO_test.o \
42         ../.libs/libcitadel.a \
43         -o stringbuf_IO_test
44
45 stringbuf_conversion_test:      $(LIBOBJS) stringbuf_conversion.o 
46         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
47         stringbuf_conversion.o \
48         ../.libs/libcitadel.a \
49         -o stringbuf_conversion_test 
50
51 hashlist_test:  $(LIBOBJS) hashlist_test.o 
52         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
53         hashlist_test.o \
54         ../.libs/libcitadel.a \
55         -o hashlist_test 
56
57 .c.o:
58         $(CC) $(CFLAGS) $(DEFS) -c  $<
59
60 Makefile: $(srcdir)/tests/Makefile.in $(srcdir)/config.status
61         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
62
63 config.status: $(srcdir)/configure
64         $(SHELL) ./config.status --recheck
65
66 $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
67         cd $(srcdir) && $(AUTOCONF)
68
69 $(srcdir)/aclocal.m4: $(srcdir)/acinclude.m4
70         cd $(srcdir) && $(ACLOCAL)
71
72