1 1.1 christos include $(top_srcdir)/Makefile.top 2 1.1 christos 3 1.1 christos AM_CPPFLAGS += \ 4 1.1 christos -I$(top_builddir)/include \ 5 1.1 christos $(LIBISC_CFLAGS) \ 6 1.1 christos $(LIBDNS_CFLAGS) \ 7 1.1 christos $(LIBNS_CFLAGS) \ 8 1.1 christos $(LIBISCCC_CFLAGS) \ 9 1.1 christos $(LIBISCCFG_CFLAGS) \ 10 1.1 christos $(OPENSSL_CFLAGS) \ 11 1.1 christos $(LIBCAP_CFLAGS) \ 12 1.1 christos $(LMDB_CFLAGS) \ 13 1.1 christos $(MAXMINDDB_CFLAGS) \ 14 1.1 christos $(DNSTAP_CFLAGS) \ 15 1.1 christos $(LIBUV_CFLAGS) \ 16 1.1 christos $(ZLIB_CFLAGS) 17 1.1 christos 18 1.1 christos if HAVE_JSON_C 19 1.1 christos AM_CPPFLAGS += \ 20 1.1 christos $(JSON_C_CFLAGS) 21 1.1 christos endif HAVE_JSON_C 22 1.1 christos 23 1.1 christos if HAVE_LIBNGHTTP2 24 1.1 christos AM_CPPFLAGS += \ 25 1.1 christos $(LIBNGHTTP2_CFLAGS) 26 1.1 christos endif HAVE_LIBNGHTTP2 27 1.1 christos 28 1.1 christos if HAVE_LIBXML2 29 1.1 christos AM_CPPFLAGS += \ 30 1.1 christos $(LIBXML2_CFLAGS) 31 1.1 christos endif HAVE_LIBXML2 32 1.1 christos 33 1.1 christos AM_CPPFLAGS += \ 34 1.1 christos -DNAMED_LOCALSTATEDIR=\"${localstatedir}\" \ 35 1.1 christos -DNAMED_SYSCONFDIR=\"${sysconfdir}\" 36 1.1 christos 37 1.1 christos sbin_PROGRAMS = named 38 1.1 christos 39 1.1 christos nodist_named_SOURCES = xsl.c 40 1.1.1.2 christos BUILT_SOURCES += xsl.c 41 1.1.1.2 christos CLEANFILES += xsl.c 42 1.1 christos 43 1.1 christos EXTRA_DIST = bind9.xsl 44 1.1 christos 45 1.1 christos xsl.c: bind9.xsl Makefile 46 1.1 christos (echo 'const char xslmsg[] =' && \ 47 1.1 christos $(SED) -e 's,\",\\\",g' \ 48 1.1 christos -e 's,^,\",' \ 49 1.1 christos -e 's,$$,\\n\",' && \ 50 1.1 christos echo ";") \ 51 1.1 christos < "${srcdir}/bind9.xsl" > $@ 52 1.1 christos 53 1.1 christos named_SOURCES = \ 54 1.1 christos builtin.c \ 55 1.1 christos config.c \ 56 1.1 christos control.c \ 57 1.1 christos controlconf.c \ 58 1.1 christos dlz_dlopen_driver.c \ 59 1.1 christos fuzz.c \ 60 1.1 christos log.c \ 61 1.1 christos logconf.c \ 62 1.1 christos main.c \ 63 1.1 christos os.c \ 64 1.1 christos server.c \ 65 1.1 christos statschannel.c \ 66 1.1 christos tkeyconf.c \ 67 1.1 christos transportconf.c \ 68 1.1 christos tsigconf.c \ 69 1.1 christos zoneconf.c \ 70 1.1 christos include/dlz/dlz_dlopen_driver.h \ 71 1.1 christos include/named/builtin.h \ 72 1.1 christos include/named/config.h \ 73 1.1 christos include/named/control.h \ 74 1.1 christos include/named/fuzz.h \ 75 1.1 christos include/named/geoip.h \ 76 1.1 christos include/named/globals.h \ 77 1.1 christos include/named/log.h \ 78 1.1 christos include/named/logconf.h \ 79 1.1 christos include/named/main.h \ 80 1.1 christos include/named/os.h \ 81 1.1 christos include/named/server.h \ 82 1.1 christos include/named/smf_globals.h \ 83 1.1 christos include/named/statschannel.h \ 84 1.1 christos include/named/tkeyconf.h \ 85 1.1 christos include/named/transportconf.h \ 86 1.1 christos include/named/tsigconf.h \ 87 1.1 christos include/named/types.h \ 88 1.1 christos include/named/zoneconf.h \ 89 1.1 christos xsl_p.h 90 1.1 christos 91 1.1 christos if HAVE_GEOIP2 92 1.1 christos AM_CPPFLAGS += \ 93 1.1 christos -DMAXMINDDB_PREFIX=\"@MAXMINDDB_PREFIX@\" 94 1.1 christos named_SOURCES += \ 95 1.1 christos geoip.c 96 1.1 christos endif 97 1.1 christos 98 1.1 christos named_LDADD = \ 99 1.1 christos $(LIBISC_LIBS) \ 100 1.1 christos $(LIBDNS_LIBS) \ 101 1.1 christos $(LIBNS_LIBS) \ 102 1.1 christos $(LIBISCCC_LIBS) \ 103 1.1 christos $(LIBISCCFG_LIBS) \ 104 1.1 christos $(OPENSSL_LIBS) \ 105 1.1 christos $(LIBCAP_LIBS) \ 106 1.1 christos $(LMDB_LIBS) \ 107 1.1 christos $(MAXMINDDB_LIBS) \ 108 1.1 christos $(DNSTAP_LIBS) \ 109 1.1 christos $(LIBUV_LIBS) \ 110 1.1 christos $(ZLIB_LIBS) 111 1.1 christos 112 1.1 christos if HAVE_JSON_C 113 1.1 christos named_LDADD += \ 114 1.1 christos $(JSON_C_LIBS) 115 1.1 christos endif HAVE_JSON_C 116 1.1 christos 117 1.1 christos if HAVE_LIBNGHTTP2 118 1.1 christos named_LDADD += \ 119 1.1 christos $(LIBNGHTTP2_LIBS) 120 1.1 christos endif HAVE_LIBNGHTTP2 121 1.1.1.2 christos 122 1.1.1.2 christos if HAVE_LIBXML2 123 1.1.1.2 christos named_LDADD += \ 124 1.1.1.2 christos $(LIBXML2_LIBS) 125 1.1.1.2 christos endif HAVE_LIBXML2 126