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 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CPPDEPS = -MT$@ -MF$@.d -MD
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
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)
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
38 ### Conditionally set variables: ###
40 ifeq ($(GCC_VERSION),2.95)
41 GCCFLAGS = -fvtable-thunks
50 ifeq ($(DEBUG_FLAG),default)
54 ifeq ($(DEBUG_FLAG),1)
72 ifeq ($(MONOLITHIC),0)
75 ifeq ($(MONOLITHIC),1)
79 __OPTIMIZEFLAG_2 = -O0
81 ifeq ($(BUILD),release)
82 __OPTIMIZEFLAG_2 = -O2
85 __RTTIFLAG_5 = -fno-rtti
90 ifeq ($(USE_EXCEPTIONS),0)
91 __EXCEPTIONSFLAG_6 = -fno-exceptions
93 ifeq ($(USE_EXCEPTIONS),1)
97 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
100 ifeq ($(DEBUG_FLAG),default)
101 __DEBUG_DEFINE_p = -D__WXDEBUG__
104 ifeq ($(DEBUG_FLAG),1)
105 __DEBUG_DEFINE_p = -D__WXDEBUG__
107 ifeq ($(USE_EXCEPTIONS),0)
108 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
111 __RTTI_DEFINE_p = -DwxNO_RTTI
113 ifeq ($(USE_THREADS),0)
114 __THREAD_DEFINE_p = -DwxNO_THREADS
117 __UNICODE_DEFINE_p = -D_UNICODE
120 __DLLFLAG_p = -DWXUSINGDLL
122 ifeq ($(MONOLITHIC),0)
124 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
126 ifeq ($(MONOLITHIC),1)
128 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
131 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
134 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
137 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
140 __UNICOWS_LIB_p = -lunicows
142 ifeq ($(BUILD),debug)
143 ifeq ($(DEBUG_INFO),default)
147 ifeq ($(BUILD),release)
148 ifeq ($(DEBUG_INFO),default)
152 ifeq ($(DEBUG_INFO),0)
155 ifeq ($(DEBUG_INFO),1)
158 ifeq ($(USE_THREADS),0)
161 ifeq ($(USE_THREADS),1)
162 __THREADSFLAG = -mthreads
168 -if not exist $(OBJS) mkdir $(OBJS)
172 all: $(OBJS)\HelpGen.exe
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
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
182 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
183 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
185 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
186 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
188 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
189 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
191 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
192 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
194 $(OBJS)\HelpGen_markup.o: ./markup.cpp
195 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
197 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
198 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
200 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
201 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
203 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
204 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $(CPPDEPS) $<
209 # Dependencies tracking: