travelhacking
[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_getopt.c \
17   fs_uri.c 
18 libgnunetfs_la_LIBADD = \
19   $(top_builddir)/src/util/libgnunetutil.la \
20   $(GN_LIBINTL) $(XLIB)
21 libgnunetfs_la_LDFLAGS = \
22   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
23   -version-info 0:0:0
24
25
26 #bin_PROGRAMS = \ 
27 # gnunet-directory \
28 # gnunet-download \
29 # gnunet-pseudonym \
30 # gnunet-search \
31 # gnunet-share \
32 # gnunet-unindex 
33
34 #gnunet_directory_SOURCES = \
35 # gnunet-directory.c         
36 #gnunet_directory_LDADD = \
37 #  $(top_builddir)/src/fs/libgnunetfs.la \
38 #  $(top_builddir)/src/util/libgnunetutil.la \
39 #  $(GN_LIBINTL)
40
41
42 check_PROGRAMS = \
43  test_fs_getopt \
44  test_fs_uri
45
46 TESTS = $(check_PROGRAMS)
47
48 test_fs_uri_SOURCES = \
49  test_fs_uri.c
50 test_fs_LDADD = \
51   $(top_builddir)/src/fs/libgnunetfs.la  \
52   $(top_builddir)/src/util/libgnunetutil.la  
53
54 test_fs_getopt_SOURCES = \
55  test_fs_getopt.c
56 test_fs_LDADD = \
57   $(top_builddir)/src/fs/libgnunetfs.la  \
58   $(top_builddir)/src/util/libgnunetutil.la  
59
60 #EXTRA_DIST = \
61 #  test_fs_data.conf