]> git.saurik.com Git - wxWidgets.git/blame - utils/execmon/makefile.gcc
added wxLog::IsLevelEnabled() helper; document it and a few related functions which...
[wxWidgets.git] / utils / execmon / makefile.gcc
CommitLineData
aa113d87
FM
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.6 (http://www.bakefile.org)\r
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
23EXECMON_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \\r
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
27 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \\r
28 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \\r
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r
30EXECMON_OBJECTS = \\r
31 $(OBJS)\execmon_execmon.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
45ifeq ($(DEBUG_FLAG),default)\r
46WXDEBUGFLAG = d\r
47endif\r
48endif\r
49ifeq ($(DEBUG_FLAG),1)\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
71EXTRALIBS_FOR_BASE = \r
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 ($(BUILD),debug)\r
98ifeq ($(DEBUG_FLAG),default)\r
99__DEBUG_DEFINE_p = -D__WXDEBUG__\r
100endif\r
101endif\r
102ifeq ($(DEBUG_FLAG),1)\r
103__DEBUG_DEFINE_p = -D__WXDEBUG__\r
104endif\r
105ifeq ($(USE_EXCEPTIONS),0)\r
106__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
107endif\r
108ifeq ($(USE_RTTI),0)\r
109__RTTI_DEFINE_p = -DwxNO_RTTI\r
110endif\r
111ifeq ($(USE_THREADS),0)\r
112__THREAD_DEFINE_p = -DwxNO_THREADS\r
113endif\r
114ifeq ($(UNICODE),0)\r
115__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
116endif\r
117ifeq ($(UNICODE),1)\r
118__UNICODE_DEFINE_p = -D_UNICODE\r
119endif\r
120ifeq ($(MSLU),1)\r
121__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
122endif\r
123ifeq ($(USE_GDIPLUS),1)\r
124__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1\r
125endif\r
126ifeq ($(SHARED),1)\r
127__DLLFLAG_p = -DWXUSINGDLL\r
128endif\r
129ifeq ($(MONOLITHIC),0)\r
130__WXLIB_BASE_p = \\r
131 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
132endif\r
133ifeq ($(MONOLITHIC),1)\r
134__WXLIB_MONO_p = \\r
135 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r
136endif\r
137ifeq ($(MSLU),1)\r
138__UNICOWS_LIB_p = -lunicows\r
139endif\r
140ifeq ($(USE_GDIPLUS),1)\r
141__GDIPLUS_LIB_p = -lgdiplus\r
142endif\r
143ifeq ($(BUILD),debug)\r
144ifeq ($(DEBUG_INFO),default)\r
145__DEBUGINFO = -g\r
146endif\r
147endif\r
148ifeq ($(BUILD),release)\r
149ifeq ($(DEBUG_INFO),default)\r
150__DEBUGINFO = \r
151endif\r
152endif\r
153ifeq ($(DEBUG_INFO),0)\r
154__DEBUGINFO = \r
155endif\r
156ifeq ($(DEBUG_INFO),1)\r
157__DEBUGINFO = -g\r
158endif\r
159ifeq ($(USE_THREADS),0)\r
160__THREADSFLAG = \r
161endif\r
162ifeq ($(USE_THREADS),1)\r
163__THREADSFLAG = -mthreads\r
164endif\r
165\r
166\r
167all: $(OBJS)\r
168$(OBJS):\r
169 -if not exist $(OBJS) mkdir $(OBJS)\r
170\r
171### Targets: ###\r
172\r
173all: $(__execmon___depname)\r
174\r
175clean: \r
176 -if exist $(OBJS)\*.o del $(OBJS)\*.o\r
177 -if exist $(OBJS)\*.d del $(OBJS)\*.d\r
178 -if exist $(OBJS)\execmon.exe del $(OBJS)\execmon.exe\r
179\r
180ifeq ($(USE_XRC),1)\r
181$(OBJS)\execmon.exe: $(EXECMON_OBJECTS)\r
182 $(CXX) -o $@ $(EXECMON_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(LDFLAGS) $(__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 -lwininet\r
183endif\r
184\r
185$(OBJS)\execmon_execmon.o: ./execmon.cpp\r
186 $(CXX) -c -o $@ $(EXECMON_CXXFLAGS) $(CPPDEPS) $<\r
187\r
188.PHONY: all clean\r
189\r
190\r
191SHELL := $(COMSPEC)\r
192\r
193# Dependencies tracking:\r
194-include $(OBJS)/*.d\r