1 # Common settings for Borland 32-bit compilation (makefile.b32 files)
4 CFG = $(WXDIR)\src\msw\wxwin32.cfg
5 WXLIBDIR = $(WXDIR)\lib
6 WXLIBDIR2 = $(WXDIR)\contrib\lib
7 WXINC = $(WXDIR)\include;$(WXDIR)\contrib\include;$(WXDIR)\src\iodbc
8 WIN95FLAG = -D__WIN95__ -D__WINDOWS__
10 # This should be changed to ilink32 for C++Builder 4 and above
19 DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
22 DEBUG_FLAGS = -DUSE_DEFINE
29 # Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
32 # App use wxWin DLL 0 1 0
33 # DLL use wxWin DLL 0 1 1
34 # DLL use wxWin STATIC 0 0 1
37 !if "$(WXMAKINGDLL)" == "1"
38 DLL_FLAGS= -DWXMAKINGDLL=1 -D_WINDLL
39 WXLIB= $(WXLIBDIR)\wx200.lib
43 LINK_FLAGS= /Tpe /ap /c
45 !if "$(WXUSINGDLL)" == "1"
46 DLL_FLAGS= -DWXUSINGDLL=1
47 WXLIB= $(WXLIBDIR)\wx200.lib
50 WXLIB= $(WXLIBDIR)\wx32.lib
55 !if "$(WXBUILDDLL)" == "1"
56 DLL_FLAGS= $(DLL_FLAGS) -D_RTLDLL
57 LINK_FLAGS= /Tpd /ap /c $(EXTRALINKFLAGS)
60 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
70 bcc32 $(CPPFLAGS) -c {$< }
73 bcc32 $(CPPFLAGS) -P- -c {$< }