1 # Common settings for Borland 32-bit compilation (makefile.b32 files)
4 CFG = $(WXDIR)\src\msw\wxwin32.cfg
5 WXLIBDIR = $(WXDIR)\lib
6 WXINC = $(WXDIR)\include;$(WXDIR)\src\iodbc
7 WIN95FLAG = -D__WIN95__ -D__WINDOWS__
9 # This should be changed to ilink32 for C++Builder 4 and above
18 DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
21 DEBUG_FLAGS = -DUSE_DEFINE
28 # Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
31 # App use wxWin DLL 0 1 0
32 # DLL use wxWin DLL 0 1 1
33 # DLL use wxWin STATIC 0 0 1
36 !if "$(WXMAKINGDLL)" == "1"
37 DLL_FLAGS= -DWXMAKINGDLL=1 -D_WINDLL
38 WXLIB= $(WXLIBDIR)\wx200.lib
42 LINK_FLAGS= /Tpe /ap /c
44 !if "$(WXUSINGDLL)" == "1"
45 DLL_FLAGS= -DWXUSINGDLL=1
46 WXLIB= $(WXLIBDIR)\wx200.lib
49 WXLIB= $(WXLIBDIR)\wx32.lib
54 !if "$(WXBUILDDLL)" == "1"
55 DLL_FLAGS= $(DLL_FLAGS) -D_RTLDLL
56 LINK_FLAGS= /Tpd /ap /c $(EXTRALINKFLAGS)
59 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
69 bcc32 $(CPPFLAGS) -c {$< }
72 bcc32 $(CPPFLAGS) -P- -c {$< }