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