From: Theodore Tso Date: Fri, 12 Mar 1999 00:04:10 +0000 (+0000) Subject: windows.in (DLL_FILE_DEF): Add makefile controls to set either X-Git-Tag: krb5-1.1-beta1~298 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=88df3f321b21c20134a013d786ef90ef3cdb438c;p=krb5.git 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11264 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 705501cff..16d8d8caf 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,9 @@ +1999-02-19 Theodore Ts'o + + * 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 * winexclude.sed: Add .dll and .lib files to the list of functions diff --git a/src/config/windows.in b/src/config/windows.in index 34736dccf..a768aff00 100644 --- a/src/config/windows.in +++ b/src/config/windows.in @@ -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