1 # Common settings for Borland 32-bit compilation (makefile.b32 files)
8 CFG = $(WXDIR)\src\msw\wxwin32.cfg
9 # Using a config file isn't compatible across all BC++ versions
10 # LNKCFG=$(WXDIR)\src\msw\bclnk32.cfg
11 WXLIBDIR = $(WXDIR)\lib
12 WXLIBDIR2 = $(WXDIR)\contrib\lib
13 WXINC = $(WXDIR)\include;$(WXDIR)\contrib\include;$(WXDIR)\src\iodbc;$(WXDIR)\src\regex;
14 WIN95FLAG = -D__WIN95__ -D__WINDOWS__
15 RFLAGS = -i$(WXDIR)\include;$(WXDIR)\src
17 # This should be changed to tlink32 if ilink32 is not available.
18 # Ilink32 is available on BC++ 5.02 and above, and all
19 # versions of C++ Builder.
31 DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
34 DEBUG_FLAGS = -DUSE_DEFINE
41 # Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
44 # App use wxWin DLL 0 1 0
45 # DLL use wxWin DLL 0 1 1
46 # DLL use wxWin STATIC 0 0 1
49 !if "$(WXMAKINGDLL)" == "1"
50 DLL_FLAGS= -DWXMAKINGDLL=1 -D_RTLDLL
51 WXLIB= $(WXLIBDIR)\wx233.lib
57 !if "$(WXUSINGDLL)" == "1"
58 DLL_FLAGS= -DWXUSINGDLL=1 -D_RTLDLL
59 WXLIB= $(WXLIBDIR)\wx233.lib
62 WXLIB= $(WXLIBDIR)\wx32.lib
67 !if "$(WXBUILDDLL)" == "1"
68 LINK_FLAGS= /Tpd /c $(EXTRALINKFLAGS)
71 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
81 bcc32 $(CPPFLAGS) -c {$< }
84 bcc32 $(CPPFLAGS) -P- -c {$< }