move-hacknig
[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_getopt \
48  test_fs_uri
49
50 TESTS = $(check_PROGRAMS)
51
52 test_fs_uri_SOURCES = \
53  test_fs_uri.c
54 test_fs_LDADD = \
55   $(top_builddir)/src/fs/libgnunetfs.la  \
56   $(top_builddir)/src/util/libgnunetutil.la  
57
58 test_fs_getopt_SOURCES = \
59  test_fs_getopt.c
60 test_fs_LDADD = \
61   $(top_builddir)/src/fs/libgnunetfs.la  \
62   $(top_builddir)/src/util/libgnunetutil.la  
63
64 #EXTRA_DIST = \
65 #  test_fs_data.conf