]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/makefile.gcc
Document wxTextCtrl::XYToPosition, PositionToXY and GetLineLength change
[wxWidgets.git] / utils / HelpGen / src / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 CPPDEPS = -MT$@ -MF$@.d -MD
16 WX_RELEASE_NODOT = 26
17 OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 HELPGEN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
23 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
26 -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG_5) \
27 $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
28 HELPGEN_OBJECTS = \
29 $(OBJS)\HelpGen_HelpGen.o \
30 $(OBJS)\HelpGen_cjparser.o \
31 $(OBJS)\HelpGen_docripper.o \
32 $(OBJS)\HelpGen_ifcontext.o \
33 $(OBJS)\HelpGen_markup.o \
34 $(OBJS)\HelpGen_scriptbinder.o \
35 $(OBJS)\HelpGen_sourcepainter.o \
36 $(OBJS)\HelpGen_srcparser.o
37
38 ### Conditionally set variables: ###
39
40 ifeq ($(GCC_VERSION),2.95)
41 GCCFLAGS = -fvtable-thunks
42 endif
43 ifeq ($(USE_GUI),0)
44 PORTNAME = base
45 endif
46 ifeq ($(USE_GUI),1)
47 PORTNAME = msw
48 endif
49 ifeq ($(BUILD),debug)
50 ifeq ($(DEBUG_FLAG),default)
51 WXDEBUGFLAG = d
52 endif
53 endif
54 ifeq ($(DEBUG_FLAG),1)
55 WXDEBUGFLAG = d
56 endif
57 ifeq ($(UNICODE),1)
58 WXUNICODEFLAG = u
59 endif
60 ifeq ($(WXUNIV),1)
61 WXUNIVNAME = univ
62 endif
63 ifeq ($(SHARED),1)
64 WXDLLFLAG = dll
65 endif
66 ifeq ($(SHARED),0)
67 LIBTYPE_SUFFIX = lib
68 endif
69 ifeq ($(SHARED),1)
70 LIBTYPE_SUFFIX = dll
71 endif
72 ifeq ($(MONOLITHIC),0)
73 EXTRALIBS_FOR_BASE =
74 endif
75 ifeq ($(MONOLITHIC),1)
76 EXTRALIBS_FOR_BASE =
77 endif
78 ifeq ($(BUILD),debug)
79 __OPTIMIZEFLAG_2 = -O0
80 endif
81 ifeq ($(BUILD),release)
82 __OPTIMIZEFLAG_2 = -O2
83 endif
84 ifeq ($(USE_RTTI),0)
85 __RTTIFLAG_5 = -fno-rtti
86 endif
87 ifeq ($(USE_RTTI),1)
88 __RTTIFLAG_5 =
89 endif
90 ifeq ($(USE_EXCEPTIONS),0)
91 __EXCEPTIONSFLAG_6 = -fno-exceptions
92 endif
93 ifeq ($(USE_EXCEPTIONS),1)
94 __EXCEPTIONSFLAG_6 =
95 endif
96 ifeq ($(WXUNIV),1)
97 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
98 endif
99 ifeq ($(BUILD),debug)
100 ifeq ($(DEBUG_FLAG),default)
101 __DEBUG_DEFINE_p = -D__WXDEBUG__
102 endif
103 endif
104 ifeq ($(DEBUG_FLAG),1)
105 __DEBUG_DEFINE_p = -D__WXDEBUG__
106 endif
107 ifeq ($(USE_EXCEPTIONS),0)
108 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
109 endif
110 ifeq ($(USE_RTTI),0)
111 __RTTI_DEFINE_p = -DwxNO_RTTI
112 endif
113 ifeq ($(USE_THREADS),0)
114 __THREAD_DEFINE_p = -DwxNO_THREADS
115 endif
116 ifeq ($(UNICODE),1)
117 __UNICODE_DEFINE_p = -D_UNICODE
118 endif
119 ifeq ($(SHARED),1)
120 __DLLFLAG_p = -DWXUSINGDLL
121 endif
122 ifeq ($(MONOLITHIC),0)
123 __WXLIB_BASE_p = \
124 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
125 endif
126 ifeq ($(MONOLITHIC),1)
127 __WXLIB_MONO_p = \
128 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
129 endif
130 ifeq ($(USE_GUI),1)
131 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
132 endif
133 ifeq ($(USE_GUI),1)
134 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
135 endif
136 ifeq ($(USE_GUI),1)
137 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
138 endif
139 ifeq ($(MSLU),1)
140 __UNICOWS_LIB_p = -lunicows
141 endif
142 ifeq ($(BUILD),debug)
143 ifeq ($(DEBUG_INFO),default)
144 __DEBUGINFO = -g
145 endif
146 endif
147 ifeq ($(BUILD),release)
148 ifeq ($(DEBUG_INFO),default)
149 __DEBUGINFO =
150 endif
151 endif
152 ifeq ($(DEBUG_INFO),0)
153 __DEBUGINFO =
154 endif
155 ifeq ($(DEBUG_INFO),1)
156 __DEBUGINFO = -g
157 endif
158 ifeq ($(USE_THREADS),0)
159 __THREADSFLAG =
160 endif
161 ifeq ($(USE_THREADS),1)
162 __THREADSFLAG = -mthreads
163 endif
164
165
166 all: $(OBJS)
167 $(OBJS):
168 -if not exist $(OBJS) mkdir $(OBJS)
169
170 ### Targets: ###
171
172 all: $(OBJS)\HelpGen.exe
173
174 clean:
175 -if exist $(OBJS)\*.o del $(OBJS)\*.o
176 -if exist $(OBJS)\*.d del $(OBJS)\*.d
177 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
178
179 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
180 $(CXX) -o $@ $(HELPGEN_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
181
182 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
183 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
184
185 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
186 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
187
188 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
189 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
190
191 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
192 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
193
194 $(OBJS)\HelpGen_markup.o: ./markup.cpp
195 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
196
197 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
198 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
199
200 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
201 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
202
203 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
204 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
205
206 .PHONY: all clean
207
208
209 # Dependencies tracking:
210 -include $(OBJS)/*.d