pkgcfg_DATA = \
dns.conf
-if HAVE_SUDO
-SUDO_OR_DOAS_BINARY= $(SUDO_BINARY)
-else
-if HAVE_DOAS_BINARY
-SUDO_OR_DOAS_BINARY= $(DOAS_BINARY)
-endif
-endif
-
if LINUX
HIJACKBIN = gnunet-helper-dns
-install-exec-hook:
- chown root $(DESTDIR)$(libexecdir)/gnunt-helper-dns
- chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
- chmod 4750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns
- chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
- chown gnunet:$(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
- chmod 2750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns
-else
-install-exec-hook:
endif
lib_LTLIBRARIES = \
libgnunetdns_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la $(XLIB)
libgnunetdns_la_LDFLAGS = \
+ $(GN_LIBINTL) \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
$(top_builddir)/src/block/libgnunetblockgroup.la \
$(top_builddir)/src/util/libgnunetutil.la
libgnunet_plugin_block_dns_la_LDFLAGS = \
+ $(GN_LIBINTL) \
$(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)