* Makefile.in (SLIBS, SDEF, S_GLUE, COMERR_GLUE, PROF_GLUE, SGLUE): New
authorKen Raeburn <raeburn@mit.edu>
Fri, 18 Jun 2004 23:36:57 +0000 (23:36 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 18 Jun 2004 23:36:57 +0000 (23:36 +0000)
commit3a0d951baf94470687a3e1b88a14301273ad1a9d
tree85c7e33975e64ef293d48dc25429125cc3da7368
parent03de8628bef522ed63e86c5b3be0e8b3382dceb2
* Makefile.in (SLIBS, SDEF, S_GLUE, COMERR_GLUE, PROF_GLUE, SGLUE): New
variables.
(NO_GLUE): Deleted.
(CGLUE, PGLUE): Use new separate glue files instead of no_glue.
(SRES) [WIN32]: New variable.
($(SRES), $(SLIB)) [WIN32]: New targets.
($(CLIB), $(PLIB), $(KLIB), $(GLIB)) [WIN32]: Depend on and link against
 $(SLIB) too.
($(SDEF)): New target.  Generate Windows export list from common symbol list.
($(COMERR_GLUE), $(PROF_GLUE), $(S_GLUE)): New targets.

* win_glue.c (control): Reference add/remove_error_table only if building for
krb4 library.  Add calls to library init/fini functions for other libraries.
For support library, also call a hook function on DLL_THREAD_DETACH.  If no
recognized library-specific macro is defined, don't compile.
(DllMain): Do call control() on DLL_THREAD_DETACH.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16487 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/ChangeLog
src/lib/Makefile.in
src/lib/win_glue.c