]> git.saurik.com Git - wxWidgets.git/blame - utils/execmon/makefile.gcc
fix a couple typos
[wxWidgets.git] / utils / execmon / 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
14b682f7
VZ
19 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20LIBDIRNAME = \
21 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
f82b7036
KO
22SETUPHDIR = \\r
23 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
24EXECMON_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \\r
25 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
26 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
27 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 28 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
29 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
30 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) \\r
31 $(CXXFLAGS)\r
32EXECMON_OBJECTS = \\r
33 $(OBJS)\execmon_execmon.o\r
34\r
35### Conditionally set variables: ###\r
36\r
37ifeq ($(GCC_VERSION),2.95)\r
38GCCFLAGS = -fvtable-thunks\r
39endif\r
40ifeq ($(USE_GUI),0)\r
41PORTNAME = base\r
42endif\r
43ifeq ($(USE_GUI),1)\r
44PORTNAME = msw\r
45endif\r
14b682f7
VZ
46ifeq ($(OFFICIAL_BUILD),1)
47COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
48endif
f82b7036
KO
49ifeq ($(BUILD),debug)\r
50WXDEBUGFLAG = d\r
51endif\r
52ifeq ($(UNICODE),1)\r
53WXUNICODEFLAG = u\r
54endif\r
55ifeq ($(WXUNIV),1)\r
56WXUNIVNAME = univ\r
57endif\r
58ifeq ($(SHARED),1)\r
59WXDLLFLAG = dll\r
60endif\r
61ifeq ($(SHARED),0)\r
62LIBTYPE_SUFFIX = lib\r
63endif\r
64ifeq ($(SHARED),1)\r
65LIBTYPE_SUFFIX = dll\r
66endif\r
67ifeq ($(MONOLITHIC),0)\r
68EXTRALIBS_FOR_BASE = \r
69endif\r
70ifeq ($(MONOLITHIC),1)\r
51ec29ea 71EXTRALIBS_FOR_BASE = \r
f82b7036
KO
72endif\r
73ifeq ($(USE_XRC),1)\r
74__execmon___depname = $(OBJS)\execmon.exe\r
75endif\r
76ifeq ($(BUILD),debug)\r
77__OPTIMIZEFLAG_2 = -O0\r
78endif\r
79ifeq ($(BUILD),release)\r
80__OPTIMIZEFLAG_2 = -O2\r
81endif\r
82ifeq ($(USE_RTTI),0)\r
83__RTTIFLAG_5 = -fno-rtti\r
84endif\r
85ifeq ($(USE_RTTI),1)\r
86__RTTIFLAG_5 = \r
87endif\r
88ifeq ($(USE_EXCEPTIONS),0)\r
89__EXCEPTIONSFLAG_6 = -fno-exceptions\r
90endif\r
91ifeq ($(USE_EXCEPTIONS),1)\r
92__EXCEPTIONSFLAG_6 = \r
93endif\r
94ifeq ($(WXUNIV),1)\r
95__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
96endif\r
97ifeq ($(DEBUG_FLAG),0)\r
98__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
99endif\r
00fb97de
KO
100ifeq ($(BUILD),release)\r
101__NDEBUG_DEFINE_p = -DNDEBUG\r
102endif\r
f82b7036
KO
103ifeq ($(USE_EXCEPTIONS),0)\r
104__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
105endif\r
106ifeq ($(USE_RTTI),0)\r
107__RTTI_DEFINE_p = -DwxNO_RTTI\r
108endif\r
109ifeq ($(USE_THREADS),0)\r
110__THREAD_DEFINE_p = -DwxNO_THREADS\r
111endif\r
112ifeq ($(UNICODE),0)\r
113__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
114endif\r
115ifeq ($(UNICODE),1)\r
116__UNICODE_DEFINE_p = -D_UNICODE\r
117endif\r
118ifeq ($(MSLU),1)\r
119__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
120endif\r
f82b7036
KO
121ifeq ($(USE_CAIRO),1)\r
122____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo\r
123endif\r
124ifeq ($(SHARED),1)\r
125__DLLFLAG_p = -DWXUSINGDLL\r
126endif\r
127ifeq ($(MONOLITHIC),0)\r
128__WXLIB_BASE_p = \\r
129 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
130endif\r
131ifeq ($(MONOLITHIC),1)\r
132__WXLIB_MONO_p = \\r
133 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
134endif\r
57c74474
VZ
135ifeq ($(MONOLITHIC),1)\r
136__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r
137endif\r
138ifeq ($(USE_GUI),1)\r
139__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r
140endif\r
f82b7036
KO
141ifeq ($(MSLU),1)\r
142__UNICOWS_LIB_p = -lunicows\r
143endif\r
f82b7036
KO
144ifeq ($(USE_CAIRO),1)\r
145__CAIRO_LIB_p = -lcairo\r
146endif\r
147ifeq ($(USE_CAIRO),1)\r
148____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib\r
149endif\r
150ifeq ($(BUILD),debug)\r
151ifeq ($(DEBUG_INFO),default)\r
152__DEBUGINFO = -g\r
153endif\r
154endif\r
155ifeq ($(BUILD),release)\r
156ifeq ($(DEBUG_INFO),default)\r
157__DEBUGINFO = \r
158endif\r
159endif\r
160ifeq ($(DEBUG_INFO),0)\r
161__DEBUGINFO = \r
162endif\r
163ifeq ($(DEBUG_INFO),1)\r
164__DEBUGINFO = -g\r
165endif\r
166ifeq ($(USE_THREADS),0)\r
167__THREADSFLAG = \r
168endif\r
169ifeq ($(USE_THREADS),1)\r
170__THREADSFLAG = -mthreads\r
171endif\r
172\r
173\r
174all: $(OBJS)\r
175$(OBJS):\r
176 -if not exist $(OBJS) mkdir $(OBJS)\r
177\r
178### Targets: ###\r
179\r
180all: $(__execmon___depname)\r
181\r
182clean: \r
183 -if exist $(OBJS)\*.o del $(OBJS)\*.o\r
184 -if exist $(OBJS)\*.d del $(OBJS)\*.d\r
185 -if exist $(OBJS)\execmon.exe del $(OBJS)\execmon.exe\r
186\r
187ifeq ($(USE_XRC),1)\r
188$(OBJS)\execmon.exe: $(EXECMON_OBJECTS)\r
57c74474 189 $(CXX) -o $@ $(EXECMON_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) $(__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
190endif\r
191\r
192$(OBJS)\execmon_execmon.o: ./execmon.cpp\r
193 $(CXX) -c -o $@ $(EXECMON_CXXFLAGS) $(CPPDEPS) $<\r
194\r
195.PHONY: all clean\r
196\r
197\r
198SHELL := $(COMSPEC)\r
199\r
200# Dependencies tracking:\r
201-include $(OBJS)/*.d\r