]> code.citadel.org Git - citadel.git/blob - libcitadel/tests/Makefile.in
* add simple RFC822 / iconv decoding test
[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@ -lcunit
9 LIBS=@LIBS@
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
20 all: $(TARGETS)
21
22
23 .SUFFIXES: .cpp .c .o
24
25 clean:
26         rm -f *.o 
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         $(LIBS)
39
40 stringbuf_IO_test:      $(LIBOBJS) stringbuf_IO_test.o 
41         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
42         stringbuf_IO_test.o \
43         ../.libs/libcitadel.a \
44         -o stringbuf_io_test \
45         $(LIBS)
46
47 stringbuf_conversion_test:      $(LIBOBJS) stringbuf_conversion.o 
48         $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
49         stringbuf_conversion.o \
50         ../.libs/libcitadel.a \
51         -o stringbuf_conversion_test \
52         $(LIBS)
53
54 .c.o:
55         $(CC) $(CFLAGS) $(DEFS) -c  $<
56
57 Makefile: $(srcdir)/tests/Makefile.in $(srcdir)/config.status
58         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
59
60 config.status: $(srcdir)/configure
61         $(SHELL) ./config.status --recheck
62
63 $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
64         cd $(srcdir) && $(AUTOCONF)
65
66 $(srcdir)/aclocal.m4: $(srcdir)/acinclude.m4
67         cd $(srcdir) && $(ACLOCAL)
68
69