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