aboutsummaryrefslogtreecommitdiff
path: root/src/fs/Makefile.am
blob: 5aca42ac2d9a6f0038eff7fb3149d698edf57daf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
INCLUDES = -I$(top_srcdir)/src/include

if MINGW
 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
endif

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif


lib_LTLIBRARIES = libgnunetfs.la

libgnunetfs_la_SOURCES = \
  fs.c \
  fs_collection.c \
  fs_directory.c \
  fs_download.c \
  fs_file_information.c \
  fs_getopt.c \
  fs_publish.c \
  fs_namespace.c \
  fs_search.c \
  fs_unindex.c \
  fs_uri.c 

libgnunetfs_la_LIBADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  -lextractor \
  $(GN_LIBINTL) $(XLIB)

libgnunetfs_la_LDFLAGS = \
  $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
  -version-info 0:0:0


#bin_PROGRAMS =  
# gnunet-directory 
# gnunet-download 
# gnunet-pseudonym 
# gnunet-publish 
# gnunet-search
# gnunet-unindex 

#gnunet_directory_SOURCES = 
# gnunet-directory.c         
#gnunet_directory_LDADD = 
#  $(top_builddir)/src/fs/libgnunetfs.la 
#  $(top_builddir)/src/util/libgnunetutil.la 
#  $(GN_LIBINTL)


check_PROGRAMS = \
 test_fs_collection \
 test_fs_directory \
 test_fs_getopt \
 test_fs_uri

TESTS = $(check_PROGRAMS)

test_fs_collection_SOURCES = \
 test_fs_collection.c
test_fs_collection_LDADD = \
  $(top_builddir)/src/fs/libgnunetfs.la  \
  $(top_builddir)/src/util/libgnunetutil.la  

test_fs_directory_SOURCES = \
 test_fs_directory.c
test_fs_directory_LDADD = \
  $(top_builddir)/src/fs/libgnunetfs.la  \
  $(top_builddir)/src/util/libgnunetutil.la  

test_fs_getopt_SOURCES = \
 test_fs_getopt.c
test_fs_getopt_LDADD = \
  $(top_builddir)/src/fs/libgnunetfs.la  \
  $(top_builddir)/src/util/libgnunetutil.la  

test_fs_uri_SOURCES = \
 test_fs_uri.c
test_fs_uri_LDADD = \
  $(top_builddir)/src/fs/libgnunetfs.la  \
  $(top_builddir)/src/util/libgnunetutil.la  

EXTRA_DIST = \
  test_fs_collection_data.conf \
  test_fs_uri_data.conf