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 # =========================================================================
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)
19 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
20 HELPGEN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
21 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
22 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
23 $(__DLLFLAG_p) $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) \
26 $(OBJS)\HelpGen_HelpGen.o \
27 $(OBJS)\HelpGen_cjparser.o \
28 $(OBJS)\HelpGen_docripper.o \
29 $(OBJS)\HelpGen_ifcontext.o \
30 $(OBJS)\HelpGen_markup.o \
31 $(OBJS)\HelpGen_scriptbinder.o \
32 $(OBJS)\HelpGen_sourcepainter.o \
33 $(OBJS)\HelpGen_srcparser.o
35 ### Conditionally set variables: ###
37 ifeq ($(GCC_VERSION),2.95)
38 GCCFLAGS = -fvtable-thunks
47 ifeq ($(DEBUG_FLAG),default)
51 ifeq ($(DEBUG_FLAG),1)
63 ifeq ($(MONOLITHIC),0)
66 ifeq ($(MONOLITHIC),1)
70 __OPTIMIZEFLAG_2 = -O0
72 ifeq ($(BUILD),release)
73 __OPTIMIZEFLAG_2 = -O2
75 ifeq ($(USE_EXCEPTIONS),0)
76 __EXCEPTIONSFLAG_4 = -fno-rtti
78 ifeq ($(USE_EXCEPTIONS),1)
81 ifeq ($(USE_EXCEPTIONS),0)
82 __EXCEPTIONSFLAG_5 = -fno-exceptions
84 ifeq ($(USE_EXCEPTIONS),1)
88 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
91 ifeq ($(DEBUG_FLAG),default)
92 __DEBUG_DEFINE_p = -D__WXDEBUG__
95 ifeq ($(DEBUG_FLAG),1)
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
99 __UNICODE_DEFINE_p = -D_UNICODE
102 __DLLFLAG_p = -DWXUSINGDLL
104 ifeq ($(MONOLITHIC),0)
106 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
108 ifeq ($(MONOLITHIC),1)
110 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
113 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
116 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
119 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
122 __UNICOWS_LIB_p = -lunicows
125 LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
128 LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
130 ifeq ($(BUILD),debug)
131 ifeq ($(DEBUG_INFO),default)
135 ifeq ($(BUILD),release)
136 ifeq ($(DEBUG_INFO),default)
140 ifeq ($(DEBUG_INFO),0)
143 ifeq ($(DEBUG_INFO),1)
150 -if not exist $(OBJS) mkdir $(OBJS)
154 all: $(OBJS)\HelpGen.exe
157 -if exist $(OBJS)\*.o del $(OBJS)\*.o
158 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
160 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
161 $(CXX) -o $@ $(HELPGEN_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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
163 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
164 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
166 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
167 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
169 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
170 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
172 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
173 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
175 $(OBJS)\HelpGen_markup.o: ./markup.cpp
176 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
178 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
179 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
181 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
182 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
184 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
185 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<