]>
Commit | Line | Data |
---|---|---|
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 | |
7 | include ../../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 | |
15 | CPPDEPS = -MT$@ -MF$@.d -MD -MP\r | |
16 | WX_RELEASE_NODOT = 29\r | |
17 | COMPILER_PREFIX = gcc\r | |
18 | OBJS = \\r | |
19 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r | |
20 | LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | WXRC_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 |
30 | WXRC_OBJECTS = \\r |
31 | $(OBJS)\wxrc_wxrc.o\r | |
32 | \r | |
33 | ### Conditionally set variables: ###\r | |
34 | \r | |
35 | ifeq ($(GCC_VERSION),2.95)\r | |
36 | GCCFLAGS = -fvtable-thunks\r | |
37 | endif\r | |
38 | ifeq ($(USE_GUI),0)\r | |
39 | PORTNAME = base\r | |
40 | endif\r | |
41 | ifeq ($(USE_GUI),1)\r | |
42 | PORTNAME = msw\r | |
43 | endif\r | |
44 | ifeq ($(BUILD),debug)\r | |
45 | WXDEBUGFLAG = d\r | |
46 | endif\r | |
47 | ifeq ($(UNICODE),1)\r | |
48 | WXUNICODEFLAG = u\r | |
49 | endif\r | |
50 | ifeq ($(WXUNIV),1)\r | |
51 | WXUNIVNAME = univ\r | |
52 | endif\r | |
53 | ifeq ($(SHARED),1)\r | |
54 | WXDLLFLAG = dll\r | |
55 | endif\r | |
56 | ifeq ($(SHARED),0)\r | |
57 | LIBTYPE_SUFFIX = lib\r | |
58 | endif\r | |
59 | ifeq ($(SHARED),1)\r | |
60 | LIBTYPE_SUFFIX = dll\r | |
61 | endif\r | |
62 | ifeq ($(MONOLITHIC),0)\r | |
63 | EXTRALIBS_FOR_BASE = \r | |
64 | endif\r | |
65 | ifeq ($(MONOLITHIC),1)\r | |
51ec29ea | 66 | EXTRALIBS_FOR_BASE = \r |
f82b7036 KO |
67 | endif\r |
68 | ifeq ($(USE_XRC),1)\r | |
69 | __wxrc___depname = $(OBJS)\wxrc.exe\r | |
70 | endif\r | |
71 | ifeq ($(BUILD),debug)\r | |
72 | __OPTIMIZEFLAG_2 = -O0\r | |
73 | endif\r | |
74 | ifeq ($(BUILD),release)\r | |
75 | __OPTIMIZEFLAG_2 = -O2\r | |
76 | endif\r | |
77 | ifeq ($(USE_RTTI),0)\r | |
78 | __RTTIFLAG_5 = -fno-rtti\r | |
79 | endif\r | |
80 | ifeq ($(USE_RTTI),1)\r | |
81 | __RTTIFLAG_5 = \r | |
82 | endif\r | |
83 | ifeq ($(USE_EXCEPTIONS),0)\r | |
84 | __EXCEPTIONSFLAG_6 = -fno-exceptions\r | |
85 | endif\r | |
86 | ifeq ($(USE_EXCEPTIONS),1)\r | |
87 | __EXCEPTIONSFLAG_6 = \r | |
88 | endif\r | |
89 | ifeq ($(WXUNIV),1)\r | |
90 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r | |
91 | endif\r | |
92 | ifeq ($(DEBUG_FLAG),0)\r | |
93 | __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r | |
94 | endif\r | |
00fb97de KO |
95 | ifeq ($(BUILD),release)\r |
96 | __NDEBUG_DEFINE_p = -DNDEBUG\r | |
97 | endif\r | |
f82b7036 KO |
98 | ifeq ($(USE_EXCEPTIONS),0)\r |
99 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r | |
100 | endif\r | |
101 | ifeq ($(USE_RTTI),0)\r | |
102 | __RTTI_DEFINE_p = -DwxNO_RTTI\r | |
103 | endif\r | |
104 | ifeq ($(USE_THREADS),0)\r | |
105 | __THREAD_DEFINE_p = -DwxNO_THREADS\r | |
106 | endif\r | |
107 | ifeq ($(UNICODE),0)\r | |
108 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r | |
109 | endif\r | |
110 | ifeq ($(UNICODE),1)\r | |
111 | __UNICODE_DEFINE_p = -D_UNICODE\r | |
112 | endif\r | |
113 | ifeq ($(MSLU),1)\r | |
114 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r | |
115 | endif\r | |
f82b7036 KO |
116 | ifeq ($(USE_CAIRO),1)\r |
117 | ____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo\r | |
118 | endif\r | |
119 | ifeq ($(SHARED),1)\r | |
120 | __DLLFLAG_p = -DWXUSINGDLL\r | |
121 | endif\r | |
122 | ifeq ($(MONOLITHIC),0)\r | |
123 | __WXLIB_XML_p = \\r | |
124 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml\r | |
125 | endif\r | |
126 | ifeq ($(MONOLITHIC),0)\r | |
127 | __WXLIB_BASE_p = \\r | |
128 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r | |
129 | endif\r | |
130 | ifeq ($(MONOLITHIC),1)\r | |
131 | __WXLIB_MONO_p = \\r | |
132 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r | |
133 | endif\r | |
57c74474 VZ |
134 | ifeq ($(MONOLITHIC),1)\r |
135 | __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r | |
136 | endif\r | |
137 | ifeq ($(USE_GUI),1)\r | |
138 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r | |
139 | endif\r | |
f82b7036 KO |
140 | ifeq ($(MSLU),1)\r |
141 | __UNICOWS_LIB_p = -lunicows\r | |
142 | endif\r | |
f82b7036 KO |
143 | ifeq ($(USE_CAIRO),1)\r |
144 | __CAIRO_LIB_p = -lcairo\r | |
145 | endif\r | |
146 | ifeq ($(USE_CAIRO),1)\r | |
147 | ____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib\r | |
148 | endif\r | |
149 | ifeq ($(BUILD),debug)\r | |
150 | ifeq ($(DEBUG_INFO),default)\r | |
151 | __DEBUGINFO = -g\r | |
152 | endif\r | |
153 | endif\r | |
154 | ifeq ($(BUILD),release)\r | |
155 | ifeq ($(DEBUG_INFO),default)\r | |
156 | __DEBUGINFO = \r | |
157 | endif\r | |
158 | endif\r | |
159 | ifeq ($(DEBUG_INFO),0)\r | |
160 | __DEBUGINFO = \r | |
161 | endif\r | |
162 | ifeq ($(DEBUG_INFO),1)\r | |
163 | __DEBUGINFO = -g\r | |
164 | endif\r | |
165 | ifeq ($(USE_THREADS),0)\r | |
166 | __THREADSFLAG = \r | |
167 | endif\r | |
168 | ifeq ($(USE_THREADS),1)\r | |
169 | __THREADSFLAG = -mthreads\r | |
170 | endif\r | |
171 | \r | |
172 | \r | |
173 | all: $(OBJS)\r | |
174 | $(OBJS):\r | |
175 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
176 | \r | |
177 | ### Targets: ###\r | |
178 | \r | |
179 | all: $(__wxrc___depname)\r | |
180 | \r | |
181 | clean: \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 | |
186 | ifeq ($(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 |
189 | endif\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 | |
197 | SHELL := $(COMSPEC)\r | |
198 | \r | |
199 | # Dependencies tracking:\r | |
200 | -include $(OBJS)/*.d\r |