From: Theodore Tso Date: Wed, 12 Jun 1996 04:27:12 +0000 (+0000) Subject: windows.in (CCOPTS): Windows-32 CCOPTS X-Git-Tag: krb5-1.0-beta7~389 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=76a98783b540affdeb1a2f351acb3ed369cc68f5;p=krb5.git 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 --- 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