]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/wxrcedit/makefile.gcc
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / utils / wxrcedit / makefile.gcc
CommitLineData
40ff4100
JS
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1 (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)
9bfe7ad9 19WXRCEDIT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
40ff4100
JS
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
9bfe7ad9
VS
22 $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include $(__EXCEPTIONSFLAG_4) \
23 $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) $(CXXFLAGS)
40ff4100
JS
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 ($(SHARED),0)
44LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
45endif
46ifeq ($(SHARED),1)
47LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
48endif
49ifeq ($(USE_GUI),0)
50PORTNAME = base
51endif
52ifeq ($(USE_GUI),1)
53PORTNAME = msw
54endif
55ifeq ($(BUILD),debug)
56ifeq ($(DEBUG_FLAG),default)
57WXDEBUGFLAG = d
58endif
59endif
60ifeq ($(DEBUG_FLAG),1)
61WXDEBUGFLAG = d
62endif
63ifeq ($(SHARED),1)
64WXDLLFLAG = dll
65endif
66ifeq ($(UNICODE),1)
67WXUNICODEFLAG = u
68endif
69ifeq ($(WXUNIV),1)
70WXUNIVNAME = univ
71endif
72ifeq ($(BUILD),debug)
73ifeq ($(DEBUG_INFO),default)
74__DEBUGINFO = -g
75endif
76endif
77ifeq ($(BUILD),release)
78ifeq ($(DEBUG_INFO),default)
79__DEBUGINFO =
80endif
81endif
82ifeq ($(DEBUG_INFO),0)
83__DEBUGINFO =
84endif
85ifeq ($(DEBUG_INFO),1)
86__DEBUGINFO = -g
87endif
88ifeq ($(BUILD),debug)
89ifeq ($(DEBUG_FLAG),default)
90__DEBUG_DEFINE_p = -D__WXDEBUG__
91endif
92endif
93ifeq ($(DEBUG_FLAG),1)
94__DEBUG_DEFINE_p = -D__WXDEBUG__
95endif
96ifeq ($(BUILD),debug)
97ifeq ($(DEBUG_FLAG),default)
98__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
99endif
100endif
101ifeq ($(DEBUG_FLAG),1)
102__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
103endif
104ifeq ($(SHARED),1)
105__DLLFLAG_p = -DWXUSINGDLL
106endif
107ifeq ($(SHARED),1)
108__DLLFLAG_p_1 = --define WXUSINGDLL
109endif
a4ad36cd
VS
110ifeq ($(USE_EXCEPTIONS),0)
111__EXCEPTIONSFLAG_4 = -fno-rtti
112endif
113ifeq ($(USE_EXCEPTIONS),1)
114__EXCEPTIONSFLAG_4 =
115endif
116ifeq ($(USE_EXCEPTIONS),0)
117__EXCEPTIONSFLAG_5 = -fno-exceptions
118endif
119ifeq ($(USE_EXCEPTIONS),1)
120__EXCEPTIONSFLAG_5 =
121endif
40ff4100
JS
122ifeq ($(USE_GUI),1)
123__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
124endif
125ifeq ($(USE_GUI),1)
126__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
127endif
128ifeq ($(USE_GUI),1)
129__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
130endif
131ifeq ($(BUILD),debug)
132__OPTIMIZEFLAG_2 = -O0
133endif
134ifeq ($(BUILD),release)
135__OPTIMIZEFLAG_2 = -O2
136endif
137ifeq ($(UNICODE),1)
138__UNICODE_DEFINE_p = -D_UNICODE
139endif
140ifeq ($(UNICODE),1)
141__UNICODE_DEFINE_p_1 = --define _UNICODE
142endif
143ifeq ($(MSLU),1)
144__UNICOWS_LIB_p = -lunicows
145endif
146ifeq ($(MONOLITHIC),0)
147__WXLIB_ADV_p = \
148 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv
149endif
150ifeq ($(MONOLITHIC),0)
151__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
152endif
153ifeq ($(MONOLITHIC),0)
154__WXLIB_CORE_p = \
155 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
156endif
157ifeq ($(MONOLITHIC),0)
158__WXLIB_HTML_p = \
159 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
160endif
161ifeq ($(MONOLITHIC),1)
162__WXLIB_MONO_p = \
163 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
164endif
165ifeq ($(MONOLITHIC),0)
166__WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
167endif
168ifeq ($(WXUNIV),1)
169__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
170endif
171ifeq ($(WXUNIV),1)
172__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
173endif
174
175
176all: $(OBJS)
177$(OBJS):
178 -if not exist $(OBJS) mkdir $(OBJS)
179
180### Targets: ###
181
182all: $(OBJS)\wxrcedit.exe
183
184$(OBJS)\wxrcedit_edapp.o: ./edapp.cpp
185 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
186
187$(OBJS)\wxrcedit_editor.o: ./editor.cpp
188 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
189
190$(OBJS)\wxrcedit_nodehnd.o: ./nodehnd.cpp
191 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
192
193$(OBJS)\wxrcedit_nodesdb.o: ./nodesdb.cpp
194 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
195
196$(OBJS)\wxrcedit_pe_adv.o: ./pe_adv.cpp
197 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
198
199$(OBJS)\wxrcedit_pe_basic.o: ./pe_basic.cpp
200 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
201
202$(OBJS)\wxrcedit_preview.o: ./preview.cpp
203 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
204
205$(OBJS)\wxrcedit_propedit.o: ./propedit.cpp
206 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
207
208$(OBJS)\wxrcedit_propframe.o: ./propframe.cpp
209 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
210
211$(OBJS)\wxrcedit_splittree.o: ./splittree.cpp
212 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
213
214$(OBJS)\wxrcedit_wxrcedit_rc.o: ./wxrcedit.rc
215 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
216
217$(OBJS)\wxrcedit_xmlhelpr.o: ./xmlhelpr.cpp
218 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
219
220clean:
221 -if exist $(OBJS)\*.o del $(OBJS)\*.o
222 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
223
224$(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit_rc.o
225 $(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$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
226
227.PHONY: all clean