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 # -------------------------------------------------------------------------
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 HELPGEN_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
22 $(__DLLFLAG_p) $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) \
25 $(OBJS)\HelpGen_HelpGen.o \
26 $(OBJS)\HelpGen_cjparser.o \
27 $(OBJS)\HelpGen_docripper.o \
28 $(OBJS)\HelpGen_ifcontext.o \
29 $(OBJS)\HelpGen_markup.o \
30 $(OBJS)\HelpGen_scriptbinder.o \
31 $(OBJS)\HelpGen_sourcepainter.o \
32 $(OBJS)\HelpGen_srcparser.o
34 ### Conditionally set variables: ###
36 ifeq ($(GCC_VERSION),2.95)
37 GCCFLAGS = -fvtable-thunks
46 ifeq ($(DEBUG_FLAG),default)
50 ifeq ($(DEBUG_FLAG),1)
63 __OPTIMIZEFLAG_2 = -O0
65 ifeq ($(BUILD),release)
66 __OPTIMIZEFLAG_2 = -O2
68 ifeq ($(USE_EXCEPTIONS),0)
69 __EXCEPTIONSFLAG_4 = -fno-rtti
71 ifeq ($(USE_EXCEPTIONS),1)
74 ifeq ($(USE_EXCEPTIONS),0)
75 __EXCEPTIONSFLAG_5 = -fno-exceptions
77 ifeq ($(USE_EXCEPTIONS),1)
81 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
84 ifeq ($(DEBUG_FLAG),default)
85 __DEBUG_DEFINE_p = -D__WXDEBUG__
88 ifeq ($(DEBUG_FLAG),1)
89 __DEBUG_DEFINE_p = -D__WXDEBUG__
92 __UNICODE_DEFINE_p = -D_UNICODE
95 __DLLFLAG_p = -DWXUSINGDLL
97 ifeq ($(MONOLITHIC),0)
98 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
100 ifeq ($(MONOLITHIC),1)
102 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
105 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
108 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
111 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
114 __UNICOWS_LIB_p = -lunicows
117 LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
120 LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
122 ifeq ($(BUILD),debug)
123 ifeq ($(DEBUG_INFO),default)
127 ifeq ($(BUILD),release)
128 ifeq ($(DEBUG_INFO),default)
132 ifeq ($(DEBUG_INFO),0)
135 ifeq ($(DEBUG_INFO),1)
142 -if not exist $(OBJS) mkdir $(OBJS)
146 all: $(OBJS)\HelpGen.exe
149 -if exist $(OBJS)\*.o del $(OBJS)\*.o
150 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
152 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
153 $(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) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
155 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
156 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
158 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
159 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
161 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
162 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
164 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
165 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
167 $(OBJS)\HelpGen_markup.o: ./markup.cpp
168 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
170 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
171 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
173 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
174 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
176 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
177 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<