]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/makefile.gcc
Elliptic arc fix for getting bounds
[wxWidgets.git] / utils / HelpGen / src / makefile.gcc
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 # =========================================================================
6
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 25
16 OBJS = \
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = \
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)
26 HELPGEN_OBJECTS = \
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
35
36 ### Conditionally set variables: ###
37
38 ifeq ($(GCC_VERSION),2.95)
39 GCCFLAGS = -fvtable-thunks
40 endif
41 ifeq ($(USE_GUI),0)
42 PORTNAME = base
43 endif
44 ifeq ($(USE_GUI),1)
45 PORTNAME = msw
46 endif
47 ifeq ($(BUILD),debug)
48 ifeq ($(DEBUG_FLAG),default)
49 WXDEBUGFLAG = d
50 endif
51 endif
52 ifeq ($(DEBUG_FLAG),1)
53 WXDEBUGFLAG = d
54 endif
55 ifeq ($(UNICODE),1)
56 WXUNICODEFLAG = u
57 endif
58 ifeq ($(WXUNIV),1)
59 WXUNIVNAME = univ
60 endif
61 ifeq ($(SHARED),1)
62 WXDLLFLAG = dll
63 endif
64 ifeq ($(SHARED),0)
65 LIBTYPE_SUFFIX = lib
66 endif
67 ifeq ($(SHARED),1)
68 LIBTYPE_SUFFIX = dll
69 endif
70 ifeq ($(MONOLITHIC),0)
71 EXTRALIBS_FOR_BASE =
72 endif
73 ifeq ($(MONOLITHIC),1)
74 EXTRALIBS_FOR_BASE =
75 endif
76 ifeq ($(BUILD),debug)
77 __OPTIMIZEFLAG_2 = -O0
78 endif
79 ifeq ($(BUILD),release)
80 __OPTIMIZEFLAG_2 = -O2
81 endif
82 ifeq ($(USE_EXCEPTIONS),0)
83 __EXCEPTIONSFLAG_4 = -fno-rtti
84 endif
85 ifeq ($(USE_EXCEPTIONS),1)
86 __EXCEPTIONSFLAG_4 =
87 endif
88 ifeq ($(USE_EXCEPTIONS),0)
89 __EXCEPTIONSFLAG_5 = -fno-exceptions
90 endif
91 ifeq ($(USE_EXCEPTIONS),1)
92 __EXCEPTIONSFLAG_5 =
93 endif
94 ifeq ($(WXUNIV),1)
95 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
96 endif
97 ifeq ($(BUILD),debug)
98 ifeq ($(DEBUG_FLAG),default)
99 __DEBUG_DEFINE_p = -D__WXDEBUG__
100 endif
101 endif
102 ifeq ($(DEBUG_FLAG),1)
103 __DEBUG_DEFINE_p = -D__WXDEBUG__
104 endif
105 ifeq ($(UNICODE),1)
106 __UNICODE_DEFINE_p = -D_UNICODE
107 endif
108 ifeq ($(SHARED),1)
109 __DLLFLAG_p = -DWXUSINGDLL
110 endif
111 ifeq ($(MONOLITHIC),0)
112 __WXLIB_BASE_p = \
113 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
114 endif
115 ifeq ($(MONOLITHIC),1)
116 __WXLIB_MONO_p = \
117 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
118 endif
119 ifeq ($(USE_GUI),1)
120 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
121 endif
122 ifeq ($(USE_GUI),1)
123 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
124 endif
125 ifeq ($(USE_GUI),1)
126 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
127 endif
128 ifeq ($(MSLU),1)
129 __UNICOWS_LIB_p = -lunicows
130 endif
131 ifeq ($(BUILD),debug)
132 ifeq ($(DEBUG_INFO),default)
133 __DEBUGINFO = -g
134 endif
135 endif
136 ifeq ($(BUILD),release)
137 ifeq ($(DEBUG_INFO),default)
138 __DEBUGINFO =
139 endif
140 endif
141 ifeq ($(DEBUG_INFO),0)
142 __DEBUGINFO =
143 endif
144 ifeq ($(DEBUG_INFO),1)
145 __DEBUGINFO = -g
146 endif
147
148
149 all: $(OBJS)
150 $(OBJS):
151 -if not exist $(OBJS) mkdir $(OBJS)
152
153 ### Targets: ###
154
155 all: $(OBJS)\HelpGen.exe
156
157 clean:
158 -if exist $(OBJS)\*.o del $(OBJS)\*.o
159 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
160
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
163
164 $(OBJS)\HelpGen_HelpGen.o: ./HelpGen.cpp
165 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
166
167 $(OBJS)\HelpGen_cjparser.o: ./cjparser.cpp
168 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
169
170 $(OBJS)\HelpGen_docripper.o: ./docripper.cpp
171 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
172
173 $(OBJS)\HelpGen_ifcontext.o: ./ifcontext.cpp
174 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
175
176 $(OBJS)\HelpGen_markup.o: ./markup.cpp
177 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
178
179 $(OBJS)\HelpGen_scriptbinder.o: ./scriptbinder.cpp
180 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
181
182 $(OBJS)\HelpGen_sourcepainter.o: ./sourcepainter.cpp
183 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
184
185 $(OBJS)\HelpGen_srcparser.o: ./srcparser.cpp
186 $(CXX) -c -o $@ $(HELPGEN_CXXFLAGS) $<
187
188 .PHONY: all clean
189