aboutsummaryrefslogtreecommitdiff
path: root/src/pt
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2019-08-27 14:29:17 -0500
committerDavid Barksdale <amatus@amat.us>2019-08-27 14:29:17 -0500
commit53fd26b7e0deef386aeb207bfc1e3f7c00a1f775 (patch)
treedb4ed21ae7fb6677b7f7092f529175a76e3d4f6b /src/pt
parentba2cae9617e32bf789001415cd787f50af8b3ce9 (diff)
downloadgnunet-53fd26b7e0deef386aeb207bfc1e3f7c00a1f775.tar.gz
gnunet-53fd26b7e0deef386aeb207bfc1e3f7c00a1f775.zip
Use pkg-config to check for MHD
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/Makefile.am25
1 files changed, 10 insertions, 15 deletions
diff --git a/src/pt/Makefile.am b/src/pt/Makefile.am
index 188387c0c..1d94a3429 100644
--- a/src/pt/Makefile.am
+++ b/src/pt/Makefile.am
@@ -93,47 +93,42 @@ EXTRA_DIST = \
93 93
94test_gns_vpn_SOURCES = \ 94test_gns_vpn_SOURCES = \
95 test_gns_vpn.c 95 test_gns_vpn.c
96test_gns_vpn_LDADD = -lmicrohttpd $(LIB_GNURL) \ 96test_gns_vpn_LDADD = $(MHD_LIBS) $(LIB_GNURL) \
97 $(top_builddir)/src/namestore/libgnunetnamestore.la \ 97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
98 $(top_builddir)/src/identity/libgnunetidentity.la \ 98 $(top_builddir)/src/identity/libgnunetidentity.la \
99 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ 99 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \ 100 $(top_builddir)/src/testing/libgnunettesting.la \
101 $(top_builddir)/src/util/libgnunetutil.la 101 $(top_builddir)/src/util/libgnunetutil.la
102test_gns_vpn_CPPFLAGS = \ 102test_gns_vpn_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS)
103 $(CPP_GNURL) $(AM_CPPFLAGS)
104 103
105test_gnunet_vpn_4_over_SOURCES = \ 104test_gnunet_vpn_4_over_SOURCES = \
106 test_gnunet_vpn.c 105 test_gnunet_vpn.c
107test_gnunet_vpn_4_over_LDADD = -lmicrohttpd $(LIB_GNURL) \ 106test_gnunet_vpn_4_over_LDADD = $(MHD_LIBS) $(LIB_GNURL) \
108 $(top_builddir)/src/vpn/libgnunetvpn.la \ 107 $(top_builddir)/src/vpn/libgnunetvpn.la \
109 $(top_builddir)/src/testing/libgnunettesting.la \ 108 $(top_builddir)/src/testing/libgnunettesting.la \
110 $(top_builddir)/src/util/libgnunetutil.la 109 $(top_builddir)/src/util/libgnunetutil.la
111test_gnunet_vpn_4_over_CPPFLAGS = \ 110test_gnunet_vpn_4_over_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS)
112 $(LIB_GNURL) $(AM_CPPFLAGS)
113 111
114test_gnunet_vpn_6_over_SOURCES = \ 112test_gnunet_vpn_6_over_SOURCES = \
115 test_gnunet_vpn.c 113 test_gnunet_vpn.c
116test_gnunet_vpn_6_over_LDADD = -lmicrohttpd $(LIB_GNURL) \ 114test_gnunet_vpn_6_over_LDADD = $(MHD_LIBS) $(LIB_GNURL) \
117 $(top_builddir)/src/vpn/libgnunetvpn.la \ 115 $(top_builddir)/src/vpn/libgnunetvpn.la \
118 $(top_builddir)/src/testing/libgnunettesting.la \ 116 $(top_builddir)/src/testing/libgnunettesting.la \
119 $(top_builddir)/src/util/libgnunetutil.la 117 $(top_builddir)/src/util/libgnunetutil.la
120test_gnunet_vpn_6_over_CPPFLAGS = \ 118test_gnunet_vpn_6_over_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS)
121 $(CPP_GNURL) $(AM_CPPFLAGS)
122 119
123test_gnunet_vpn_4_to_6_SOURCES = \ 120test_gnunet_vpn_4_to_6_SOURCES = \
124 test_gnunet_vpn.c 121 test_gnunet_vpn.c
125test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd $(LIB_GNURL) \ 122test_gnunet_vpn_4_to_6_LDADD = $(MHD_LIBS) $(LIB_GNURL) \
126 $(top_builddir)/src/vpn/libgnunetvpn.la \ 123 $(top_builddir)/src/vpn/libgnunetvpn.la \
127 $(top_builddir)/src/testing/libgnunettesting.la \ 124 $(top_builddir)/src/testing/libgnunettesting.la \
128 $(top_builddir)/src/util/libgnunetutil.la 125 $(top_builddir)/src/util/libgnunetutil.la
129test_gnunet_vpn_4_to_6_CPPFLAGS = \ 126test_gnunet_vpn_4_to_6_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS)
130 $(CPP_GNURL) $(AM_CPPFLAGS)
131 127
132test_gnunet_vpn_6_to_4_SOURCES = \ 128test_gnunet_vpn_6_to_4_SOURCES = \
133 test_gnunet_vpn.c 129 test_gnunet_vpn.c
134test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd $(LIB_GNURL) \ 130test_gnunet_vpn_6_to_4_LDADD = $(MHD_LIBS) $(LIB_GNURL) \
135 $(top_builddir)/src/vpn/libgnunetvpn.la \ 131 $(top_builddir)/src/vpn/libgnunetvpn.la \
136 $(top_builddir)/src/testing/libgnunettesting.la \ 132 $(top_builddir)/src/testing/libgnunettesting.la \
137 $(top_builddir)/src/util/libgnunetutil.la 133 $(top_builddir)/src/util/libgnunetutil.la
138test_gnunet_vpn_6_to_4_CPPFLAGS = \ 134test_gnunet_vpn_6_to_4_CFLAGS = $(MHD_CFLAGS) $(CPP_GNURL) $(AM_CFLAGS)
139 $(CPP_GNURL) $(AM_CPPFLAGS)