]> git.saurik.com Git - wxWidgets.git/blame - src/makeb32.env
removed wxListEvent::m_oldItemIndex from docs, it is not used for anything anyhow
[wxWidgets.git] / src / makeb32.env
CommitLineData
2bda0e17
KB
1# Common settings for Borland 32-bit compilation (makefile.b32 files)
2
3b50432a
GT
3!if "$(RM)" == ""
4RM= erase
5!endif
6
2bda0e17
KB
7WXDIR = $(WXWIN)
8CFG = $(WXDIR)\src\msw\wxwin32.cfg
b2cf617c
JS
9# Using a config file isn't compatible across all BC++ versions
10# LNKCFG=$(WXDIR)\src\msw\bclnk32.cfg
2bda0e17 11WXLIBDIR = $(WXDIR)\lib
b14391d1 12WXLIBDIR2 = $(WXDIR)\contrib\lib
3b50432a 13WXINC = $(WXDIR)\include;$(WXDIR)\contrib\include;$(WXDIR)\src\iodbc;$(WXDIR)\src\regex;
34138703 14WIN95FLAG = -D__WIN95__ -D__WINDOWS__
cbf65655 15RFLAGS = -i$(WXDIR)\include;$(WXDIR)\src
2bda0e17 16
8e97b17b
VZ
17# This should be changed to tlink32 if ilink32 is not available.
18# Ilink32 is available on BC++ 5.02 and above, and all
19# versions of C++ Builder.
20!ifndef LINK
a6e2b3a8 21LINK=ilink32
b2cf617c 22#LINK=tlink32
8e97b17b 23!endif
c3b177ae 24
2bda0e17
KB
25!ifndef FINAL
26FINAL=0
27!endif
28
2bda0e17
KB
29!if "$(FINAL)" == "0"
30OPT = -Od
b2aef89b 31DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
2bda0e17
KB
32!else
33OPT = -O2
40e1a9c0 34DEBUG_FLAGS = -DUSE_DEFINE
2bda0e17 35!endif
2bda0e17 36
c740f496
GL
37!ifndef DLL
38DLL=0
39!endif
40
41# Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
42# wxWin DLL 1 0 1
43# wxWin STATIC 0 0 0
44# App use wxWin DLL 0 1 0
45# DLL use wxWin DLL 0 1 1
46# DLL use wxWin STATIC 0 0 1
47#
48
49!if "$(WXMAKINGDLL)" == "1"
f6bcfd97 50DLL_FLAGS= -DWXMAKINGDLL=1 -D_RTLDLL
9806a0e7 51WXLIB= $(WXLIBDIR)\wx232.lib
c740f496
GL
52
53!else
54
741f371c 55LINK_FLAGS= /aa /c
c740f496
GL
56
57!if "$(WXUSINGDLL)" == "1"
f6bcfd97 58DLL_FLAGS= -DWXUSINGDLL=1 -D_RTLDLL
9806a0e7 59WXLIB= $(WXLIBDIR)\wx232.lib
c740f496
GL
60!else
61DLL_FLAGS=
62WXLIB= $(WXLIBDIR)\wx32.lib
63!endif
64
65!endif
66
67!if "$(WXBUILDDLL)" == "1"
741f371c 68LINK_FLAGS= /Tpd /c $(EXTRALINKFLAGS)
c740f496
GL
69!endif
70
dbda9e86 71CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
c740f496 72
2bda0e17
KB
73DUMMY=dummy
74
75SRCSUFF = cpp
76OBJSUFF = obj
77
c09f2879
VZ
78WAITFLAG = /w
79
2bda0e17
KB
80.$(SRCSUFF).obj:
81 bcc32 $(CPPFLAGS) -c {$< }
82
83.c.obj:
84 bcc32 $(CPPFLAGS) -P- -c {$< }