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