]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/makefile.bcc
d6a861ec9e92921ce6e581549bbef03082504422
[wxWidgets.git] / utils / HelpGen / src / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 OBJS = \
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 SETUPHDIR = \
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 HELPGEN_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
30 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
31 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) $(CPPFLAGS) $(CXXFLAGS)
32 HELPGEN_OBJECTS = \
33 $(OBJS)\HelpGen_HelpGen.obj \
34 $(OBJS)\HelpGen_cjparser.obj \
35 $(OBJS)\HelpGen_docripper.obj \
36 $(OBJS)\HelpGen_ifcontext.obj \
37 $(OBJS)\HelpGen_markup.obj \
38 $(OBJS)\HelpGen_scriptbinder.obj \
39 $(OBJS)\HelpGen_sourcepainter.obj \
40 $(OBJS)\HelpGen_srcparser.obj
41
42 ### Conditionally set variables: ###
43
44 !if "$(USE_GUI)" == "0"
45 PORTNAME = base
46 !endif
47 !if "$(USE_GUI)" == "1"
48 PORTNAME = msw
49 !endif
50 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
51 WXDEBUGFLAG = d
52 !endif
53 !if "$(DEBUG_FLAG)" == "1"
54 WXDEBUGFLAG = d
55 !endif
56 !if "$(UNICODE)" == "1"
57 WXUNICODEFLAG = u
58 !endif
59 !if "$(WXUNIV)" == "1"
60 WXUNIVNAME = univ
61 !endif
62 !if "$(SHARED)" == "1"
63 WXDLLFLAG = dll
64 !endif
65 !if "$(BUILD)" == "debug"
66 __OPTIMIZEFLAG_2 = -Od
67 !endif
68 !if "$(BUILD)" == "release"
69 __OPTIMIZEFLAG_2 = -O2
70 !endif
71 !if "$(RUNTIME_LIBS)" == "dynamic"
72 __RUNTIME_LIBS_6 = -tWR
73 !endif
74 !if "$(RUNTIME_LIBS)" == "static"
75 __RUNTIME_LIBS_6 =
76 !endif
77 !if "$(RUNTIME_LIBS)" == "dynamic"
78 __RUNTIME_LIBS_7 = i
79 !endif
80 !if "$(RUNTIME_LIBS)" == "static"
81 __RUNTIME_LIBS_7 =
82 !endif
83 !if "$(WXUNIV)" == "1"
84 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
85 !endif
86 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87 __DEBUG_DEFINE_p = -D__WXDEBUG__
88 !endif
89 !if "$(DEBUG_FLAG)" == "1"
90 __DEBUG_DEFINE_p = -D__WXDEBUG__
91 !endif
92 !if "$(UNICODE)" == "1"
93 __UNICODE_DEFINE_p = -D_UNICODE
94 !endif
95 !if "$(SHARED)" == "1"
96 __DLLFLAG_p = -DWXUSINGDLL
97 !endif
98 !if "$(MONOLITHIC)" == "0"
99 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
100 !endif
101 !if "$(MONOLITHIC)" == "1"
102 __WXLIB_MONO_p = \
103 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
104 !endif
105 !if "$(USE_GUI)" == "1"
106 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
107 !endif
108 !if "$(USE_GUI)" == "1"
109 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
110 !endif
111 !if "$(USE_GUI)" == "1"
112 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
113 !endif
114 !if "$(MSLU)" == "1"
115 __UNICOWS_LIB_p = unicows.lib
116 !endif
117 !if "$(SHARED)" == "0"
118 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
119 !endif
120 !if "$(SHARED)" == "1"
121 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
122 !endif
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 __DEBUGINFO = -v
125 !endif
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 __DEBUGINFO = -v-
128 !endif
129 !if "$(DEBUG_INFO)" == "0"
130 __DEBUGINFO = -v-
131 !endif
132 !if "$(DEBUG_INFO)" == "1"
133 __DEBUGINFO = -v
134 !endif
135
136
137 all: $(OBJS)
138 $(OBJS):
139 -if not exist $(OBJS) mkdir $(OBJS)
140
141 ### Targets: ###
142
143 all: $(OBJS)\HelpGen.exe
144
145 clean:
146 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
147 -if exist $(OBJS)\*.res del $(OBJS)\*.res
148 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
149 -if exist $(OBJS)\HelpGen.tds del $(OBJS)\HelpGen.tds
150 -if exist $(OBJS)\HelpGen.ilc del $(OBJS)\HelpGen.ilc
151 -if exist $(OBJS)\HelpGen.ild del $(OBJS)\HelpGen.ild
152 -if exist $(OBJS)\HelpGen.ilf del $(OBJS)\HelpGen.ilf
153 -if exist $(OBJS)\HelpGen.ils del $(OBJS)\HelpGen.ils
154
155 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
156 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
157 c0x32.obj $(HELPGEN_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
158 |
159
160 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
161 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
162
163 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
164 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
165
166 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
167 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
168
169 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
170 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
171
172 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
173 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
174
175 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
176 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
177
178 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
179 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
180
181 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
182 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**