# Windows stuff to make krb5 and gssapi DLLs.
CLIBS = $(BUILDTOP)\util\et\comerr.lib
+PLIBS = $(BUILDTOP)\util\profile\profile.lib
KLIBS = krb5\krb5.lib crypto\crypto.lib \
$(BUILDTOP)\util\profile\profile.lib des425\des425.lib
GLIBS = gssapi\gssapi.lib
##WIN16##CDEF = comerr16.def
##WIN32##CDEF = comerr32.def
+##WIN16##PDEF = xpprof16.def
+##WIN32##PDEF = xpprof32.def
##WIN16##KDEF = krb5_16.def
##WIN32##KDEF = krb5_32.def
##WIN16##KRB5RC = krb5.rc
##WIN32## link $(WINDLLFLAGS) /def:$(CDEF) /out:$*.dll \
##WIN32## no_glue.obj version.res $(CLIBS) $(WINLIBS)
-$(KLIB): $(KLIBS) $(CLIB) $(WLIB) $(KDEF) k5_glue.obj $(KRB5RC) $(CCACHE_LIB)
+$(PLIB): $(PLIBS) $(WLIB) $(PDEF) no_glue.obj
+##WIN16## link /co /seg:400 /noe /nod /nol \
+##WIN16## no_glue, $*.dll, $*.map, $(PLIBS) $(WINLIBS), $(PDEF)
+##WIN16## copy $(VERSIONRC) version.rc
+##WIN16## rc /nologo /p /k $(CPPFLAGS) -DPROF_LIB -D_MSDOS_ -DRES_ONLY version.rc $*.dll
+##WIN16## implib /nologo $@ $*.dll
+##WIN32## rc $(CPPFLAGS) -DPROF_LIB -D_WIN32 -D_MSDOS_ -DRES_ONLY -fo version.res $(VERSIONRC)
+##WIN32## link $(WINDLLFLAGS) /def:$(PDEF) /out:$*.dll \
+##WIN32## no_glue.obj version.res $(PLIBS) $(WINLIBS)
+
+$(KLIB): $(KLIBS) $(CLIB) $(PLIB) $(WLIB) $(KDEF) k5_glue.obj $(KRB5RC) $(CCACHE_LIB)
##WIN16## link /co /seg:400 /noe /nod /nol \
##WIN16## k5_glue, $*.dll, $*.map, \
-##WIN16## $(MITLIBS) $(KLIBS) $(CLIB) $(WINLIBS), $(KDEF)
+##WIN16## $(MITLIBS) $(KLIBS) $(CLIB) $(PLIB) $(WINLIBS), $(KDEF)
##WIN16## rc /nologo /p /k $(CPPFLAGS) -DKRB5_LIB -D_MSDOS -DRES_ONLY \
##WIN16## $(KRB5RC) $*.dll
##WIN16## implib /nologo $@ $*.dll
##WIN32## -fo version.res $(VERSIONRC)
##WIN32## link $(WINDLLFLAGS) /def:$(KDEF) /out:$*.dll \
##WIN32## k5_glue.obj version.res $(KRB5RC) $(MITLIBS) $(KLIBS) \
-##WIN32## $(CCACHE_LIB) $(CLIB) \
+##WIN32## $(CCACHE_LIB) $(CLIB) $(PLIB) \
##WIN32## $(WINLIBS) advapi32.lib gdi32.lib
$(GLIB): $(GLIBS) $(KLIB) $(CLIB) $(GDEF) gss_glue.obj
krb4.lib: $(K4LIB)
krb5.lib: $(KLIB)
gssapi.lib: $(GLIB)
+profile.lib: $(PLIB)
all-windows::
@echo Making in lib\crypto
cd ..
all-windows:: lib-windows
-lib-windows:: krb5.lib gssapi.lib krb4.lib
+lib-windows:: krb5.lib gssapi.lib krb4.lib
clean-windows::
@echo Making clean in lib\crypto
--- /dev/null
+;----------------------------------------------------
+; XPPROF16.DEF - XPPROF16.DLL
+;----------------------------------------------------
+
+LIBRARY XPPROF16.DLL
+DESCRIPTION 'Cross Platform Profile DLL'
+EXETYPE WINDOWS
+CODE PRELOAD MOVEABLE DISCARDABLE
+DATA PRELOAD MOVEABLE SINGLE
+HEAPSIZE 8192
+
+EXPORTS
+ WEP @1001 RESIDENTNAME
+ LibMain @1002
+;
+ profile_init
+ profile_init_path
+ profile_flush
+ profile_release
+ profile_get_values
+ profile_free_list
+ profile_get_string
+ profile_get_integer
+ profile_get_relation_names
+ profile_get_subsection_names
+ profile_iterator_create
+ profile_iterator_free
+ profile_iterator
+ profile_release_string
+ profile_update_relation
+ profile_clear_relation
+ profile_rename_section
+ profile_add_relation
--- /dev/null
+;----------------------------------------------------
+; XPPROF32.DEF - XPPROF32.DLL
+;----------------------------------------------------
+
+;LIBRARY XPPROF32.DLL
+DESCRIPTION 'Cross Platform Profile DLL'
+CODE PRELOAD MOVEABLE DISCARDABLE
+DATA PRELOAD MOVEABLE SINGLE
+HEAPSIZE 8192
+
+EXPORTS
+ profile_init
+ profile_init_path
+ profile_flush
+ profile_release
+ profile_get_values
+ profile_free_list
+ profile_get_string
+ profile_get_integer
+ profile_get_relation_names
+ profile_get_subsection_names
+ profile_iterator_create
+ profile_iterator_free
+ profile_iterator
+ profile_release_string
+ profile_update_relation
+ profile_clear_relation
+ profile_rename_section
+ profile_add_relation