summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Makefile.in22
-rw-r--r--src/lib/krb5_32.def3
-rw-r--r--src/lib/xpprof16.def33
-rw-r--r--src/lib/xpprof32.def29
4 files changed, 81 insertions, 6 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index 234512a330..d0e25ea34a 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -30,6 +30,7 @@ clean-windows::
# 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
@@ -45,6 +46,8 @@ K4LIBS = krb4\krb4.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
@@ -75,10 +78,20 @@ $(CLIB): $(CLIBS) $(WLIB) $(CDEF) no_glue.obj
##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
@@ -86,7 +99,7 @@ $(KLIB): $(KLIBS) $(CLIB) $(WLIB) $(KDEF) k5_glue.obj $(KRB5RC) $(CCACHE_LIB)
##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
@@ -176,6 +189,7 @@ comerr.lib: $(CLIB)
krb4.lib: $(K4LIB)
krb5.lib: $(KLIB)
gssapi.lib: $(GLIB)
+profile.lib: $(PLIB)
all-windows::
@echo Making in lib\crypto
@@ -197,7 +211,7 @@ all-windows::
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
diff --git a/src/lib/krb5_32.def b/src/lib/krb5_32.def
index 8b055be82b..8ac1d43a71 100644
--- a/src/lib/krb5_32.def
+++ b/src/lib/krb5_32.def
@@ -191,7 +191,7 @@ EXPORTS
; krb5_free_adm_data
; krb5_read_adm_reply
; krb5_send_adm_cmd
-;
+
krb5_change_password
;Temporary exports (DO NOT USE)
decode_krb5_ticket
@@ -203,7 +203,6 @@ EXPORTS
des_string_to_key
; des_set_random_generator_seed
des_init_random_number_generator
- profile_get_values
krb5_random_confounder
krb5_size_opaque
krb5_internalize_opaque
diff --git a/src/lib/xpprof16.def b/src/lib/xpprof16.def
new file mode 100644
index 0000000000..e356718e9d
--- /dev/null
+++ b/src/lib/xpprof16.def
@@ -0,0 +1,33 @@
+;----------------------------------------------------
+; 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
diff --git a/src/lib/xpprof32.def b/src/lib/xpprof32.def
new file mode 100644
index 0000000000..c3d2d530bc
--- /dev/null
+++ b/src/lib/xpprof32.def
@@ -0,0 +1,29 @@
+;----------------------------------------------------
+; 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