Makefile.am revision 1.1.1.3
1include $(top_srcdir)/Makefile.am.common 2 3noinst_DATA = \ 4 an2ln-db.txt \ 5 kdc-tester4.json \ 6 krb5.conf \ 7 krb5-authz.conf \ 8 krb5-authz2.conf \ 9 krb5-canon.conf \ 10 krb5-canon2.conf \ 11 krb5-hdb-mitdb.conf \ 12 krb5-weak.conf \ 13 krb5-pkinit.conf \ 14 krb5-pkinit-win.conf \ 15 krb5-slave2.conf \ 16 krb5-slave.conf 17 18check_SCRIPTS = $(SCRIPT_TESTS) 19 20SCRIPT_TESTS = \ 21 check-authz \ 22 check-canon \ 23 check-cc \ 24 check-delegation \ 25 check-des \ 26 check-digest \ 27 check-fast \ 28 check-kadmin \ 29 check-hdb-mitdb \ 30 check-kdc \ 31 check-kdc-weak \ 32 check-keys \ 33 check-kpasswdd \ 34 check-pkinit \ 35 check-iprop \ 36 check-referral \ 37 check-tester \ 38 check-uu 39 40TESTS = $(SCRIPT_TESTS) 41 42port = 49188 43admport = 49189 44pwport = 49190 45 46if HAVE_DLOPEN 47do_dlopen = -e 's,[@]DLOPEN[@],true,g' 48else 49do_dlopen = -e 's,[@]DLOPEN[@],false,g' 50endif 51 52do_subst = $(heim_verbose)sed $(do_dlopen) \ 53 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \ 54 -e 's,[@]top_srcdir[@],$(top_srcdir),g' \ 55 -e 's,[@]srcdir[@],$(srcdir),g' \ 56 -e 's,[@]port[@],$(port),g' \ 57 -e 's,[@]admport[@],$(admport),g' \ 58 -e 's,[@]pwport[@],$(pwport),g' \ 59 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \ 60 -e 's,[@]top_builddir[@],$(top_builddir),g' \ 61 -e 's,[@]db_type[@],$(db_type),g' \ 62 -e 's,[@]EGREP[@],$(EGREP),g' 63 64chmod = chmod 65 66LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken) 67 68check-authz: check-authz.in Makefile krb5-authz.conf krb5-authz2.conf 69 $(do_subst) < $(srcdir)/check-authz.in > check-authz.tmp && \ 70 $(chmod) +x check-authz.tmp && \ 71 mv check-authz.tmp check-authz 72 73check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf 74 $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp && \ 75 $(chmod) +x check-canon.tmp && \ 76 mv check-canon.tmp check-canon 77 78check-cc: check-cc.in Makefile 79 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp && \ 80 $(chmod) +x check-cc.tmp && \ 81 mv check-cc.tmp check-cc 82 83check-delegation: check-delegation.in Makefile 84 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp && \ 85 $(chmod) +x check-delegation.tmp && \ 86 mv check-delegation.tmp check-delegation 87 88check-des: check-des.in Makefile krb5.conf 89 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp && \ 90 $(chmod) +x check-des.tmp && \ 91 mv check-des.tmp check-des 92 93check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf 94 $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp && \ 95 $(chmod) +x check-hdb-mitdb.tmp && \ 96 mv check-hdb-mitdb.tmp check-hdb-mitdb 97 98check-fast: check-fast.in Makefile 99 $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp && \ 100 $(chmod) +x check-fast.tmp && \ 101 mv check-fast.tmp check-fast 102 103check-kdc: check-kdc.in Makefile 104 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp && \ 105 $(chmod) +x check-kdc.tmp && \ 106 mv check-kdc.tmp check-kdc 107 108check-kdc-weak: check-kdc-weak.in Makefile 109 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp && \ 110 $(chmod) +x check-kdc-weak.tmp && \ 111 mv check-kdc-weak.tmp check-kdc-weak 112 113check-tester: check-tester.in kdc-tester4.json Makefile 114 $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp && \ 115 $(chmod) +x check-tester.tmp && \ 116 mv check-tester.tmp check-tester 117 118check-keys: check-keys.in Makefile 119 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp && \ 120 $(chmod) +x check-keys.tmp && \ 121 mv check-keys.tmp check-keys 122 123check-kinit: check-kinit.in Makefile 124 $(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp && \ 125 $(chmod) +x check-kinit.tmp && \ 126 mv check-kinit.tmp check-kinit 127 128check-kadmin: check-kadmin.in Makefile 129 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp && \ 130 $(chmod) +x check-kadmin.tmp && \ 131 mv check-kadmin.tmp check-kadmin 132 133check-uu: check-uu.in Makefile 134 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp && \ 135 $(chmod) +x check-uu.tmp && \ 136 mv check-uu.tmp check-uu 137 138check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf 139 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp && \ 140 $(chmod) +x check-pkinit.tmp && \ 141 mv check-pkinit.tmp check-pkinit 142 143check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf krb5-slave2.conf 144 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp && \ 145 $(chmod) +x check-iprop.tmp && \ 146 mv check-iprop.tmp check-iprop 147 148check-digest: check-digest.in Makefile 149 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp && \ 150 $(chmod) +x check-digest.tmp && \ 151 mv check-digest.tmp check-digest 152 153check-referral: check-referral.in Makefile 154 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp && \ 155 $(chmod) +x check-referral.tmp && \ 156 mv check-referral.tmp check-referral 157 158check-kpasswdd: check-kpasswdd.in Makefile 159 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp && \ 160 $(chmod) +x check-kpasswdd.tmp && \ 161 mv check-kpasswdd.tmp check-kpasswdd 162 163kdc-tester4.json: kdc-tester4.json.in Makefile 164 $(do_subst) < $(srcdir)/kdc-tester4.json.in > kdc-tester4.json.tmp && \ 165 mv kdc-tester4.json.tmp kdc-tester4.json 166 167krb5.conf: krb5.conf.in Makefile 168 $(do_subst) \ 169 -e 's,[@]WEAK[@],false,g' \ 170 -e 's,[@]dk[@],,g' \ 171 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \ 172 mv krb5.conf.tmp krb5.conf 173 174krb5-authz.conf: krb5-authz.conf.in Makefile 175 $(do_subst) < $(srcdir)/krb5-authz.conf.in > krb5-authz.conf.tmp && \ 176 mv krb5-authz.conf.tmp krb5-authz.conf 177 178krb5-authz2.conf: krb5-authz2.conf.in Makefile 179 $(do_subst) < $(srcdir)/krb5-authz2.conf.in > krb5-authz2.conf.tmp && \ 180 mv krb5-authz2.conf.tmp krb5-authz2.conf 181 182krb5-canon.conf: krb5-canon.conf.in Makefile 183 $(do_subst) \ 184 -e 's,[@]WEAK[@],false,g' \ 185 -e 's,[@]dk[@],,g' \ 186 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp && \ 187 mv krb5-canon.conf.tmp krb5-canon.conf 188 189krb5-canon2.conf: krb5-canon2.conf.in Makefile 190 $(do_subst) \ 191 -e 's,[@]WEAK[@],false,g' \ 192 -e 's,[@]dk[@],,g' \ 193 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp && \ 194 mv krb5-canon2.conf.tmp krb5-canon2.conf 195 196krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile 197 $(do_subst) \ 198 -e 's,[@]WEAK[@],false,g' \ 199 -e 's,[@]dk[@],,g' \ 200 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp && \ 201 mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf 202 203krb5-weak.conf: krb5.conf.in Makefile 204 $(do_subst) \ 205 -e 's,[@]WEAK[@],true,g' \ 206 -e 's,[@]dk[@],default_keys = aes256-cts-hmac-sha1-96:pw-salt arcfour-hmac-md5:pw-salt des3-cbc-sha1:pw-salt des:pw-salt,g' \ 207 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp && \ 208 mv krb5-weak.conf.tmp krb5-weak.conf 209 210krb5-slave.conf: krb5.conf.in Makefile 211 $(do_subst) \ 212 -e 's,[@]WEAK[@],true,g' \ 213 -e 's,[@]dk[@],,g' \ 214 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp && \ 215 mv krb5-slave.conf.tmp krb5-slave.conf 216 217krb5-slave2.conf: krb5.conf.in Makefile 218 $(do_subst) \ 219 -e 's,[@]WEAK[@],true,g' \ 220 -e 's,[@]dk[@],,g' \ 221 -e 's,[@]kdc[@],.slave2,g' < $(srcdir)/krb5.conf.in > krb5-slave2.conf.tmp && \ 222 mv krb5-slave2.conf.tmp krb5-slave2.conf 223 224krb5-pkinit.conf: krb5-pkinit.conf.in Makefile 225 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp && \ 226 mv krb5-pkinit.conf.tmp krb5-pkinit.conf 227 228krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile 229 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp && \ 230 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf 231 232CLEANFILES= \ 233 $(TESTS) \ 234 *.tmp \ 235 acache.krb5 \ 236 barpassword \ 237 ca.crt \ 238 cache.krb5 \ 239 cdigest-reply \ 240 client-cache \ 241 current*.log \ 242 current-db* \ 243 digest-reply \ 244 foopassword \ 245 foopassword.rkpty \ 246 iprop-stats \ 247 iprop.keytab \ 248 ipropd.dumpfile \ 249 kdc-tester4.json \ 250 kdc.crt \ 251 krb5-authz.conf \ 252 krb5-authz2.conf \ 253 krb5-canon.conf \ 254 krb5-canon2.conf \ 255 krb5-cc.conf \ 256 krb5-hdb-mitdb.conf \ 257 krb5-pkinit-win.conf \ 258 krb5-pkinit.conf \ 259 krb5-slave2.conf \ 260 krb5-slave.conf \ 261 krb5-weak.conf \ 262 krb5.conf \ 263 krb5.conf.keys \ 264 leaks-log \ 265 localname \ 266 malloc-log \ 267 malloc-log-master \ 268 malloc-log-slave \ 269 messages.log \ 270 o2cache.krb5 \ 271 o2digest-reply \ 272 ocache.krb5 \ 273 out-log \ 274 pkinit.crt \ 275 pkinit2.crt \ 276 pkinit3.crt \ 277 pkinit4.crt \ 278 req-kdc.der \ 279 req-pkinit.der \ 280 req-pkinit2.der \ 281 s2digest-reply \ 282 sdigest-init \ 283 sdigest-reply \ 284 server.keytab \ 285 signal \ 286 tempfile \ 287 test-rc-file.rc \ 288 uuserver.log 289 290EXTRA_DIST = \ 291 NTMakefile \ 292 an2ln-db.txt \ 293 check-authz.in \ 294 check-canon.in \ 295 check-cc.in \ 296 check-delegation.in \ 297 check-des.in \ 298 check-digest.in \ 299 check-fast.in \ 300 check-iprop.in \ 301 check-kadmin.in \ 302 check-kinit.in \ 303 check-hdb-mitdb.in \ 304 check-kdc.in \ 305 check-kdc-weak.in \ 306 check-keys.in \ 307 check-kpasswdd.in \ 308 check-pkinit.in \ 309 check-referral.in \ 310 check-tester.in \ 311 check-uu.in \ 312 donotexists.txt \ 313 hdb-mitdb \ 314 hdb-mitdb.kadm5 \ 315 hdb-mitdb.mkey \ 316 heimdal.acl \ 317 iprop-acl \ 318 kdc-tester1.json \ 319 kdc-tester2.json \ 320 kdc-tester3.json \ 321 kdc-tester4.json.in \ 322 krb5-pkinit.conf.in \ 323 krb5.conf.in \ 324 krb5-authz.conf.in \ 325 krb5-authz2.conf.in \ 326 krb5-canon.conf.in \ 327 krb5-canon2.conf.in \ 328 krb5-hdb-mitdb.conf.in \ 329 krb5.conf.keys.in \ 330 k5login/foo \ 331 ntlm-user-file.txt \ 332 leaks-kill.sh \ 333 pki-mapping \ 334 uuserver.txt \ 335 wait-kdc.sh 336