merged Sys.Web.Services 2.0 support in my branch:
[mono.git] / eglib / test / Makefile.am
1 noinst_PROGRAMS = test-eglib test-glib
2
3 SOURCES = \
4         test.c          \
5         test.h          \
6         tests.h         \
7         driver.c        \
8         hashtable.c     \
9         string-util.c   \
10         string.c        \
11         slist.c         \
12         sizes.c         \
13         ptrarray.c      \
14         list.c          \
15         array.c         \
16         fake.c          \
17         path.c          \
18         queue.c         \
19         shell.c         \
20         spawn.c         \
21         timer.c         \
22         file.c          \
23         pattern.c       \
24         dir.c           \
25         markup.c        \
26         utf8.c          \
27         endian.c
28
29 test_eglib_SOURCES = $(SOURCES)
30 test_glib_SOURCES = $(SOURCES)
31
32 test_eglib_CFLAGS = -Wall -Werror -D_FORTIFY_SOURCE=2 -I$(srcdir)/../src -DDRIVER_NAME=\"EGlib\"
33 test_eglib_LDADD = ../src/libeglib.la
34
35 test_glib_CFLAGS = `pkg-config --cflags glib-2.0` -DDRIVER_NAME=\"GLib\"
36 test_glib_LDFLAGS = `pkg-config --libs glib-2.0`
37
38 MAINTAINERCLEANFILES = Makefile.in
39
40 run-glib: all
41         ./test-glib
42
43 run-eglib: all
44         ./test-eglib
45
46 run-both: run-glib run-eglib
47