Fix up name of the SAP Kerberos glue library to be platform dependent
authorTheodore Tso <tytso@mit.edu>
Wed, 19 Mar 1997 19:18:45 +0000 (19:18 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 19 Mar 1997 19:18:45 +0000 (19:18 +0000)
(sapkrb16.dll, sapkrb32.dll).  Fix makefile rules to work correctly
after NT port.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10010 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/ChangeLog
src/lib/Makefile.in
src/lib/sapkrb5.def [deleted file]

index e9bb62f410d3504556573a0df5d28375493c8174..bdb46f80a5e892a58afcfea73a115ce13009cc15 100644 (file)
@@ -1,3 +1,9 @@
+Wed Mar 19 14:15:42 1997  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * Makefile.in: Fix up name of the SAP Kerberos glue library to be
+               platform dependent (sapkrb16.dll, sapkrb32.dll).  Fix
+               makefile rules to work correctly after NT port.
+
 Mon Mar  3 14:52:58 1997  Ezra Peisach  <epeisach@mit.edu>
 
        * Makefile.in (MAC_SUBDIRS): Change KRB5 to krb5 for Mac subdirs.
index 865b605d8635ae6e8f768a38aab5019130ed56aa..9c281fd1520cfc28e5b42386bb757141c5e1e28c 100644 (file)
@@ -112,13 +112,18 @@ krb5.lib:   $(KLIB)
 gssapi.lib: $(GLIB)
 
 sap_glue.obj: win_glue.c
-       $(CC) $(CFLAGS) -DSAP_TIMEBOMB -I$(VERS_DIR) /c /Fo$@ win_glue.c
+       $(CC) $(CFLAGS) -DSAP_TIMEBOMB -DGSSAPI=1 /c /Fo$@ win_glue.c
 
-##WIN16##sapkrb5.dll: $(GLIBS) $(KLIB) sapkrb5.def sap_glue.obj
+##WIN16##krbsap16.dll: $(GLIBS) $(KLIB) $(CLIB) $(GDEF) $(GDEF) sap_glue.obj
 ##WIN16##      link /co /seg:400 /noe /nod /nol \
 ##WIN16##         sap_glue, $*.dll, $*.map, \
-##WIN16##         $(GLIBS) $(KLIB) $(VERS_DIR)\vswin.lib $(WINLIBS), $(GDEF)
+##WIN16##         $(GLIBS) $(KLIB) $(CLIB) $(WINLIBS), $(GDEF)
 ##WIN16##      rc /nologo /p /k $*.dll
+##WIN16##      implib /nologo $*.lib $*.dll
+
+##WIN32##krbsap32.dll: $(GLIBS) $(KLIB) $(CLIB) $(GDEF) $(GDEF) sap_glue.obj
+##WIN32##      link $(WINDLLFLAGS) /def:$(GDEF) /out:$*.dll \
+##WIN32##         sap_glue.obj $(GLIBS) $(KLIB) $(CLIB) $(WINLIBS)
 
 
 all-windows:: 
diff --git a/src/lib/sapkrb5.def b/src/lib/sapkrb5.def
deleted file mode 100644 (file)
index 12394c3..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-;----------------------------------------------------
-;   GSSAPI.DEF - GSSAPI.DLL module definition file
-;----------------------------------------------------
-
-LIBRARY                SAPKRB5
-DESCRIPTION    'Base Generic Security Service API for SAP R/3'
-EXETYPE                WINDOWS
-CODE           PRELOAD MOVEABLE DISCARDABLE
-DATA           PRELOAD MOVEABLE SINGLE
-HEAPSIZE       8192
-
-EXPORTS
-       WEP                                     @1001 RESIDENTNAME
-       LIBMAIN                                 @1002
-       GSS_ACQUIRE_CRED                        @1
-       GSS_RELEASE_CRED                        @2
-       GSS_INIT_SEC_CONTEXT                    @3
-       GSS_ACCEPT_SEC_CONTEXT                  @4
-       GSS_PROCESS_CONTEXT_TOKEN               @5
-       GSS_DELETE_SEC_CONTEXT                  @6
-       GSS_CONTEXT_TIME                        @7
-       GSS_SIGN                                @8
-       GSS_VERIFY                              @9
-       GSS_SEAL                                @10
-       GSS_UNSEAL                              @11
-       GSS_DISPLAY_STATUS                      @12
-       GSS_INDICATE_MECHS                      @13
-       GSS_COMPARE_NAME                        @14
-       GSS_DISPLAY_NAME                        @15
-       GSS_IMPORT_NAME                         @16
-       GSS_RELEASE_NAME                        @17
-       GSS_RELEASE_BUFFER                      @18
-       GSS_RELEASE_OID_SET                     @19
-       GSS_INQUIRE_CRED                        @20
-
-; GSS-API v2  additional credential calls
-;
-; XXX we need to add the numbers to this!
-;
-       GSS_ADD_CRED
-       GSS_INQUIRE_CRED_BY_MECH
-
-; GSS-API v2  additional context-level calls
-;
-       GSS_INQUIRE_CONTEXT
-       GSS_WRAP_SIZE_LIMIT
-       GSS_EXPORT_SEC_CONTEXT
-       GSS_IMPORT_SEC_CONTEXT
-
-; GSS-API v2  additional calls for OID and OID_set operations
-;
-       GSS_RELEASE_OID
-       GSS_CREATE_EMPTY_OID_SET
-       GSS_ADD_OID_SET_MEMBER
-       GSS_TEST_OID_SET_MEMBER
-       GSS_OID_TO_STR
-       GSS_STR_TO_OID
-
-; GSS-API v2  renamed message protection calls
-;
-       GSS_WRAP
-       GSS_UNWRAP
-       GSS_GET_MIC
-       GSS_VERIFY_MIC
-
-; GSS-API v2  future extensions
-;
-       GSS_INQUIRE_NAMES_FOR_MECH
-;      GSS_INQUIRE_MECHS_FOR_NAME
-;      GSS_CANONICALIZE_NAME
-;      GSS_EXPORT_NAME
-