fixes
[oweals/gnunet.git] / src / fs / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12
13 lib_LTLIBRARIES = libgnunetfs.la
14
15 libgnunetfs_la_SOURCES = \
16   fs_collection.c \
17   fs_directory.c \
18   fs_getopt.c \
19   fs_uri.c 
20
21 libgnunetfs_la_LIBADD = \
22   $(top_builddir)/src/util/libgnunetutil.la \
23   $(GN_LIBINTL) $(XLIB)
24
25 libgnunetfs_la_LDFLAGS = \
26   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
27   -version-info 0:0:0
28
29
30 #bin_PROGRAMS =  
31 # gnunet-directory 
32 # gnunet-download 
33 # gnunet-pseudonym 
34 # gnunet-search
35 # gnunet-share 
36 # gnunet-unindex 
37
38 #gnunet_directory_SOURCES = 
39 # gnunet-directory.c         
40 #gnunet_directory_LDADD = 
41 #  $(top_builddir)/src/fs/libgnunetfs.la 
42 #  $(top_builddir)/src/util/libgnunetutil.la 
43 #  $(GN_LIBINTL)
44
45
46 check_PROGRAMS = \
47  test_fs_collection \
48  test_fs_directory \
49  test_fs_getopt \
50  test_fs_uri
51
52 TESTS = $(check_PROGRAMS)
53
54 test_fs_collection_SOURCES = \
55  test_fs_collection.c
56 test_fs_collection_LDADD = \
57   $(top_builddir)/src/fs/libgnunetfs.la  \
58   $(top_builddir)/src/util/libgnunetutil.la  
59
60 test_fs_directory_SOURCES = \
61  test_fs_directory.c
62 test_fs_directory_LDADD = \
63   $(top_builddir)/src/fs/libgnunetfs.la  \
64   $(top_builddir)/src/util/libgnunetutil.la  
65
66 test_fs_getopt_SOURCES = \
67  test_fs_getopt.c
68 test_fs_getopt_LDADD = \
69   $(top_builddir)/src/fs/libgnunetfs.la  \
70   $(top_builddir)/src/util/libgnunetutil.la  
71
72 test_fs_uri_SOURCES = \
73  test_fs_uri.c
74 test_fs_uri_LDADD = \
75   $(top_builddir)/src/fs/libgnunetfs.la  \
76   $(top_builddir)/src/util/libgnunetutil.la  
77
78 EXTRA_DIST = \
79   test_fs_uri_data.conf