1 # Microsoft Windows configuration file for Cygnus Kerberos
14 # /* The name of the C compiler for the target */
17 CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 $(XTRA)
18 CCOPTS2=/AL /Zp /G2s /Os /Zi /Od /W3 -DINTERFACE= -DINTERFACE_C= $(XTRA)
19 CPPFLAGS = -I$(SRCTOP)/include -I$(SRCTOP)/include/krb5
21 CFLAGS2 = $(CCOPTS2) $(DEFS)
23 # /Zi gives debug info in each object file.
24 # /Zp packs structures: Required for Windows API (but is not default!!!)
25 # /Za strict ansi compliance
26 # /ALw memory model: Large model for Windows DLL (SS != DS)
27 # /GD DLL code generation for Windows 3.0 and up, and defines _WINDOWS
28 # /Gs Avoid stack probes (they don't seem to work anyway)
29 # /Os optimize for space. FIXME: Do not use /Ox; it miscompiles the DES lib!
30 # /G2 generate 286 instructions (it complains if you ask for 386!)
31 # /Od disable optimization (for debugging)
33 DBG_LIB=/nologo /Zp /ALw /GD /Gs /Os /G2 /Zi /Od
34 # /Zi gives debug info in each object file.
35 # /Zp packs structures: Required for Windows API (but is not default!!!)
36 # /AL large memory model
37 # /Mq quickwin ascii stdio window, and defines _WINDOWS
38 DBG=/nologo /Zp /AL /Os /Mq /Zi /Od
40 RM=$(BUILDTOP)\config\rm.bat
58 $(CC) $(CFLAGS) /c $*.c
60 !if "$(LIBCMD)"!="rem"
61 $(LIBCMD) /nologo $(LIBNAME) -+$@;
66 # End of Microsoft Windows config lines