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)
64 __OPTIMIZEFLAG_2 = -O0
66 ifeq ($(BUILD),release)
67 __OPTIMIZEFLAG_2 = -O2
69 ifeq ($(USE_EXCEPTIONS),0)
70 __EXCEPTIONSFLAG_4 = -fno-rtti
72 ifeq ($(USE_EXCEPTIONS),1)
75 ifeq ($(USE_EXCEPTIONS),0)
76 __EXCEPTIONSFLAG_5 = -fno-exceptions
78 ifeq ($(USE_EXCEPTIONS),1)
82 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
85 ifeq ($(DEBUG_FLAG),default)
86 __DEBUG_DEFINE_p = -D__WXDEBUG__
89 ifeq ($(DEBUG_FLAG),1)
90 __DEBUG_DEFINE_p = -D__WXDEBUG__
93 __UNICODE_DEFINE_p = -D_UNICODE
96 __DLLFLAG_p = -DWXUSINGDLL
98 ifeq ($(MONOLITHIC),0)
100 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
102 ifeq ($(MONOLITHIC),1)
104 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
107 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
110 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
113 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)
116 __UNICOWS_LIB_p = -lunicows
119 LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
122 LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
124 ifeq ($(BUILD),debug)
125 ifeq ($(DEBUG_INFO),default)
129 ifeq ($(BUILD),release)
130 ifeq ($(DEBUG_INFO),default)
134 ifeq ($(DEBUG_INFO),0)
137 ifeq ($(DEBUG_INFO),1)
144 -if not exist $(OBJS) mkdir $(OBJS)
148 all: $(OBJS)\HelpGen.exe
151 -if exist $(OBJS)\*.o del $(OBJS)\*.o
152 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
154 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
155 $(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)$(WX_RELEASE_NODOT) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) -lwxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
157 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
158 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
160 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
161 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
163 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
164 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
166 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
167 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
169 $(OBJS)\HelpGen_markup.o: ./markup.cpp
170 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
172 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
173 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
175 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
176 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
178 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
179 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<