]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeb32.env
1. wxChoice and wxComboBox support client data under MSW
[wxWidgets.git] / src / makeb32.env
... / ...
CommitLineData
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
7WIN95FLAG = -D__WIN95__ -D__WINDOWS__
8
9!ifndef FINAL
10FINAL=0
11!endif
12
13!if "$(FINAL)" == "0"
14OPT = -Od
15DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
16!else
17OPT = -O2
18DEBUG_FLAGS = -DUSE_DEFINE
19!endif
20
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 $(EXTRALINKFLAGS)
54!endif
55
56CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
57
58DUMMY=dummy
59
60SRCSUFF = cpp
61OBJSUFF = obj
62
63.$(SRCSUFF).obj:
64 bcc32 $(CPPFLAGS) -c {$< }
65
66.c.obj:
67 bcc32 $(CPPFLAGS) -P- -c {$< }