diff options
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/win-post.in | 10 | ||||
-rw-r--r-- | src/config/windows.in | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/src/config/win-post.in b/src/config/win-post.in index a410d3631..dbbc08301 100644 --- a/src/config/win-post.in +++ b/src/config/win-post.in @@ -3,6 +3,16 @@ # all:: +# +# 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=/D$(DLL_EXP_TYPE)_DLL_FILE +!else +DLL_FILE_DEF=/DKRB5_DLL_FILE +!endif + # Build the Makefile unless we are in the top-level #(where there is already an explicit rule). !if !defined(ZIP) && !defined(WINFILES) diff --git a/src/config/windows.in b/src/config/windows.in index e80c9fd6f..c2369ae52 100644 --- a/src/config/windows.in +++ b/src/config/windows.in @@ -33,15 +33,6 @@ 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=/D$(DLL_EXP_TYPE)_DLL_FILE -!else -DLL_FILE_DEF=/DKRB5_DLL_FILE -!endif -# # CCOPTS for DLL functions # ##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 /Ld $(XTRA) $(DLL_FILE_DEF) |