]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxrc/makefile.gcc
Applied patched for combo box SELECTED events (no
[wxWidgets.git] / utils / wxrc / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.4 (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
15WX_RELEASE_NODOT = 25
16OBJS = \
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18SETUPHDIR = \
19 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
20WXRC_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) -DHAVE_W32API_H \
21 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
22 -I.\..\..\include -I$(SETUPHDIR) -Wall -I. $(__DLLFLAG_p) \
23 $(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) $(CXXFLAGS)
24WXRC_OBJECTS = \
25 $(OBJS)\wxrc_wxrc.o
26
27### Conditionally set variables: ###
28
29ifeq ($(GCC_VERSION),2.95)
30GCCFLAGS = -fvtable-thunks
31endif
32ifeq ($(USE_GUI),0)
33PORTNAME = base
34endif
35ifeq ($(USE_GUI),1)
36PORTNAME = msw
37endif
38ifeq ($(BUILD),debug)
39ifeq ($(DEBUG_FLAG),default)
40WXDEBUGFLAG = d
41endif
42endif
43ifeq ($(DEBUG_FLAG),1)
44WXDEBUGFLAG = d
45endif
46ifeq ($(UNICODE),1)
47WXUNICODEFLAG = u
48endif
49ifeq ($(WXUNIV),1)
50WXUNIVNAME = univ
51endif
52ifeq ($(SHARED),1)
53WXDLLFLAG = dll
54endif
55ifeq ($(MONOLITHIC),0)
56EXTRALIBS_FOR_BASE =
57endif
58ifeq ($(MONOLITHIC),1)
59EXTRALIBS_FOR_BASE =
60endif
61ifeq ($(USE_XRC),1)
62__wxrc___depname = $(OBJS)\wxrc.exe
63endif
64ifeq ($(BUILD),debug)
65__OPTIMIZEFLAG_2 = -O0
66endif
67ifeq ($(BUILD),release)
68__OPTIMIZEFLAG_2 = -O2
69endif
70ifeq ($(USE_EXCEPTIONS),0)
71__EXCEPTIONSFLAG_4 = -fno-rtti
72endif
73ifeq ($(USE_EXCEPTIONS),1)
74__EXCEPTIONSFLAG_4 =
75endif
76ifeq ($(USE_EXCEPTIONS),0)
77__EXCEPTIONSFLAG_5 = -fno-exceptions
78endif
79ifeq ($(USE_EXCEPTIONS),1)
80__EXCEPTIONSFLAG_5 =
81endif
82ifeq ($(WXUNIV),1)
83__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
84endif
85ifeq ($(BUILD),debug)
86ifeq ($(DEBUG_FLAG),default)
87__DEBUG_DEFINE_p = -D__WXDEBUG__
88endif
89endif
90ifeq ($(DEBUG_FLAG),1)
91__DEBUG_DEFINE_p = -D__WXDEBUG__
92endif
93ifeq ($(UNICODE),1)
94__UNICODE_DEFINE_p = -D_UNICODE
95endif
96ifeq ($(SHARED),1)
97__DLLFLAG_p = -DWXUSINGDLL
98endif
99ifeq ($(MONOLITHIC),0)
100__WXLIB_XML_p = \
101 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
102endif
103ifeq ($(MONOLITHIC),0)
104__WXLIB_BASE_p = \
105 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
106endif
107ifeq ($(MONOLITHIC),1)
108__WXLIB_MONO_p = \
109 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
110endif
111ifeq ($(USE_GUI),1)
112__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
113endif
114ifeq ($(USE_GUI),1)
115__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
116endif
117ifeq ($(USE_GUI),1)
118__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
119endif
120ifeq ($(MSLU),1)
121__UNICOWS_LIB_p = -lunicows
122endif
123ifeq ($(SHARED),0)
124LIBDIRNAME = .\..\..\lib\gcc_lib$(CFG)
125endif
126ifeq ($(SHARED),1)
127LIBDIRNAME = .\..\..\lib\gcc_dll$(CFG)
128endif
129ifeq ($(BUILD),debug)
130ifeq ($(DEBUG_INFO),default)
131__DEBUGINFO = -g
132endif
133endif
134ifeq ($(BUILD),release)
135ifeq ($(DEBUG_INFO),default)
136__DEBUGINFO =
137endif
138endif
139ifeq ($(DEBUG_INFO),0)
140__DEBUGINFO =
141endif
142ifeq ($(DEBUG_INFO),1)
143__DEBUGINFO = -g
144endif
145
146
147all: $(OBJS)
148$(OBJS):
149 -if not exist $(OBJS) mkdir $(OBJS)
150
151### Targets: ###
152
153all: $(__wxrc___depname)
154
155clean:
156 -if exist $(OBJS)\*.o del $(OBJS)\*.o
157 -if exist $(OBJS)\wxrc.exe del $(OBJS)\wxrc.exe
158
159ifeq ($(USE_XRC),1)
160$(OBJS)\wxrc.exe: $(WXRC_OBJECTS)
161 $(CXX) -o $@ $(WXRC_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__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
162endif
163
164$(OBJS)\wxrc_wxrc.o: ./wxrc.cpp
165 $(CXX) -c -o $@ $(WXRC_CXXFLAGS) $<
166
167.PHONY: all clean