blob: e101a3c9e2782d4eaf0306ee1f29d45d3cd19539 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Microsoft Windows configuration file for Cygnus Kerberos
# ***copy from K4***
WHAT=windows
# Directory syntax:
R=\ # root
C=.\ # current
S=\ # seperator
U=..\ # up one level
srcdir = .
# /* The name of the C compiler for the target */
CC=cl /nologo
CL=
CCOPTS=/ALw /Zpa /GD2s /Os /Zi /Od /W3 $(XTRA)
CCOPTS2=/AL /Zpa /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5
DEFS = $(CPPFLAGS)
CFLAGS2 = $(CCOPTS2) $(DEFS)
# /Zi gives debug info in each object file.
# /Zp packs structures: Required for Windows API (but is not default!!!)
# /Za strict ansi compliance
# /ALw memory model: Large model for Windows DLL (SS != DS)
# /GD DLL code generation for Windows 3.0 and up, and defines _WINDOWS
# /Gs Avoid stack probes (they don't seem to work anyway)
# /Os optimize for space. FIXME: Do not use /Ox; it miscompiles the DES lib!
# /G2 generate 286 instructions (it complains if you ask for 386!)
# /Od disable optimization (for debugging)
DBG_LIB=/nologo /Zp /ALw /GD /Gs /Os /G2 /Zi /Od
# /Zi gives debug info in each object file.
# /Zp packs structures: Required for Windows API (but is not default!!!)
# /AL large memory model
# /Mq quickwin ascii stdio window, and defines _WINDOWS
DBG=/nologo /Zp /AL /Os /Mq /Zi /Od
RM=$(BUILDTOP)\config\rm.bat
CP=copy
MV=ren
LN=copy
LIBCMD=lib
AWK=rem
ARADD=rem
RANLIB=rem
ARCHIVE=rem
LIBEXT=lib
OBJEXT=obj
EXEEXT=.exe
MFLAGS=$(MAKEFLAGS)
.c.obj:
$(CC) $(CFLAGS) /c $*.c
!if defined(LIBNAME)
!if "$(LIBCMD)"!="rem"
$(LIBCMD) /nologo $(LIBNAME) -+$@;
!endif
!endif
#
# End of Microsoft Windows config lines
#
|