diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-01 23:00:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-01 23:00:59 +0000 |
commit | 66ffc809472f27d69b9ad7361f8ba29c2674f716 (patch) | |
tree | 609623cb79291939f9cb81a8858853a202dae2ca /src/dns/Makefile.am | |
parent | 131c43b2b18b12e52ff045e51025706802cbd2e2 (diff) | |
download | gnunet-66ffc809472f27d69b9ad7361f8ba29c2674f716.tar.gz gnunet-66ffc809472f27d69b9ad7361f8ba29c2674f716.zip |
-moving DNS code into its own directory
Diffstat (limited to 'src/dns/Makefile.am')
-rw-r--r-- | src/dns/Makefile.am | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/dns/Makefile.am b/src/dns/Makefile.am new file mode 100644 index 000000000..aad1b0f7a --- /dev/null +++ b/src/dns/Makefile.am | |||
@@ -0,0 +1,48 @@ | |||
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 | endif | ||
10 | |||
11 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
12 | |||
13 | plugindir = $(libdir)/gnunet | ||
14 | |||
15 | if LINUX | ||
16 | HIJACKBIN = gnunet-helper-hijack-dns | ||
17 | install-exec-hook: | ||
18 | $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-hijack-dns || true | ||
19 | $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-hijack-dns || true | ||
20 | else | ||
21 | install-exec-hook: | ||
22 | endif | ||
23 | |||
24 | lib_LTLIBRARIES = libgnunetdnsparser.la | ||
25 | |||
26 | bin_PROGRAMS = \ | ||
27 | gnunet-service-dns $(HIJACKBIN) | ||
28 | |||
29 | gnunet_helper_hijack_dns_SOURCES = \ | ||
30 | gnunet-helper-hijack-dns.c | ||
31 | |||
32 | gnunet_service_dns_SOURCES = \ | ||
33 | gnunet-service-dns.c gnunet-service-dns-p.h | ||
34 | gnunet_service_dns_LDADD = \ | ||
35 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
36 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
37 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
38 | $(top_builddir)/src/dht/libgnunetdht.la \ | ||
39 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | ||
40 | $(GN_LIBINTL) -lgnunetdnsparser | ||
41 | |||
42 | |||
43 | libgnunetdnsparser_la_SOURCES = \ | ||
44 | gnunet-dns-parser.c | ||
45 | libgnunetdnsparser_la_LIBADD = \ | ||
46 | $(top_builddir)/src/util/libgnunetutil.la $(XLIB) | ||
47 | libgnunetdnsparser_la_LDFLAGS = \ | ||
48 | $(GN_LIB_LDFLAGS) \ No newline at end of file | ||