windows.in (DLL_FILE_DEF): Add makefile controls to set either
authorTheodore Tso <tytso@mit.edu>
Fri, 12 Mar 1999 00:04:10 +0000 (00:04 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 12 Mar 1999 00:04:10 +0000 (00:04 +0000)
KRB5_DLL_FILE or GSS_DLL_FILE, with the default being
KRB5_DLL_FILE.

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

src/config/ChangeLog
src/config/windows.in

index 705501cffb2093c460cc8a4c72fc5149434b7445..16d8d8caf56caa1a9044e5559e8cd80055bbf859 100644 (file)
@@ -1,3 +1,9 @@
+1999-02-19  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * windows.in (DLL_FILE_DEF): Add makefile controls to set either
+               KRB5_DLL_FILE or GSS_DLL_FILE, with the default being
+               KRB5_DLL_FILE.
+
 Mon Feb  8 22:13:23 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * winexclude.sed: Add .dll and .lib files to the list of functions
index 34736dccf3e63caf4edebc3204958cb7fb0de1c6..a768aff00b098789f85190c73a6ad44da1870c20 100644 (file)
@@ -33,10 +33,19 @@ SRCTOP = $(srcdir)\$(BUILDTOP)
 CC=cl /nologo
 CL=
 #
+# Set the #define to indicate that we are compiling a DLL.  We default to 
+# compiling the Kerberos library
+#
+!if defined(DLL_EXP_TYPE)
+DLL_FILE_DEF=/DKRB5_DLL_FILE
+!else
+DLL_FILE_DEF=/D$(DLL_EXP_TYPE)_DLL_FILE
+!endif
+#
 # CCOPTS for DLL functions
 #
-##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 /Ld $(XTRA) /DKRB5_DLL_FILE
-##WIN32##CCOPTS=/Os /Zi /Od /W3 /MD $(XTRA) -DKRB5_DLL_FILE
+##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 /Ld $(XTRA) $(DLL_FILE_DEF)
+##WIN32##CCOPTS=/Os /Zi /Od /W3 /MD $(XTRA) $(DLL_FILE_DEF)
 #
 # CCOPTS for non-DLL compiles
 #
@@ -77,6 +86,8 @@ CVTRES = cvtres
 
 ##WIN16##CLIB=$(BUILDTOP)\lib\comerr16.lib
 ##WIN32##CLIB=$(BUILDTOP)\lib\comerr32.lib
+##WIN16##PLIB=$(BUILDTOP)\lib\xpprof16.lib
+##WIN32##PLIB=$(BUILDTOP)\lib\xpprof32.lib
 ##WIN16##KLIB=$(BUILDTOP)\lib\krb5_16.lib
 ##WIN32##KLIB=$(BUILDTOP)\lib\krb5_32.lib
 ##WIN16##GLIB=$(BUILDTOP)\lib\gssapi.lib