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