]> git.saurik.com Git - wxWidgets.git/blame - 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
40ff4100
JS
1# =========================================================================
2# This makefile was generated by
c3255f5f 3# Bakefile 0.1.3 (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
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
40ff4100
JS
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
40ff4100
JS
57ifeq ($(UNICODE),1)
58WXUNICODEFLAG = u
59endif
60ifeq ($(WXUNIV),1)
61WXUNIVNAME = univ
62endif
b17c1746
DE
63ifeq ($(SHARED),1)
64WXDLLFLAG = dll
40ff4100 65endif
b17c1746
DE
66ifeq ($(BUILD),debug)
67__OPTIMIZEFLAG_2 = -O0
40ff4100
JS
68endif
69ifeq ($(BUILD),release)
b17c1746 70__OPTIMIZEFLAG_2 = -O2
40ff4100 71endif
b17c1746
DE
72ifeq ($(USE_EXCEPTIONS),0)
73__EXCEPTIONSFLAG_4 = -fno-rtti
40ff4100 74endif
b17c1746
DE
75ifeq ($(USE_EXCEPTIONS),1)
76__EXCEPTIONSFLAG_4 =
40ff4100 77endif
b17c1746
DE
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__
40ff4100
JS
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
b17c1746
DE
106ifeq ($(UNICODE),1)
107__UNICODE_DEFINE_p = -D_UNICODE
108endif
109ifeq ($(UNICODE),1)
110__UNICODE_DEFINE_p_1 = --define _UNICODE
111endif
40ff4100
JS
112ifeq ($(SHARED),1)
113__DLLFLAG_p = -DWXUSINGDLL
114endif
115ifeq ($(SHARED),1)
116__DLLFLAG_p_1 = --define WXUSINGDLL
117endif
b17c1746
DE
118ifeq ($(MONOLITHIC),0)
119__WXLIB_ADV_p = \
120 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv
a4ad36cd 121endif
b17c1746
DE
122ifeq ($(MONOLITHIC),0)
123__WXLIB_HTML_p = \
124 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
a4ad36cd 125endif
b17c1746
DE
126ifeq ($(MONOLITHIC),0)
127__WXLIB_CORE_p = \
128 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
a4ad36cd 129endif
b17c1746
DE
130ifeq ($(MONOLITHIC),0)
131__WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
a4ad36cd 132endif
b17c1746
DE
133ifeq ($(MONOLITHIC),0)
134__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
40ff4100 135endif
b17c1746
DE
136ifeq ($(MONOLITHIC),1)
137__WXLIB_MONO_p = \
138 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
40ff4100
JS
139endif
140ifeq ($(USE_GUI),1)
141__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
142endif
b17c1746
DE
143ifeq ($(USE_GUI),1)
144__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
40ff4100 145endif
b17c1746
DE
146ifeq ($(USE_GUI),1)
147__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
40ff4100
JS
148endif
149ifeq ($(MSLU),1)
150__UNICOWS_LIB_p = -lunicows
151endif
b17c1746
DE
152ifeq ($(SHARED),0)
153LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
40ff4100 154endif
b17c1746
DE
155ifeq ($(SHARED),1)
156LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
40ff4100 157endif
b17c1746
DE
158ifeq ($(BUILD),debug)
159ifeq ($(DEBUG_INFO),default)
160__DEBUGINFO = -g
40ff4100 161endif
40ff4100 162endif
b17c1746
DE
163ifeq ($(BUILD),release)
164ifeq ($(DEBUG_INFO),default)
165__DEBUGINFO =
40ff4100 166endif
40ff4100 167endif
b17c1746
DE
168ifeq ($(DEBUG_INFO),0)
169__DEBUGINFO =
40ff4100 170endif
b17c1746
DE
171ifeq ($(DEBUG_INFO),1)
172__DEBUGINFO = -g
40ff4100
JS
173endif
174
175
176all: $(OBJS)
177$(OBJS):
178 -if not exist $(OBJS) mkdir $(OBJS)
179
180### Targets: ###
181
182all: $(OBJS)\wxrcedit.exe
183
b17c1746
DE
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
b92ca8cf 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
b17c1746 190
40ff4100
JS
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
40ff4100
JS
221$(OBJS)\wxrcedit_xmlhelpr.o: ./xmlhelpr.cpp
222 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
223
b17c1746
DE
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
40ff4100
JS
226
227.PHONY: all clean