1 1.1 elric ######################################################################## 2 1.1 elric # 3 1.1.1.3 christos # Copyright (c) 2009 - 2016, Secure Endpoints Inc. 4 1.1 elric # All rights reserved. 5 1.1 elric # 6 1.1 elric # Redistribution and use in source and binary forms, with or without 7 1.1 elric # modification, are permitted provided that the following conditions 8 1.1 elric # are met: 9 1.1 elric # 10 1.1 elric # - Redistributions of source code must retain the above copyright 11 1.1 elric # notice, this list of conditions and the following disclaimer. 12 1.1 elric # 13 1.1 elric # - Redistributions in binary form must reproduce the above copyright 14 1.1 elric # notice, this list of conditions and the following disclaimer in 15 1.1 elric # the documentation and/or other materials provided with the 16 1.1 elric # distribution. 17 1.1 elric # 18 1.1 elric # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 1.1 elric # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 1.1 elric # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 1.1 elric # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 1.1 elric # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 1.1 elric # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 1.1 elric # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 1.1 elric # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 26 1.1 elric # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 1.1 elric # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 28 1.1 elric # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 1.1 elric # POSSIBILITY OF SUCH DAMAGE. 30 1.1 elric # 31 1.1 elric 32 1.1 elric RELDIR=lib\krb5 33 1.1 elric 34 1.1 elric !include ../../windows/NTMakefile.w32 35 1.1 elric 36 1.1 elric libkrb5_OBJS = \ 37 1.1 elric $(OBJ)\acache.obj \ 38 1.1 elric $(OBJ)\acl.obj \ 39 1.1 elric $(OBJ)\add_et_list.obj \ 40 1.1 elric $(OBJ)\addr_families.obj \ 41 1.1 elric $(OBJ)\aname_to_localname.obj \ 42 1.1 elric $(OBJ)\appdefault.obj \ 43 1.1 elric $(OBJ)\asn1_glue.obj \ 44 1.1 elric $(OBJ)\auth_context.obj \ 45 1.1 elric $(OBJ)\build_ap_req.obj \ 46 1.1 elric $(OBJ)\build_auth.obj \ 47 1.1 elric $(OBJ)\cache.obj \ 48 1.1 elric $(OBJ)\changepw.obj \ 49 1.1 elric $(OBJ)\codec.obj \ 50 1.1 elric $(OBJ)\config_file.obj \ 51 1.1 elric $(OBJ)\config_reg.obj \ 52 1.1 elric $(OBJ)\constants.obj \ 53 1.1 elric $(OBJ)\context.obj \ 54 1.1.1.3 christos $(OBJ)\convert_creds.obj \ 55 1.1 elric $(OBJ)\copy_host_realm.obj \ 56 1.1 elric $(OBJ)\crc.obj \ 57 1.1 elric $(OBJ)\creds.obj \ 58 1.1 elric $(OBJ)\crypto.obj \ 59 1.1.1.3 christos $(OBJ)\crypto-aes-sha1.obj \ 60 1.1.1.3 christos $(OBJ)\crypto-aes-sha2.obj \ 61 1.1 elric $(OBJ)\crypto-algs.obj \ 62 1.1 elric $(OBJ)\crypto-arcfour.obj \ 63 1.1 elric $(OBJ)\crypto-des-common.obj \ 64 1.1 elric $(OBJ)\crypto-des.obj \ 65 1.1 elric $(OBJ)\crypto-des3.obj \ 66 1.1 elric $(OBJ)\crypto-evp.obj \ 67 1.1 elric $(OBJ)\crypto-null.obj \ 68 1.1 elric $(OBJ)\crypto-pk.obj \ 69 1.1 elric $(OBJ)\crypto-rand.obj \ 70 1.1 elric $(OBJ)\data.obj \ 71 1.1.1.3 christos $(OBJ)\dcache.obj \ 72 1.1.1.3 christos $(OBJ)\db_plugin.obj \ 73 1.1 elric $(OBJ)\deprecated.obj \ 74 1.1 elric $(OBJ)\digest.obj \ 75 1.1 elric $(OBJ)\dll.obj \ 76 1.1 elric $(OBJ)\eai_to_heim_errno.obj \ 77 1.1.1.3 christos $(OBJ)\enomem.obj \ 78 1.1 elric $(OBJ)\error_string.obj \ 79 1.1 elric $(OBJ)\expand_hostname.obj \ 80 1.1 elric $(OBJ)\expand_path.obj \ 81 1.1.1.3 christos $(OBJ)\fast.obj \ 82 1.1 elric $(OBJ)\fcache.obj \ 83 1.1 elric $(OBJ)\free.obj \ 84 1.1 elric $(OBJ)\free_host_realm.obj \ 85 1.1 elric $(OBJ)\generate_seq_number.obj \ 86 1.1 elric $(OBJ)\generate_subkey.obj \ 87 1.1 elric $(OBJ)\get_addrs.obj \ 88 1.1 elric $(OBJ)\get_cred.obj \ 89 1.1 elric $(OBJ)\get_default_principal.obj \ 90 1.1 elric $(OBJ)\get_default_realm.obj \ 91 1.1 elric $(OBJ)\get_for_creds.obj \ 92 1.1 elric $(OBJ)\get_host_realm.obj \ 93 1.1 elric $(OBJ)\get_in_tkt.obj \ 94 1.1 elric $(OBJ)\get_port.obj \ 95 1.1 elric $(OBJ)\init_creds.obj \ 96 1.1 elric $(OBJ)\init_creds_pw.obj \ 97 1.1 elric $(OBJ)\kcm.obj \ 98 1.1 elric $(OBJ)\keyblock.obj \ 99 1.1 elric $(OBJ)\keytab.obj \ 100 1.1 elric $(OBJ)\keytab_any.obj \ 101 1.1 elric $(OBJ)\keytab_file.obj \ 102 1.1 elric $(OBJ)\keytab_keyfile.obj \ 103 1.1 elric $(OBJ)\keytab_memory.obj \ 104 1.1 elric $(OBJ)\krbhst.obj \ 105 1.1 elric $(OBJ)\kuserok.obj \ 106 1.1 elric $(OBJ)\log.obj \ 107 1.1 elric $(OBJ)\mcache.obj \ 108 1.1 elric $(OBJ)\misc.obj \ 109 1.1 elric $(OBJ)\mit_glue.obj \ 110 1.1 elric $(OBJ)\mk_error.obj \ 111 1.1 elric $(OBJ)\mk_priv.obj \ 112 1.1 elric $(OBJ)\mk_rep.obj \ 113 1.1 elric $(OBJ)\mk_req.obj \ 114 1.1 elric $(OBJ)\mk_req_ext.obj \ 115 1.1 elric $(OBJ)\mk_safe.obj \ 116 1.1 elric $(OBJ)\net_read.obj \ 117 1.1 elric $(OBJ)\net_write.obj \ 118 1.1 elric $(OBJ)\n-fold.obj \ 119 1.1 elric $(OBJ)\pac.obj \ 120 1.1 elric $(OBJ)\padata.obj \ 121 1.1.1.3 christos $(OBJ)\pcache.obj \ 122 1.1 elric $(OBJ)\pkinit.obj \ 123 1.1.1.3 christos $(OBJ)\pkinit-ec.obj \ 124 1.1.1.3 christos $(OBJ)\plugin.obj \ 125 1.1 elric $(OBJ)\principal.obj \ 126 1.1 elric $(OBJ)\prog_setup.obj \ 127 1.1 elric $(OBJ)\prompter_posix.obj \ 128 1.1 elric $(OBJ)\rd_cred.obj \ 129 1.1 elric $(OBJ)\rd_error.obj \ 130 1.1 elric $(OBJ)\rd_priv.obj \ 131 1.1 elric $(OBJ)\rd_rep.obj \ 132 1.1 elric $(OBJ)\rd_req.obj \ 133 1.1 elric $(OBJ)\rd_safe.obj \ 134 1.1 elric $(OBJ)\read_message.obj \ 135 1.1 elric $(OBJ)\recvauth.obj \ 136 1.1 elric $(OBJ)\replay.obj \ 137 1.1.1.3 christos $(OBJ)\salt-aes-sha1.obj \ 138 1.1.1.3 christos $(OBJ)\salt-aes-sha2.obj \ 139 1.1 elric $(OBJ)\salt-arcfour.obj \ 140 1.1 elric $(OBJ)\salt-des.obj \ 141 1.1 elric $(OBJ)\salt-des3.obj \ 142 1.1 elric $(OBJ)\salt.obj \ 143 1.1 elric $(OBJ)\scache.obj \ 144 1.1 elric $(OBJ)\send_to_kdc.obj \ 145 1.1 elric $(OBJ)\sendauth.obj \ 146 1.1 elric $(OBJ)\set_default_realm.obj \ 147 1.1 elric $(OBJ)\sock_principal.obj \ 148 1.1.1.3 christos $(OBJ)\sp800-108-kdf.obj \ 149 1.1 elric $(OBJ)\store.obj \ 150 1.1 elric $(OBJ)\store-int.obj \ 151 1.1 elric $(OBJ)\store_emem.obj \ 152 1.1 elric $(OBJ)\store_fd.obj \ 153 1.1 elric $(OBJ)\store_mem.obj \ 154 1.1.1.3 christos $(OBJ)\store_sock.obj \ 155 1.1 elric $(OBJ)\ticket.obj \ 156 1.1 elric $(OBJ)\time.obj \ 157 1.1 elric $(OBJ)\transited.obj \ 158 1.1 elric $(OBJ)\verify_init.obj \ 159 1.1 elric $(OBJ)\verify_user.obj \ 160 1.1 elric $(OBJ)\version.obj \ 161 1.1 elric $(OBJ)\warn.obj \ 162 1.1 elric $(OBJ)\write_message.obj 163 1.1 elric 164 1.1 elric libkrb5_gen_OBJS= \ 165 1.1 elric $(OBJ)\krb5_err.obj \ 166 1.1 elric $(OBJ)\krb_err.obj \ 167 1.1 elric $(OBJ)\heim_err.obj \ 168 1.1 elric $(OBJ)\k524_err.obj 169 1.1 elric 170 1.1 elric INCFILES= \ 171 1.1 elric $(INCDIR)\heim_err.h \ 172 1.1 elric $(INCDIR)\k524_err.h \ 173 1.1.1.2 pettai $(INCDIR)\kcm.h \ 174 1.1 elric $(INCDIR)\krb_err.h \ 175 1.1 elric $(INCDIR)\krb5.h \ 176 1.1 elric $(INCDIR)\krb5_ccapi.h \ 177 1.1 elric $(INCDIR)\krb5_err.h \ 178 1.1 elric $(INCDIR)\krb5_locl.h \ 179 1.1 elric $(INCDIR)\krb5-protos.h \ 180 1.1 elric $(INCDIR)\krb5-private.h \ 181 1.1 elric $(INCDIR)\krb5-v4compat.h \ 182 1.1 elric $(INCDIR)\crypto.h 183 1.1 elric 184 1.1 elric all:: $(INCFILES) 185 1.1 elric 186 1.1 elric clean:: 187 1.1 elric -$(RM) $(INCFILES) 188 1.1 elric 189 1.1 elric dist_libkrb5_la_SOURCES = \ 190 1.1 elric acache.c \ 191 1.1 elric acl.c \ 192 1.1 elric add_et_list.c \ 193 1.1 elric addr_families.c \ 194 1.1 elric aname_to_localname.c \ 195 1.1 elric appdefault.c \ 196 1.1 elric asn1_glue.c \ 197 1.1 elric auth_context.c \ 198 1.1 elric build_ap_req.c \ 199 1.1 elric build_auth.c \ 200 1.1 elric cache.c \ 201 1.1 elric changepw.c \ 202 1.1 elric codec.c \ 203 1.1 elric config_file.c \ 204 1.1 elric config_reg.c \ 205 1.1 elric constants.c \ 206 1.1 elric context.c \ 207 1.1 elric copy_host_realm.c \ 208 1.1 elric crc.c \ 209 1.1 elric creds.c \ 210 1.1 elric crypto.c \ 211 1.1 elric crypto.h \ 212 1.1.1.3 christos crypto-aes-sha1.c \ 213 1.1.1.3 christos crypto-aes-sha2.c \ 214 1.1 elric crypto-algs.c \ 215 1.1 elric crypto-arcfour.c \ 216 1.1 elric crypto-des.c \ 217 1.1 elric crypto-des-common.c \ 218 1.1 elric crypto-des3.c \ 219 1.1 elric crypto-evp.c \ 220 1.1 elric crypto-pk.c \ 221 1.1 elric crypto-rand.c \ 222 1.1.1.3 christos db_plugin.c \ 223 1.1 elric doxygen.c \ 224 1.1 elric data.c \ 225 1.1.1.3 christos dcache.c \ 226 1.1 elric deprecated.c \ 227 1.1 elric digest.c \ 228 1.1 elric eai_to_heim_errno.c \ 229 1.1.1.3 christos enomem.c \ 230 1.1 elric error_string.c \ 231 1.1 elric expand_hostname.c \ 232 1.1 elric expand_path.c \ 233 1.1.1.3 christos fast.c \ 234 1.1 elric fcache.c \ 235 1.1 elric free.c \ 236 1.1 elric free_host_realm.c \ 237 1.1 elric generate_seq_number.c \ 238 1.1 elric generate_subkey.c \ 239 1.1 elric get_addrs.c \ 240 1.1 elric get_cred.c \ 241 1.1 elric get_default_principal.c \ 242 1.1 elric get_default_realm.c \ 243 1.1 elric get_for_creds.c \ 244 1.1 elric get_host_realm.c \ 245 1.1 elric get_in_tkt.c \ 246 1.1 elric get_port.c \ 247 1.1 elric init_creds.c \ 248 1.1 elric init_creds_pw.c \ 249 1.1 elric kcm.c \ 250 1.1 elric kcm.h \ 251 1.1 elric keyblock.c \ 252 1.1 elric keytab.c \ 253 1.1 elric keytab_any.c \ 254 1.1 elric keytab_file.c \ 255 1.1 elric keytab_keyfile.c \ 256 1.1 elric keytab_memory.c \ 257 1.1 elric krb5_locl.h \ 258 1.1 elric krb5-v4compat.h \ 259 1.1 elric krbhst.c \ 260 1.1 elric kuserok.c \ 261 1.1 elric log.c \ 262 1.1 elric mcache.c \ 263 1.1 elric misc.c \ 264 1.1 elric mk_error.c \ 265 1.1 elric mk_priv.c \ 266 1.1 elric mk_rep.c \ 267 1.1 elric mk_req.c \ 268 1.1 elric mk_req_ext.c \ 269 1.1 elric mk_safe.c \ 270 1.1 elric mit_glue.c \ 271 1.1 elric net_read.c \ 272 1.1 elric net_write.c \ 273 1.1 elric n-fold.c \ 274 1.1 elric pac.c \ 275 1.1 elric padata.c \ 276 1.1 elric pkinit.c \ 277 1.1.1.3 christos pkinit-ec.c \ 278 1.1.1.3 christos plugin.c \ 279 1.1 elric principal.c \ 280 1.1 elric prog_setup.c \ 281 1.1 elric prompter_posix.c \ 282 1.1 elric rd_cred.c \ 283 1.1 elric rd_error.c \ 284 1.1 elric rd_priv.c \ 285 1.1 elric rd_rep.c \ 286 1.1 elric rd_req.c \ 287 1.1 elric rd_safe.c \ 288 1.1 elric read_message.c \ 289 1.1 elric recvauth.c \ 290 1.1 elric replay.c \ 291 1.1 elric salt.c \ 292 1.1.1.3 christos salt-aes-sha1.c \ 293 1.1.1.3 christos salt-aes-sha2.c \ 294 1.1 elric salt-arcfour.c \ 295 1.1 elric salt-des.c \ 296 1.1 elric salt-des3.c \ 297 1.1 elric scache.c \ 298 1.1 elric send_to_kdc.c \ 299 1.1 elric sendauth.c \ 300 1.1 elric set_default_realm.c \ 301 1.1 elric sock_principal.c \ 302 1.1.1.3 christos sp800-108-kdf.c \ 303 1.1 elric store.c \ 304 1.1 elric store-int.c \ 305 1.1 elric store-int.h \ 306 1.1 elric store_emem.c \ 307 1.1 elric store_fd.c \ 308 1.1 elric store_mem.c \ 309 1.1.1.3 christos store_sock.c \ 310 1.1 elric pcache.c \ 311 1.1 elric plugin.c \ 312 1.1 elric ticket.c \ 313 1.1 elric time.c \ 314 1.1 elric transited.c \ 315 1.1 elric verify_init.c \ 316 1.1 elric verify_user.c \ 317 1.1 elric version.c \ 318 1.1 elric warn.c \ 319 1.1 elric write_message.c 320 1.1 elric 321 1.1 elric $(OBJ)\krb5-protos.h: $(dist_libkrb5_la_SOURCES) 322 1.1 elric $(PERL) ..\..\cf\make-proto.pl -E KRB5_LIB -q -P remove -o $(OBJ)\krb5-protos.h $(dist_libkrb5_la_SOURCES) || $(RM) -f $(OBJ)\krb5-protos.h 323 1.1 elric 324 1.1 elric $(OBJ)\krb5-private.h: $(dist_libkrb5_la_SOURCES) 325 1.1 elric $(PERL) ..\..\cf\make-proto.pl -q -P remove -p $(OBJ)\krb5-private.h $(dist_libkrb5_la_SOURCES) || $(RM) -f $(OBJ)\krb5-private.h 326 1.1 elric 327 1.1 elric $(OBJ)\krb5_err.c $(OBJ)\krb5_err.h: krb5_err.et 328 1.1 elric cd $(OBJ) 329 1.1 elric $(BINDIR)\compile_et.exe $(SRCDIR)\krb5_err.et 330 1.1 elric cd $(SRCDIR) 331 1.1 elric 332 1.1 elric $(OBJ)\krb_err.c $(OBJ)\krb_err.h: krb_err.et 333 1.1 elric cd $(OBJ) 334 1.1 elric $(BINDIR)\compile_et.exe $(SRCDIR)\krb_err.et 335 1.1 elric cd $(SRCDIR) 336 1.1 elric 337 1.1 elric $(OBJ)\heim_err.c $(OBJ)\heim_err.h: heim_err.et 338 1.1 elric cd $(OBJ) 339 1.1 elric $(BINDIR)\compile_et.exe $(SRCDIR)\heim_err.et 340 1.1 elric cd $(SRCDIR) 341 1.1 elric 342 1.1 elric $(OBJ)\k524_err.c $(OBJ)\k524_err.h: k524_err.et 343 1.1 elric cd $(OBJ) 344 1.1 elric $(BINDIR)\compile_et.exe $(SRCDIR)\k524_err.et 345 1.1 elric cd $(SRCDIR) 346 1.1 elric 347 1.1 elric #---------------------------------------------------------------------- 348 1.1 elric # libkrb5 349 1.1 elric 350 1.1.1.3 christos $(LIBKRB5): $(libkrb5_OBJS) $(libkrb5_gen_OBJS) 351 1.1.1.3 christos $(LIBCON_C) -OUT:$@ $(LIBHEIMBASE) $(LIB_openssl_crypto) @<< 352 1.1.1.3 christos $(libkrb5_OBJS: = 353 1.1.1.3 christos ) 354 1.1.1.3 christos $(libkrb5_gen_OBJS: = 355 1.1.1.3 christos ) 356 1.1.1.3 christos << 357 1.1 elric 358 1.1 elric all:: $(LIBKRB5) 359 1.1 elric 360 1.1 elric clean:: 361 1.1 elric -$(RM) $(LIBKRB5) 362 1.1 elric 363 1.1 elric $(OBJ)\libkrb5-exports.def: libkrb5-exports.def.in $(INCDIR)\config.h 364 1.1 elric $(CPREPROCESSOUT) libkrb5-exports.def.in > $@ || $(RM) $@ 365 1.1 elric 366 1.1 elric all:: $(OBJ)\libkrb5-exports.def 367 1.1 elric 368 1.1 elric clean:: 369 1.1 elric -$(RM) $(OBJ)\libkrb5-exports.def 370 1.1 elric 371 1.1 elric #---------------------------------------------------------------------- 372 1.1 elric # librfc3961 373 1.1 elric 374 1.1 elric librfc3961_OBJS=\ 375 1.1 elric $(OBJ)\crc.obj \ 376 1.1 elric $(OBJ)\crypto.obj \ 377 1.1.1.3 christos $(OBJ)\crypto-aes-sha1.obj \ 378 1.1.1.3 christos $(OBJ)\crypto-aes-sha2.obj \ 379 1.1 elric $(OBJ)\crypto-algs.obj \ 380 1.1 elric $(OBJ)\crypto-arcfour.obj \ 381 1.1 elric $(OBJ)\crypto-des.obj \ 382 1.1 elric $(OBJ)\crypto-des-common.obj \ 383 1.1 elric $(OBJ)\crypto-des3.obj \ 384 1.1 elric $(OBJ)\crypto-evp.obj \ 385 1.1 elric $(OBJ)\crypto-null.obj \ 386 1.1 elric $(OBJ)\crypto-pk.obj \ 387 1.1 elric $(OBJ)\crypto-rand.obj \ 388 1.1 elric $(OBJ)\crypto-stubs.obj \ 389 1.1 elric $(OBJ)\data.obj \ 390 1.1 elric $(OBJ)\error_string.obj \ 391 1.1 elric $(OBJ)\keyblock.obj \ 392 1.1 elric $(OBJ)\n-fold.obj \ 393 1.1 elric $(OBJ)\salt.obj \ 394 1.1.1.3 christos $(OBJ)\salt-aes-sha1.obj \ 395 1.1.1.3 christos $(OBJ)\salt-aes-sha2.obj \ 396 1.1 elric $(OBJ)\salt-arcfour.obj \ 397 1.1 elric $(OBJ)\salt-des.obj \ 398 1.1 elric $(OBJ)\salt-des3.obj \ 399 1.1.1.3 christos $(OBJ)\sp800-108-kdf.obj \ 400 1.1 elric $(OBJ)\store-int.obj \ 401 1.1 elric $(OBJ)\warn.obj 402 1.1 elric 403 1.1 elric $(LIBRFC3961): $(librfc3961_OBJS) 404 1.1 elric $(LIBCON) 405 1.1 elric 406 1.1 elric all:: $(LIBRFC3961) 407 1.1 elric 408 1.1 elric clean:: 409 1.1 elric -$(RM) $(LIBRFC3961) 410 1.1 elric 411 1.1 elric #---------------------------------------------------------------------- 412 1.1 elric # Tools 413 1.1 elric 414 1.1 elric all-tools:: $(BINDIR)\verify_krb5_conf.exe 415 1.1 elric 416 1.1 elric clean:: 417 1.1 elric -$(RM) $(BINDIR)\verify_krb5_conf.* 418 1.1 elric 419 1.1 elric $(BINDIR)\verify_krb5_conf.exe: $(OBJ)\verify_krb5_conf.obj $(LIBHEIMDAL) $(LIBROKEN) $(LIBVERS) $(OBJ)\verify_krb5_conf-version.res 420 1.1 elric $(EXECONLINK) 421 1.1 elric $(EXEPREP) 422 1.1 elric 423 1.1 elric {}.c{$(OBJ)}.obj:: 424 1.1 elric $(C2OBJ_P) -DBUILD_KRB5_LIB -DASN1_LIB 425 1.1 elric 426 1.1 elric {$(OBJ)}.c{$(OBJ)}.obj:: 427 1.1 elric $(C2OBJ_P) -DBUILD_KRB5_LIB -DASN1_LIB 428 1.1 elric 429 1.1 elric #---------------------------------------------------------------------- 430 1.1 elric # Tests 431 1.1 elric 432 1.1 elric test:: test-binaries test-files test-run 433 1.1 elric 434 1.1 elric test_binaries = \ 435 1.1 elric $(OBJ)\aes-test.exe \ 436 1.1 elric $(OBJ)\derived-key-test.exe \ 437 1.1 elric $(OBJ)\krbhst-test.exe \ 438 1.1 elric $(OBJ)\n-fold-test.exe \ 439 1.1 elric $(OBJ)\parse-name-test.exe \ 440 1.1.1.3 christos $(OBJ)\pseudo-random-test.exe \ 441 1.1 elric $(OBJ)\store-test.exe \ 442 1.1 elric $(OBJ)\string-to-key-test.exe \ 443 1.1 elric $(OBJ)\test_acl.exe \ 444 1.1 elric $(OBJ)\test_addr.exe \ 445 1.1 elric $(OBJ)\test_alname.exe \ 446 1.1 elric $(OBJ)\test_cc.exe \ 447 1.1 elric $(OBJ)\test_config.exe \ 448 1.1 elric $(OBJ)\test_crypto.exe \ 449 1.1 elric $(OBJ)\test_crypto_wrapping.exe \ 450 1.1 elric $(OBJ)\test_forward.exe \ 451 1.1 elric $(OBJ)\test_get_addrs.exe \ 452 1.1 elric $(OBJ)\test_hostname.exe \ 453 1.1 elric $(OBJ)\test_keytab.exe \ 454 1.1 elric $(OBJ)\test_kuserok.exe \ 455 1.1 elric $(OBJ)\test_mem.exe \ 456 1.1 elric $(OBJ)\test_pac.exe \ 457 1.1 elric $(OBJ)\test_pkinit_dh2key.exe \ 458 1.1 elric $(OBJ)\test_pknistkdf.exe \ 459 1.1 elric $(OBJ)\test_plugin.exe \ 460 1.1 elric $(OBJ)\test_prf.exe \ 461 1.1 elric $(OBJ)\test_princ.exe \ 462 1.1 elric $(OBJ)\test_renew.exe \ 463 1.1 elric $(OBJ)\test_store.exe \ 464 1.1 elric $(OBJ)\test_time.exe \ 465 1.1 elric 466 1.1.1.3 christos test-binaries: $(test_binaries) $(OBJ)\test_rfc3961.exe 467 1.1 elric 468 1.1 elric test-files: $(OBJ)\test_config_strings.out 469 1.1 elric 470 1.1 elric $(OBJ)\test_config_strings.out: test_config_strings.cfg 471 1.1 elric $(CP) $** $@ 472 1.1 elric 473 1.1 elric test-run: 474 1.1 elric cd $(OBJ) 475 1.1.1.3 christos -aes-test.exe 476 1.1.1.3 christos -derived-key-test.exe 477 1.1.1.3 christos -krbhst-test.exe 478 1.1.1.3 christos -n-fold-test.exe 479 1.1.1.3 christos -parse-name-test.exe 480 1.1.1.3 christos -pseudo-random-test.exe 481 1.1.1.3 christos -store-test.exe 482 1.1.1.3 christos -string-to-key-test.exe 483 1.1.1.3 christos -test_acl.exe 484 1.1.1.3 christos -test_addr.exe 485 1.1.1.3 christos # Skip alname due to lack of .k5login and "root" 486 1.1.1.3 christos # -test_alname.exe 487 1.1.1.3 christos -test_cc.exe 488 1.1.1.3 christos -test_config.exe 489 1.1.1.3 christos -test_crypto.exe 490 1.1.1.3 christos -test_crypto_wrapping.exe 491 1.1.1.3 christos # Skip forward due to need for existing hostname 492 1.1.1.3 christos # -test_forward.exe 493 1.1.1.3 christos -test_get_addrs.exe 494 1.1.1.3 christos -test_hostname.exe 495 1.1.1.3 christos -test_keytab.exe 496 1.1.1.3 christos # Skip kuserok requires principal and localname 497 1.1.1.3 christos # -test_kuserok.exe 498 1.1.1.3 christos -test_mem.exe 499 1.1.1.3 christos -test_pac.exe 500 1.1.1.3 christos -test_pkinit_dh2key.exe 501 1.1.1.3 christos -test_pknistkdf.exe 502 1.1.1.3 christos -test_plugin.exe 503 1.1.1.3 christos -test_prf.exe 504 1.1.1.3 christos -test_renew.exe 505 1.1.1.3 christos -test_rfc3961.exe 506 1.1.1.3 christos -test_store.exe 507 1.1.1.3 christos -test_time.exe 508 1.1 elric cd $(SRCDIR) 509 1.1 elric 510 1.1.1.3 christos $(test_binaries): $$(@R).obj $(LIBHEIMDAL) $(LIBVERS) $(LIBROKEN) $(LIBHEIMBASE) 511 1.1 elric $(EXECONLINK) 512 1.1 elric $(EXEPREP_NODIST) 513 1.1 elric 514 1.1.1.3 christos $(OBJ)\test_rfc3961.exe: $(OBJ)\test_rfc3961.obj $(LIBRFC3961) $(LIBHEIMDAL) $(LIBVERS) $(LIBCOMERR) $(LIBROKEN) $(LIBHEIMBASE) 515 1.1 elric $(EXECONLINK) 516 1.1 elric $(EXEPREP_NODIST) 517 1.1 elric 518 1.1 elric $(test_binaries:.exe=.obj): $$(@B).c 519 1.1 elric $(C2OBJ_C) -Fo$@ -Fd$(@D)\ $** -DBlah 520 1.1 elric 521 1.1 elric test-exports: 522 1.1 elric $(PERL) ..\..\cf\w32-check-exported-symbols.pl --vs version-script.map --def libkrb5-exports.def.in 523 1.1 elric 524 1.1 elric test:: test-exports 525