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 tlink32 if ilink32 is not available
11 # Available on C++ 5.02 and above
20 DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
23 DEBUG_FLAGS = -DUSE_DEFINE
30 # Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
33 # App use wxWin DLL 0 1 0
34 # DLL use wxWin DLL 0 1 1
35 # DLL use wxWin STATIC 0 0 1
38 !if "$(WXMAKINGDLL)" == "1"
39 DLL_FLAGS= -DWXMAKINGDLL=1 -D_WINDLL
40 WXLIB= $(WXLIBDIR)\wx200.lib
44 LINK_FLAGS= /Tpe /ap /c
46 !if "$(WXUSINGDLL)" == "1"
47 DLL_FLAGS= -DWXUSINGDLL=1
48 WXLIB= $(WXLIBDIR)\wx200.lib
51 WXLIB= $(WXLIBDIR)\wx32.lib
56 !if "$(WXBUILDDLL)" == "1"
57 DLL_FLAGS= $(DLL_FLAGS) -D_RTLDLL
58 LINK_FLAGS= /Tpd /ap /c $(EXTRALINKFLAGS)
61 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
71 bcc32 $(CPPFLAGS) -c {$< }
74 bcc32 $(CPPFLAGS) -P- -c {$< }