]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/makefile.bcc
Copied gsocket.c revision 1.80
[wxWidgets.git] / utils / HelpGen / src / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 HELPGEN_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
25 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
26 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
27 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) $(CPPFLAGS) $(CXXFLAGS)
28 HELPGEN_OBJECTS = \
29 $(OBJS)\HelpGen_HelpGen.obj \
30 $(OBJS)\HelpGen_cjparser.obj \
31 $(OBJS)\HelpGen_docripper.obj \
32 $(OBJS)\HelpGen_ifcontext.obj \
33 $(OBJS)\HelpGen_markup.obj \
34 $(OBJS)\HelpGen_scriptbinder.obj \
35 $(OBJS)\HelpGen_sourcepainter.obj \
36 $(OBJS)\HelpGen_srcparser.obj
37 OBJS = \
38 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
39 SETUPHDIR = \
40 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
41
42 ### Conditionally set variables: ###
43
44 !if "$(SHARED)" == "0"
45 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
46 !endif
47 !if "$(SHARED)" == "1"
48 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
49 !endif
50 !if "$(USE_GUI)" == "0"
51 PORTNAME = base
52 !endif
53 !if "$(USE_GUI)" == "1"
54 PORTNAME = msw
55 !endif
56 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
57 WXDEBUGFLAG = d
58 !endif
59 !if "$(DEBUG_FLAG)" == "1"
60 WXDEBUGFLAG = d
61 !endif
62 !if "$(SHARED)" == "1"
63 WXDLLFLAG = dll
64 !endif
65 !if "$(UNICODE)" == "1"
66 WXUNICODEFLAG = u
67 !endif
68 !if "$(WXUNIV)" == "1"
69 WXUNIVNAME = univ
70 !endif
71 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
72 __DEBUGINFO = -v
73 !endif
74 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
75 __DEBUGINFO = -v-
76 !endif
77 !if "$(DEBUG_INFO)" == "0"
78 __DEBUGINFO = -v-
79 !endif
80 !if "$(DEBUG_INFO)" == "1"
81 __DEBUGINFO = -v
82 !endif
83 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
84 __DEBUG_DEFINE_p = -D__WXDEBUG__
85 !endif
86 !if "$(DEBUG_FLAG)" == "1"
87 __DEBUG_DEFINE_p = -D__WXDEBUG__
88 !endif
89 !if "$(SHARED)" == "1"
90 __DLLFLAG_p = -DWXUSINGDLL
91 !endif
92 !if "$(USE_GUI)" == "1"
93 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
94 !endif
95 !if "$(USE_GUI)" == "1"
96 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
97 !endif
98 !if "$(USE_GUI)" == "1"
99 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
100 !endif
101 !if "$(BUILD)" == "debug"
102 __OPTIMIZEFLAG_2 = -Od
103 !endif
104 !if "$(BUILD)" == "release"
105 __OPTIMIZEFLAG_2 = -O2
106 !endif
107 !if "$(RUNTIME_LIBS)" == "dynamic"
108 __RUNTIME_LIBS_6 = -tWR
109 !endif
110 !if "$(RUNTIME_LIBS)" == "static"
111 __RUNTIME_LIBS_6 =
112 !endif
113 !if "$(RUNTIME_LIBS)" == "dynamic"
114 __RUNTIME_LIBS_7 = i
115 !endif
116 !if "$(RUNTIME_LIBS)" == "static"
117 __RUNTIME_LIBS_7 =
118 !endif
119 !if "$(UNICODE)" == "1"
120 __UNICODE_DEFINE_p = -D_UNICODE
121 !endif
122 !if "$(MSLU)" == "1"
123 __UNICOWS_LIB_p = unicows.lib
124 !endif
125 !if "$(MONOLITHIC)" == "0"
126 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
127 !endif
128 !if "$(MONOLITHIC)" == "1"
129 __WXLIB_MONO_p = \
130 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
131 !endif
132 !if "$(WXUNIV)" == "1"
133 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
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 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
146 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
147
148 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
149 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
150
151 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
152 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
153
154 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
155 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
156
157 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
158 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
159
160 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
161 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
162
163 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
164 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
165
166 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
167 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
168
169 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
170 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
171 c0x32.obj $(HELPGEN_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
172 |
173
174 clean:
175 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
176 -if exist $(OBJS)\*.res del $(OBJS)\*.res
177 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
178 -if exist $(OBJS)\HelpGen.tds del $(OBJS)\HelpGen.tds
179 -if exist $(OBJS)\HelpGen.ilc del $(OBJS)\HelpGen.ilc
180 -if exist $(OBJS)\HelpGen.ild del $(OBJS)\HelpGen.ild
181 -if exist $(OBJS)\HelpGen.ilf del $(OBJS)\HelpGen.ilf
182 -if exist $(OBJS)\HelpGen.ils del $(OBJS)\HelpGen.ils