1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -W -Wall -I. \
24 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) \
25 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
27 $(OBJS)\HelpGen_HelpGen.o \
28 $(OBJS)\HelpGen_cjparser.o \
29 $(OBJS)\HelpGen_docripper.o \
30 $(OBJS)\HelpGen_ifcontext.o \
31 $(OBJS)\HelpGen_markup.o \
32 $(OBJS)\HelpGen_scriptbinder.o \
33 $(OBJS)\HelpGen_sourcepainter.o \
34 $(OBJS)\HelpGen_srcparser.o
36 ### Conditionally set variables: ###
38 ifeq ($(GCC_VERSION),2.95)
39 GCCFLAGS = -fvtable-thunks
48 ifeq ($(DEBUG_FLAG),default)
52 ifeq ($(DEBUG_FLAG),1)
70 ifeq ($(MONOLITHIC),0)
73 ifeq ($(MONOLITHIC),1)
77 __OPTIMIZEFLAG_2 = -O0
79 ifeq ($(BUILD),release)
80 __OPTIMIZEFLAG_2 = -O2
82 ifeq ($(USE_EXCEPTIONS),0)
83 __EXCEPTIONSFLAG_4 = -fno-rtti
85 ifeq ($(USE_EXCEPTIONS),1)
88 ifeq ($(USE_EXCEPTIONS),0)
89 __EXCEPTIONSFLAG_5 = -fno-exceptions
91 ifeq ($(USE_EXCEPTIONS),1)
95 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
98 ifeq ($(DEBUG_FLAG),default)
99 __DEBUG_DEFINE_p = -D__WXDEBUG__
102 ifeq ($(DEBUG_FLAG),1)
103 __DEBUG_DEFINE_p = -D__WXDEBUG__
106 __UNICODE_DEFINE_p = -D_UNICODE
109 __DLLFLAG_p = -DWXUSINGDLL
111 ifeq ($(MONOLITHIC),0)
113 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
115 ifeq ($(MONOLITHIC),1)
117 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
120 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
123 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
126 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
129 __UNICOWS_LIB_p = -lunicows
131 ifeq ($(BUILD),debug)
132 ifeq ($(DEBUG_INFO),default)
136 ifeq ($(BUILD),release)
137 ifeq ($(DEBUG_INFO),default)
141 ifeq ($(DEBUG_INFO),0)
144 ifeq ($(DEBUG_INFO),1)
151 -if not exist $(OBJS) mkdir $(OBJS)
155 all: $(OBJS)\HelpGen.exe
158 -if exist $(OBJS)\*.o del $(OBJS)\*.o
159 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
161 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
162 $(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
164 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
165 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
167 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
168 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
170 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
171 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
173 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
174 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
176 $(OBJS)\HelpGen_markup.o: ./markup.cpp
177 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
179 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
180 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
182 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
183 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
185 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
186 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<