From 76a98783b540affdeb1a2f351acb3ed369cc68f5 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 12 Jun 1996 04:27:12 +0000 Subject: [PATCH] windows.in (CCOPTS): Windows-32 CCOPTS win-post.in: Use a Windows-32 specific LIB command line syntax git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8304 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/ChangeLog | 6 ++++++ src/config/win-post.in | 3 ++- src/config/windows.in | 14 +++++++++++--- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 9f1d655f8..e37c080b0 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 10 17:18:34 1996 Theodore Ts'o + + * windows.in (CCOPTS): Windows-32 CCOPTS + + * win-post.in: Use a Windows-32 specific LIB command line syntax + Thu Jun 6 15:54:57 1996 Theodore Y. Ts'o * windows.in (LIBCMD): Add the option /PAGESIZE:128 to the library diff --git a/src/config/win-post.in b/src/config/win-post.in index c06f91b27..5c6bba58d 100644 --- a/src/config/win-post.in +++ b/src/config/win-post.in @@ -7,7 +7,8 @@ all:: $(CC) $(CFLAGS) /c $*.c !if defined(LIBNAME) !if "$(LIBCMD)"!="rem" - $(LIBCMD) /nologo $(LIBNAME) -+$@; +##WIN16## $(LIBCMD) /pagesize:128 /nologo $(LIBNAME) -+$@; +##WIN32## $(LIBCMD) /out:$(LIBNAME) /nologo $@ !endif !endif diff --git a/src/config/windows.in b/src/config/windows.in index cc9943c6c..aa33a1e42 100644 --- a/src/config/windows.in +++ b/src/config/windows.in @@ -29,8 +29,16 @@ SRCTOP = $(srcdir)/$(BUILDTOP) # /* The name of the C compiler for the target */ CC=cl /nologo CL= -CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 $(XTRA) -CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA) +# +# CCOPTS for DLL functions +# +##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 $(XTRA) +##WIN32##CCOPTS=/Os /Zi /Od /W3 $(XTRA) -DKRB5_DLL_FILE +# +# CCOPTS for non-DLL compiles +# +##WIN16##CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA) +##WIN32##CCOPTS2=/Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA) CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5 DEFS = $(CPPFLAGS) CFLAGS2 = $(CCOPTS2) $(DEFS) @@ -56,7 +64,7 @@ RM=$(BUILDTOP)\config\rm.bat CP=copy MV=ren LN=copy -LIBCMD=lib /PAGESIZE:128 +LIBCMD=lib AWK=rem ARADD=rem -- 2.26.2