* start a unit-test-suite with http://cunit.sourceforge.net/ So far only some basics...
[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 -lcitadel
9 LIBS=@LIBS@
10 LDFLAGS=@LDFLAGS@ -L ../lib/.libs
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 
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         -o stringbuf_test \
37         $(LIBS)
38
39 .c.o:
40         $(CC) $(CFLAGS) $(DEFS) -c  $<
41
42 Makefile: $(srcdir)/tests/Makefile.in $(srcdir)/config.status
43         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
44
45 config.status: $(srcdir)/configure
46         $(SHELL) ./config.status --recheck
47
48 $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
49         cd $(srcdir) && $(AUTOCONF)
50
51 $(srcdir)/aclocal.m4: $(srcdir)/acinclude.m4
52         cd $(srcdir) && $(ACLOCAL)
53
54