1 1.1 christos include $(top_srcdir)/Makefile.top 2 1.1 christos 3 1.1 christos EXTRA_DIST = . 4 1.1 christos 5 1.1 christos # Source tarballs must not contain configure/build artifacts. 6 1.1 christos dist-hook: 7 1.1 christos git clean -n -x -d | \ 8 1.1 christos grep -v "Makefile.in$$" | \ 9 1.1 christos sed -n "s|^Would remove \(.*\)|$(distdir)/\1|p" | \ 10 1.1 christos xargs -I{} rm -rf "{}" 11 1.1 christos 12 1.1 christos SUBDIRS = dyndb/driver dlzexternal/driver hooks/driver 13 1.1 christos 14 1.1 christos AM_CPPFLAGS += \ 15 1.1 christos $(LIBISC_CFLAGS) 16 1.1 christos 17 1.1 christos LDADD += \ 18 1.1 christos $(LIBISC_LIBS) 19 1.1 christos 20 1.1 christos if HAVE_PERL 21 1.1 christos if HAVE_PYTHON 22 1.1 christos if HAVE_PYTEST 23 1.1 christos 24 1.1 christos noinst_PROGRAMS = \ 25 1.1 christos feature-test \ 26 1.1 christos makejournal \ 27 1.1 christos pipelined/pipequeries \ 28 1.1 christos resolve \ 29 1.1 christos rndc/gencheck \ 30 1.1 christos rpz/dnsrps \ 31 1.1 christos tkey/keycreate \ 32 1.1 christos tkey/keydelete 33 1.1 christos 34 1.1 christos feature_test_CPPFLAGS = \ 35 1.1 christos $(AM_CPPFLAGS) \ 36 1.1 christos $(LIBDNS_CFLAGS) 37 1.1 christos 38 1.1 christos makejournal_CPPFLAGS = \ 39 1.1 christos $(AM_CPPFLAGS) \ 40 1.1 christos $(LIBDNS_CFLAGS) 41 1.1 christos 42 1.1 christos makejournal_LDADD = \ 43 1.1 christos $(LDADD) \ 44 1.1 christos $(LIBDNS_LIBS) 45 1.1 christos 46 1.1 christos pipelined_pipequeries_CPPFLAGS = \ 47 1.1 christos $(AM_CPPFLAGS) \ 48 1.1 christos $(LIBDNS_CFLAGS) 49 1.1 christos 50 1.1 christos pipelined_pipequeries_LDADD = \ 51 1.1 christos $(LDADD) \ 52 1.1 christos $(LIBDNS_LIBS) 53 1.1 christos 54 1.1 christos resolve_CPPFLAGS = \ 55 1.1 christos $(AM_CPPFLAGS) \ 56 1.1 christos $(LIBISC_CFLAGS) \ 57 1.1 christos $(LIBDNS_CFLAGS) \ 58 1.1 christos $(LIBIRS_CFLAGS) 59 1.1 christos 60 1.1 christos resolve_LDADD = $(LIBISC_LIBS) $(LIBIRS_LIBS) $(LIBDNS_LIBS) 61 1.1 christos 62 1.1 christos rpz_dnsrps_CPPFLAGS = \ 63 1.1 christos $(AM_CPPFLAGS) \ 64 1.1 christos $(LIBDNS_CFLAGS) 65 1.1 christos 66 1.1 christos rpz_dnsrps_LDADD = \ 67 1.1 christos $(LDADD) \ 68 1.1 christos $(LIBDNS_LIBS) 69 1.1 christos 70 1.1 christos tkey_keycreate_CPPFLAGS = \ 71 1.1 christos $(AM_CPPFLAGS) \ 72 1.1 christos $(LIBDNS_CFLAGS) 73 1.1 christos 74 1.1 christos tkey_keycreate_LDADD = \ 75 1.1 christos $(LDADD) \ 76 1.1 christos $(LIBDNS_LIBS) 77 1.1 christos 78 1.1 christos tkey_keydelete_CPPFLAGS = \ 79 1.1 christos $(AM_CPPFLAGS) \ 80 1.1 christos $(LIBDNS_CFLAGS) 81 1.1 christos 82 1.1 christos tkey_keydelete_LDADD = \ 83 1.1 christos $(LDADD) \ 84 1.1 christos $(LIBDNS_LIBS) 85 1.1 christos 86 1.1 christos # Longer running tests are listed (and executed) first to take the most 87 1.1 christos # advantage of parallel execution. 88 1.1 christos TESTS = \ 89 1.1 christos rpz \ 90 1.1 christos rpzrecurse \ 91 1.1 christos serve-stale \ 92 1.1 christos timeouts \ 93 1.1 christos upforwd \ 94 1.1 christos acl \ 95 1.1 christos additional \ 96 1.1 christos addzone \ 97 1.1 christos allow-query \ 98 1.1 christos auth \ 99 1.1 christos autosign \ 100 1.1 christos builtin \ 101 1.1 christos cacheclean \ 102 1.1 christos case \ 103 1.1 christos catz \ 104 1.1 christos cds \ 105 1.1 christos chain \ 106 1.1 christos checkconf \ 107 1.1 christos checkds \ 108 1.1 christos checknames \ 109 1.1 christos checkzone \ 110 1.1 christos cookie \ 111 1.1 christos database \ 112 1.1 christos dialup \ 113 1.1 christos digdelv \ 114 1.1 christos dispatch \ 115 1.1 christos dlzexternal \ 116 1.1 christos dns64 \ 117 1.1 christos dnssec \ 118 1.1 christos dnstap \ 119 1.1 christos doth \ 120 1.1 christos dsdigest \ 121 1.1 christos dupsigs \ 122 1.1 christos dyndb \ 123 1.1 christos ecdsa \ 124 1.1 christos eddsa \ 125 1.1 christos ednscompliance \ 126 1.1 christos emptyzones \ 127 1.1 christos enginepkcs11 \ 128 1.1 christos filter-aaaa \ 129 1.1 christos fetchlimit \ 130 1.1 christos formerr \ 131 1.1 christos forward \ 132 1.1 christos geoip2 \ 133 1.1 christos glue \ 134 1.1 christos idna \ 135 1.1 christos include-multiplecfg \ 136 1.1 christos inline \ 137 1.1 christos integrity \ 138 1.1 christos ixfr \ 139 1.1 christos hooks \ 140 1.1 christos host \ 141 1.1 christos journal \ 142 1.1 christos kasp \ 143 1.1 christos keepalive \ 144 1.1 christos keyfromlabel \ 145 1.1 christos keymgr2kasp \ 146 1.1 christos legacy \ 147 1.1 christos limits \ 148 1.1 christos logfileconfig \ 149 1.1 christos masterfile \ 150 1.1 christos masterformat \ 151 1.1 christos metadata \ 152 1.1 christos mirror \ 153 1.1 christos mkeys \ 154 1.1 christos names \ 155 1.1 christos notify \ 156 1.1 christos nsec3 \ 157 1.1 christos nslookup \ 158 1.1 christos nsupdate \ 159 1.1 christos nzd2nzf \ 160 1.1 christos padding \ 161 1.1 christos pending \ 162 1.1 christos pipelined \ 163 1.1 christos qmin \ 164 1.1 christos reclimit \ 165 1.1 christos redirect \ 166 1.1 christos resolver \ 167 1.1 christos rndc \ 168 1.1 christos rootkeysentinel \ 169 1.1 christos rpzextra \ 170 1.1 christos rrchecker \ 171 1.1 christos rrl \ 172 1.1 christos rrsetorder \ 173 1.1 christos rsabigexponent \ 174 1.1 christos runtime \ 175 1.1 christos sfcache \ 176 1.1 christos shutdown \ 177 1.1 christos smartsign \ 178 1.1 christos sortlist \ 179 1.1 christos spf \ 180 1.1 christos staticstub \ 181 1.1 christos statistics \ 182 1.1 christos statschannel \ 183 1.1 christos stress \ 184 1.1 christos stub \ 185 1.1 christos synthfromdnssec \ 186 1.1 christos tcp \ 187 1.1 christos tkey \ 188 1.1 christos tools \ 189 1.1 christos transport-acl \ 190 1.1 christos tsig \ 191 1.1 christos tsiggss \ 192 1.1 christos ttl \ 193 1.1 christos unknown \ 194 1.1 christos verify \ 195 1.1 christos views \ 196 1.1 christos wildcard \ 197 1.1 christos xfer \ 198 1.1 christos xferquota \ 199 1.1 christos zero \ 200 1.1 christos zonechecks 201 1.1 christos 202 1.1 christos else !HAVE_PYTEST 203 1.1 christos check: 204 1.1 christos echo pytest is not available, no tests were ran 205 1.1 christos exit 1 206 1.1 christos endif !HAVE_PYTEST 207 1.1 christos else !HAVE_PYTHON 208 1.1 christos check: 209 1.1 christos echo Python is not available, no tests were ran 210 1.1 christos exit 1 211 1.1 christos endif !HAVE_PYTHON 212 1.1 christos else !HAVE_PERL 213 1.1 christos check: 214 1.1 christos echo Perl is not available, no tests were ran 215 1.1 christos exit 1 216 1.1 christos endif !HAVE_PERL 217 1.1 christos 218 1.1 christos LOG_DRIVER_V = $(LOG_DRIVER_V_@AM_V@) 219 1.1 christos LOG_DRIVER_V_ = $(LOG_DRIVER_V_@AM_DEFAULT_V@) 220 1.1 christos LOG_DRIVER_V_0 = --verbose no 221 1.1 christos LOG_DRIVER_V_1 = --verbose yes 222 1.1 christos 223 1.1 christos LOG_DRIVER = $(srcdir)/custom-test-driver 224 1.1 christos AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V) 225 1.1 christos 226 1.1 christos LOG_COMPILER = $(srcdir)/run.sh 227 1.1 christos 228 1.1 christos test-local: check 229 1.1 christos 230 1.1 christos clean-local:: 231 1.1 christos -find -L . -mindepth 1 -maxdepth 1 -type d -name "*_*" -and -not -name "_common" -exec rm -rf {} \; 232