blob: c2369ae5242199a96d7c0e547b23150aa499628f (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
WHAT=windows
all:: all-$(WHAT)
clean:: clean-$(WHAT)
install:: install-$(WHAT)
check:: check-$(WHAT)
all-windows::
clean-windows::
install-windows::
check-windows::
all-windows:: Makefile
# Directory syntax:
#
# begin absolute path
ABS=\\
# begin relative path
REL=
# up-directory
U=..
# path separator
S=\\
# this is magic... should only be used for preceding a program invocation
C=.\\
srcdir = .
SRCTOP = $(srcdir)\$(BUILDTOP)
# /* The name of the C compiler for the target */
CC=cl /nologo
CL=
#
# CCOPTS for DLL functions
#
##WIN16##CCOPTS=/ALw /Zp /GD2s /Os /Zi /Od /W3 /Ld $(XTRA) $(DLL_FILE_DEF)
##WIN32##CCOPTS=/Os /Zi /Od /W3 /MD $(XTRA) $(DLL_FILE_DEF)
#
# CCOPTS for non-DLL compiles
#
##WIN16##CCOPTS2=/AL /Zp /GA /G2s /Os /Zi /Od /W3 $(XTRA)
##WIN32##CCOPTS2=/Os /Zi /Od /W3 $(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)
# /MD (Win32) thread safe, ML would be single threaded, don't build with ML
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
LIBECHO=$(BUILDTOP)\util\windows\libecho
CP=copy
MV=ren
LN=copy
LIBCMD=lib
PAGESIZE=/pagesize:128
AWK=rem
RC = rc
CVTRES = cvtres
##WIN16##CLIB=$(BUILDTOP)\lib\comerr16.lib
##WIN32##CLIB=$(BUILDTOP)\lib\comerr32.lib
##WIN16##PLIB=$(BUILDTOP)\lib\xpprof16.lib
##WIN32##PLIB=$(BUILDTOP)\lib\xpprof32.lib
##WIN16##KLIB=$(BUILDTOP)\lib\krb5_16.lib
##WIN32##KLIB=$(BUILDTOP)\lib\krb5_32.lib
##WIN16##GLIB=$(BUILDTOP)\lib\gssapi.lib
##WIN32##GLIB=$(BUILDTOP)\lib\gssapi32.lib
##WIN16##K4LIB=$(BUILDTOP)\lib\krb4_16.lib
##WIN32##K4LIB=$(BUILDTOP)\lib\krb4_32.lib
##WIN16##WLIB=$(BUILDTOP)\lib\winsock.lib
##WIN32##WLIB=
ARADD=rem
RANLIB=rem
ARCHIVE=rem
LIBEXT=lib
OBJEXT=obj
EXEEXT=.exe
MFLAGS=$(MAKEFLAGS)
#
# End of Microsoft Windows config lines
#
|