blob: 02a2b139d6ce4009463263f76b37acad592c6f97 (
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
|
INCLUDES = -I$(top_srcdir)/src/include
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
endif
if USE_COVERAGE
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
lib_LTLIBRARIES = libgnunetupnp.la
libgnunetupnp_la_SOURCES = \
upnp.c upnp.h \
upnp_ip.c upnp_ip.h \
upnp_util.c upnp_util.h \
upnp_xmlnode.c upnp_xmlnode.h
libgnunetupnp_la_CFLAGS = \
-I$(top_scrdir)/include \
@LIBCURL_CPPFLAGS@ @XML_CPPFLAGS@
libgnunetupnp_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL) @EXT_LIBS@ @XML_LIBS@ @LIBCURL@
libgnunetupnp_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) $(WINFLAGS) \
-version-info 0:0:0
bin_PROGRAMS = \
gnunet-upnp \
gnunet-service-upnp
gnunet_upnp_SOURCES = \
gnunet-upnp.c
gnunet_upnp_LDADD = \
$(top_builddir)/src/upnp/libgnunetupnp.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
gnunet_service_upnp_SOURCES = \
gnunet-service-upnp.c
gnunet_service_upnp_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
check_PROGRAMS = \
test_upnp
TESTS = $(check_PROGRAMS)
test_upnp_SOURCES = \
test_upnp.c
test_upnp_LDADD = \
$(top_builddir)/src/transport/libgnunetupnp.la \
$(top_builddir)/src/util/libgnunetutil.la
# EXTRA_DIST = test_upnp_data.conf
|