1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 HELPGEN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
22 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
24 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
25 -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG_5) \
26 $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
28 $(OBJS)\HelpGen_HelpGen.o \
29 $(OBJS)\HelpGen_cjparser.o \
30 $(OBJS)\HelpGen_docripper.o \
31 $(OBJS)\HelpGen_ifcontext.o \
32 $(OBJS)\HelpGen_markup.o \
33 $(OBJS)\HelpGen_scriptbinder.o \
34 $(OBJS)\HelpGen_sourcepainter.o \
35 $(OBJS)\HelpGen_srcparser.o
37 ### Conditionally set variables: ###
39 ifeq ($(GCC_VERSION),2.95)
40 GCCFLAGS = -fvtable-thunks
49 ifeq ($(DEBUG_FLAG),default)
53 ifeq ($(DEBUG_FLAG),1)
71 ifeq ($(MONOLITHIC),0)
74 ifeq ($(MONOLITHIC),1)
78 __OPTIMIZEFLAG_2 = -O0
80 ifeq ($(BUILD),release)
81 __OPTIMIZEFLAG_2 = -O2
84 __RTTIFLAG_5 = -fno-rtti
89 ifeq ($(USE_EXCEPTIONS),0)
90 __EXCEPTIONSFLAG_6 = -fno-exceptions
92 ifeq ($(USE_EXCEPTIONS),1)
96 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
99 ifeq ($(DEBUG_FLAG),default)
100 __DEBUG_DEFINE_p = -D__WXDEBUG__
103 ifeq ($(DEBUG_FLAG),1)
104 __DEBUG_DEFINE_p = -D__WXDEBUG__
106 ifeq ($(USE_EXCEPTIONS),0)
107 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
110 __RTTI_DEFINE_p = -DwxNO_RTTI
112 ifeq ($(USE_THREADS),0)
113 __THREAD_DEFINE_p = -DwxNO_THREADS
116 __UNICODE_DEFINE_p = -D_UNICODE
119 __DLLFLAG_p = -DWXUSINGDLL
121 ifeq ($(MONOLITHIC),0)
123 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
125 ifeq ($(MONOLITHIC),1)
127 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
130 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
133 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
136 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
139 __UNICOWS_LIB_p = -lunicows
141 ifeq ($(BUILD),debug)
142 ifeq ($(DEBUG_INFO),default)
146 ifeq ($(BUILD),release)
147 ifeq ($(DEBUG_INFO),default)
151 ifeq ($(DEBUG_INFO),0)
154 ifeq ($(DEBUG_INFO),1)
157 ifeq ($(USE_THREADS),0)
160 ifeq ($(USE_THREADS),1)
161 __THREADSFLAG = -mthreads
167 -if not exist $(OBJS) mkdir $(OBJS)
171 all: $(OBJS)\HelpGen.exe
174 -if exist $(OBJS)\*.o del $(OBJS)\*.o
175 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
177 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
178 $(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
180 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
181 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
183 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
184 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
186 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
187 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
189 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
190 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
192 $(OBJS)\HelpGen_markup.o: ./markup.cpp
193 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
195 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
196 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
198 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
199 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
201 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
202 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<