diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-05-29 00:46:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-05-29 00:46:26 +0000 |
commit | 0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9 (patch) | |
tree | 6b552f40eb089db96409a312a98d9b12bd669102 /src/peerinfo/Makefile.am | |
download | gnunet-0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9.tar.gz gnunet-0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9.zip |
ng
Diffstat (limited to 'src/peerinfo/Makefile.am')
-rw-r--r-- | src/peerinfo/Makefile.am | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am new file mode 100644 index 000000000..294ff5cca --- /dev/null +++ b/src/peerinfo/Makefile.am | |||
@@ -0,0 +1,56 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -luuid -liconv -lstdc++ -lcomdlg32 -lgdi32 | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
9 | endif | ||
10 | |||
11 | lib_LTLIBRARIES = libgnunetpeerinfo.la | ||
12 | |||
13 | libgnunetpeerinfo_la_SOURCES = \ | ||
14 | peerinfo_api.c peerinfo.h | ||
15 | libgnunetpeerinfo_la_LIBADD = \ | ||
16 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
17 | $(top_builddir)/src/util/libgnunetutil.la | ||
18 | libgnunetpeerinfo_la_LDFLAGS = \ | ||
19 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
20 | -version-info 0:0:0 | ||
21 | |||
22 | |||
23 | bin_PROGRAMS = \ | ||
24 | gnunet-peerinfo \ | ||
25 | gnunet-service-peerinfo | ||
26 | |||
27 | gnunet_peerinfo_SOURCES = \ | ||
28 | gnunet-peerinfo.c | ||
29 | gnunet_peerinfo_LDADD = \ | ||
30 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ | ||
31 | $(top_builddir)/src/util/libgnunetutil.la | ||
32 | |||
33 | gnunet_service_peerinfo_SOURCES = \ | ||
34 | gnunet-service-peerinfo.c | ||
35 | gnunet_service_peerinfo_LDADD = \ | ||
36 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
37 | $(top_builddir)/src/util/libgnunetutil.la | ||
38 | |||
39 | |||
40 | check_PROGRAMS = \ | ||
41 | test_peerinfo_api | ||
42 | |||
43 | TESTS = $(check_PROGRAMS) # $(check_SCRIPTS) | ||
44 | |||
45 | test_peerinfo_api_SOURCES = \ | ||
46 | test_peerinfo_api.c | ||
47 | test_peerinfo_api_LDADD = \ | ||
48 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
49 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ | ||
50 | $(top_builddir)/src/util/libgnunetutil.la | ||
51 | |||
52 | EXTRA_DIST = \ | ||
53 | test_peerinfo_api_data.conf | ||
54 | |||
55 | #check_SCRIPTS = \ | ||
56 | # test_gnunet_peerinfo.sh | ||