]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/utils/wxrcedit/makefile.gcc
overseeing the obvious, there is already a perfect scroll call for HIView...
[wxWidgets.git] / contrib / utils / wxrcedit / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15OBJS = \
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19WXRCEDIT_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) -I.\..\..\..\samples -I.\..\..\include $(__EXCEPTIONSFLAG_4) \
23 $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) $(CXXFLAGS)
24WXRCEDIT_OBJECTS = \
25 $(OBJS)\wxrcedit_edapp.o \
26 $(OBJS)\wxrcedit_editor.o \
27 $(OBJS)\wxrcedit_nodehnd.o \
28 $(OBJS)\wxrcedit_nodesdb.o \
29 $(OBJS)\wxrcedit_pe_adv.o \
30 $(OBJS)\wxrcedit_pe_basic.o \
31 $(OBJS)\wxrcedit_preview.o \
32 $(OBJS)\wxrcedit_propedit.o \
33 $(OBJS)\wxrcedit_propframe.o \
34 $(OBJS)\wxrcedit_splittree.o \
35 $(OBJS)\wxrcedit_xmlhelpr.o \
36 $(OBJS)\wxrcedit_wxrcedit_rc.o
37
38### Conditionally set variables: ###
39
40ifeq ($(GCC_VERSION),2.95)
41GCCFLAGS = -fvtable-thunks
42endif
43ifeq ($(USE_GUI),0)
44PORTNAME = base
45endif
46ifeq ($(USE_GUI),1)
47PORTNAME = msw
48endif
49ifeq ($(BUILD),debug)
50ifeq ($(DEBUG_FLAG),default)
51WXDEBUGFLAG = d
52endif
53endif
54ifeq ($(DEBUG_FLAG),1)
55WXDEBUGFLAG = d
56endif
57ifeq ($(UNICODE),1)
58WXUNICODEFLAG = u
59endif
60ifeq ($(WXUNIV),1)
61WXUNIVNAME = univ
62endif
63ifeq ($(SHARED),1)
64WXDLLFLAG = dll
65endif
66ifeq ($(BUILD),debug)
67__OPTIMIZEFLAG_2 = -O0
68endif
69ifeq ($(BUILD),release)
70__OPTIMIZEFLAG_2 = -O2
71endif
72ifeq ($(USE_EXCEPTIONS),0)
73__EXCEPTIONSFLAG_4 = -fno-rtti
74endif
75ifeq ($(USE_EXCEPTIONS),1)
76__EXCEPTIONSFLAG_4 =
77endif
78ifeq ($(USE_EXCEPTIONS),0)
79__EXCEPTIONSFLAG_5 = -fno-exceptions
80endif
81ifeq ($(USE_EXCEPTIONS),1)
82__EXCEPTIONSFLAG_5 =
83endif
84ifeq ($(WXUNIV),1)
85__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
86endif
87ifeq ($(WXUNIV),1)
88__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
89endif
90ifeq ($(BUILD),debug)
91ifeq ($(DEBUG_FLAG),default)
92__DEBUG_DEFINE_p = -D__WXDEBUG__
93endif
94endif
95ifeq ($(DEBUG_FLAG),1)
96__DEBUG_DEFINE_p = -D__WXDEBUG__
97endif
98ifeq ($(BUILD),debug)
99ifeq ($(DEBUG_FLAG),default)
100__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
101endif
102endif
103ifeq ($(DEBUG_FLAG),1)
104__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
105endif
106ifeq ($(UNICODE),1)
107__UNICODE_DEFINE_p = -D_UNICODE
108endif
109ifeq ($(UNICODE),1)
110__UNICODE_DEFINE_p_1 = --define _UNICODE
111endif
112ifeq ($(SHARED),1)
113__DLLFLAG_p = -DWXUSINGDLL
114endif
115ifeq ($(SHARED),1)
116__DLLFLAG_p_1 = --define WXUSINGDLL
117endif
118ifeq ($(MONOLITHIC),0)
119__WXLIB_ADV_p = \
120 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv
121endif
122ifeq ($(MONOLITHIC),0)
123__WXLIB_HTML_p = \
124 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
125endif
126ifeq ($(MONOLITHIC),0)
127__WXLIB_CORE_p = \
128 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
129endif
130ifeq ($(MONOLITHIC),0)
131__WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
132endif
133ifeq ($(MONOLITHIC),0)
134__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
135endif
136ifeq ($(MONOLITHIC),1)
137__WXLIB_MONO_p = \
138 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
139endif
140ifeq ($(USE_GUI),1)
141__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
142endif
143ifeq ($(USE_GUI),1)
144__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
145endif
146ifeq ($(USE_GUI),1)
147__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
148endif
149ifeq ($(MSLU),1)
150__UNICOWS_LIB_p = -lunicows
151endif
152ifeq ($(SHARED),0)
153LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
154endif
155ifeq ($(SHARED),1)
156LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
157endif
158ifeq ($(BUILD),debug)
159ifeq ($(DEBUG_INFO),default)
160__DEBUGINFO = -g
161endif
162endif
163ifeq ($(BUILD),release)
164ifeq ($(DEBUG_INFO),default)
165__DEBUGINFO =
166endif
167endif
168ifeq ($(DEBUG_INFO),0)
169__DEBUGINFO =
170endif
171ifeq ($(DEBUG_INFO),1)
172__DEBUGINFO = -g
173endif
174
175
176all: $(OBJS)
177$(OBJS):
178 -if not exist $(OBJS) mkdir $(OBJS)
179
180### Targets: ###
181
182all: $(OBJS)\wxrcedit.exe
183
184clean:
185 -if exist $(OBJS)\*.o del $(OBJS)\*.o
186 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
187
188$(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit_rc.o
189 $(CXX) -o $@ $(WXRCEDIT_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__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
190
191$(OBJS)\wxrcedit_edapp.o: ./edapp.cpp
192 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
193
194$(OBJS)\wxrcedit_editor.o: ./editor.cpp
195 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
196
197$(OBJS)\wxrcedit_nodehnd.o: ./nodehnd.cpp
198 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
199
200$(OBJS)\wxrcedit_nodesdb.o: ./nodesdb.cpp
201 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
202
203$(OBJS)\wxrcedit_pe_adv.o: ./pe_adv.cpp
204 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
205
206$(OBJS)\wxrcedit_pe_basic.o: ./pe_basic.cpp
207 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
208
209$(OBJS)\wxrcedit_preview.o: ./preview.cpp
210 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
211
212$(OBJS)\wxrcedit_propedit.o: ./propedit.cpp
213 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
214
215$(OBJS)\wxrcedit_propframe.o: ./propframe.cpp
216 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
217
218$(OBJS)\wxrcedit_splittree.o: ./splittree.cpp
219 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
220
221$(OBJS)\wxrcedit_xmlhelpr.o: ./xmlhelpr.cpp
222 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
223
224$(OBJS)\wxrcedit_wxrcedit_rc.o: ./wxrcedit.rc
225 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../../samples --include-dir ./../../include
226
227.PHONY: all clean