summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-06-12 04:27:12 +0000
committerTheodore Tso <tytso@mit.edu>1996-06-12 04:27:12 +0000
commit76a98783b540affdeb1a2f351acb3ed369cc68f5 (patch)
tree28c9c6ddbeb11963a71c5d1909899e92690269bd /src/config
parentfbd1b96fd81454f9b9f5352db9fec9f1c800098a (diff)
downloadkrb5-76a98783b540affdeb1a2f351acb3ed369cc68f5.tar.gz
krb5-76a98783b540affdeb1a2f351acb3ed369cc68f5.tar.xz
krb5-76a98783b540affdeb1a2f351acb3ed369cc68f5.zip
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
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ChangeLog6
-rw-r--r--src/config/win-post.in3
-rw-r--r--src/config/windows.in14
3 files changed, 19 insertions, 4 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index 9f1d655f8c..e37c080b0b 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -1,3 +1,9 @@
+Mon Jun 10 17:18:34 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * 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 <tytso@mit.edu>
* 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 c06f91b270..5c6bba58db 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 cc9943c6cd..aa33a1e422 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