]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxrc/makefile.gcc
Sheet support for wxDirDialog.
[wxWidgets.git] / utils / wxrc / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.5 (http://www.bakefile.org)
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
15CPPDEPS = -MT$@ -MF$@.d -MD -MP
16WX_RELEASE_NODOT = 29
17COMPILER_PREFIX = gcc
18OBJS = \
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23WXRC_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) $(GCCFLAGS) \
24 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
27 -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \
28 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
29 $(CXXFLAGS)
30WXRC_OBJECTS = \
31 $(OBJS)\wxrc_wxrc.o
32
33### Conditionally set variables: ###
34
35ifeq ($(GCC_VERSION),2.95)
36GCCFLAGS = -fvtable-thunks
37endif
38ifeq ($(USE_GUI),0)
39PORTNAME = base
40endif
41ifeq ($(USE_GUI),1)
42PORTNAME = msw
43endif
44ifeq ($(BUILD),debug)
45ifeq ($(DEBUG_FLAG),default)
46WXDEBUGFLAG = d
47endif
48endif
49ifeq ($(DEBUG_FLAG),1)
50WXDEBUGFLAG = d
51endif
52ifeq ($(UNICODE),1)
53WXUNICODEFLAG = u
54endif
55ifeq ($(WXUNIV),1)
56WXUNIVNAME = univ
57endif
58ifeq ($(SHARED),1)
59WXDLLFLAG = dll
60endif
61ifeq ($(SHARED),0)
62LIBTYPE_SUFFIX = lib
63endif
64ifeq ($(SHARED),1)
65LIBTYPE_SUFFIX = dll
66endif
67ifeq ($(MONOLITHIC),0)
68EXTRALIBS_FOR_BASE =
69endif
70ifeq ($(MONOLITHIC),1)
71EXTRALIBS_FOR_BASE =
72endif
73ifeq ($(USE_XRC),1)
74__wxrc___depname = $(OBJS)\wxrc.exe
75endif
76ifeq ($(BUILD),debug)
77__OPTIMIZEFLAG_2 = -O0
78endif
79ifeq ($(BUILD),release)
80__OPTIMIZEFLAG_2 = -O2
81endif
82ifeq ($(USE_RTTI),0)
83__RTTIFLAG_5 = -fno-rtti
84endif
85ifeq ($(USE_RTTI),1)
86__RTTIFLAG_5 =
87endif
88ifeq ($(USE_EXCEPTIONS),0)
89__EXCEPTIONSFLAG_6 = -fno-exceptions
90endif
91ifeq ($(USE_EXCEPTIONS),1)
92__EXCEPTIONSFLAG_6 =
93endif
94ifeq ($(WXUNIV),1)
95__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
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 ($(USE_EXCEPTIONS),0)
106__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
107endif
108ifeq ($(USE_RTTI),0)
109__RTTI_DEFINE_p = -DwxNO_RTTI
110endif
111ifeq ($(USE_THREADS),0)
112__THREAD_DEFINE_p = -DwxNO_THREADS
113endif
114ifeq ($(UNICODE),0)
115__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
116endif
117ifeq ($(UNICODE),1)
118__UNICODE_DEFINE_p = -D_UNICODE
119endif
120ifeq ($(MSLU),1)
121__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
122endif
123ifeq ($(USE_GDIPLUS),1)
124__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
125endif
126ifeq ($(SHARED),1)
127__DLLFLAG_p = -DWXUSINGDLL
128endif
129ifeq ($(MONOLITHIC),0)
130__WXLIB_XML_p = \
131 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
132endif
133ifeq ($(MONOLITHIC),0)
134__WXLIB_BASE_p = \
135 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
136endif
137ifeq ($(MONOLITHIC),1)
138__WXLIB_MONO_p = \
139 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
140endif
141ifeq ($(MSLU),1)
142__UNICOWS_LIB_p = -lunicows
143endif
144ifeq ($(USE_GDIPLUS),1)
145__GDIPLUS_LIB_p = -lgdiplus
146endif
147ifeq ($(BUILD),debug)
148ifeq ($(DEBUG_INFO),default)
149__DEBUGINFO = -g
150endif
151endif
152ifeq ($(BUILD),release)
153ifeq ($(DEBUG_INFO),default)
154__DEBUGINFO =
155endif
156endif
157ifeq ($(DEBUG_INFO),0)
158__DEBUGINFO =
159endif
160ifeq ($(DEBUG_INFO),1)
161__DEBUGINFO = -g
162endif
163ifeq ($(USE_THREADS),0)
164__THREADSFLAG =
165endif
166ifeq ($(USE_THREADS),1)
167__THREADSFLAG = -mthreads
168endif
169
170
171all: $(OBJS)
172$(OBJS):
173 -if not exist $(OBJS) mkdir $(OBJS)
174
175### Targets: ###
176
177all: $(__wxrc___depname)
178
179clean:
180 -if exist $(OBJS)\*.o del $(OBJS)\*.o
181 -if exist $(OBJS)\*.d del $(OBJS)\*.d
182 -if exist $(OBJS)\wxrc.exe del $(OBJS)\wxrc.exe
183
184ifeq ($(USE_XRC),1)
185$(OBJS)\wxrc.exe: $(WXRC_OBJECTS)
186 $(CXX) -o $@ $(WXRC_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(LDFLAGS) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet
187endif
188
189$(OBJS)\wxrc_wxrc.o: ./wxrc.cpp
190 $(CXX) -c -o $@ $(WXRC_CXXFLAGS) $(CPPDEPS) $<
191
192.PHONY: all clean
193
194
195SHELL := $(COMSPEC)
196
197# Dependencies tracking:
198-include $(OBJS)/*.d