]> git.saurik.com Git - wxWidgets.git/blame - src/makeb32.env
Added wxTolBar::etMargins
[wxWidgets.git] / src / makeb32.env
CommitLineData
2bda0e17
KB
1# Common settings for Borland 32-bit compilation (makefile.b32 files)
2
3WXDIR = $(WXWIN)
4CFG = $(WXDIR)\src\msw\wxwin32.cfg
5WXLIBDIR = $(WXDIR)\lib
6WXINC = $(WXDIR)\include
34138703 7WIN95FLAG = -D__WIN95__ -D__WINDOWS__
2bda0e17
KB
8
9!ifndef FINAL
10FINAL=0
11!endif
12
2bda0e17
KB
13!if "$(FINAL)" == "0"
14OPT = -Od
b2aef89b 15DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
2bda0e17
KB
16!else
17OPT = -O2
40e1a9c0 18DEBUG_FLAGS = -DUSE_DEFINE
2bda0e17 19!endif
2bda0e17 20
c740f496
GL
21!ifndef DLL
22DLL=0
23!endif
24
25# Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
26# wxWin DLL 1 0 1
27# wxWin STATIC 0 0 0
28# App use wxWin DLL 0 1 0
29# DLL use wxWin DLL 0 1 1
30# DLL use wxWin STATIC 0 0 1
31#
32
33!if "$(WXMAKINGDLL)" == "1"
34DLL_FLAGS= -DWXMAKINGDLL=1 -D_WINDLL
35WXLIB= $(WXLIBDIR)\wx200.lib
36
37!else
38
39LINK_FLAGS= /Tpe /ap /c
40
41!if "$(WXUSINGDLL)" == "1"
42DLL_FLAGS= -DWXUSINGDLL=1
43WXLIB= $(WXLIBDIR)\wx200.lib
44!else
45DLL_FLAGS=
46WXLIB= $(WXLIBDIR)\wx32.lib
47!endif
48
49!endif
50
51!if "$(WXBUILDDLL)" == "1"
52DLL_FLAGS= $(DLL_FLAGS) -D_RTLDLL
53LINK_FLAGS= /Tpd /ap /c
54!endif
55
56CPPFLAGS=$(DLL_FLAGS) @$(CFG)
57
2bda0e17
KB
58DUMMY=dummy
59
60SRCSUFF = cpp
61OBJSUFF = obj
62
63.$(SRCSUFF).obj:
64 bcc32 $(CPPFLAGS) -c {$< }
65
66.c.obj:
67 bcc32 $(CPPFLAGS) -P- -c {$< }