1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CPPDEPS = -MT$@ -MF$@.d -MD
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 PLOTDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
23 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
26 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) -W -Wall \
27 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT \
28 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
31 $(OBJS)\plotdll_dummy.o \
32 $(OBJS)\plotdll_version_rc.o \
33 $(OBJS)\plotdll_plot.o
34 PLOTLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
35 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
36 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
37 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
38 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) -W -Wall \
39 -I..\..\src\plot\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
40 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
42 $(OBJS)\plotlib_dummy.o \
43 $(OBJS)\plotlib_plot.o
45 ### Conditionally set variables: ###
47 ifeq ($(GCC_VERSION),2.95)
48 GCCFLAGS = -fvtable-thunks
56 ifeq ($(OFFICIAL_BUILD),0)
57 VENDORTAG = _$(VENDOR)
59 ifeq ($(OFFICIAL_BUILD),1)
63 ifeq ($(DEBUG_FLAG),default)
67 ifeq ($(DEBUG_FLAG),1)
85 ifeq ($(MONOLITHIC),0)
88 ifeq ($(MONOLITHIC),1)
92 __plotdll___depname = \
93 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll
96 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
99 ifeq ($(DEBUG_FLAG),default)
100 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
103 ifeq ($(DEBUG_FLAG),1)
104 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
106 ifeq ($(USE_EXCEPTIONS),0)
107 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
110 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
112 ifeq ($(USE_THREADS),0)
113 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
116 __UNICODE_DEFINE_p_1 = --define _UNICODE
119 __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
121 ifeq ($(MONOLITHIC),1)
123 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
126 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
129 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
132 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
135 __UNICOWS_LIB_p = -lunicows
137 ifeq ($(MONOLITHIC),0)
139 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
141 ifeq ($(MONOLITHIC),0)
143 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
146 __plotlib___depname = \
147 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a
149 ifeq ($(BUILD),debug)
150 ifeq ($(DEBUG_INFO),default)
154 ifeq ($(BUILD),release)
155 ifeq ($(DEBUG_INFO),default)
159 ifeq ($(DEBUG_INFO),0)
162 ifeq ($(DEBUG_INFO),1)
165 ifeq ($(BUILD),debug)
168 ifeq ($(BUILD),release)
171 ifeq ($(USE_THREADS),0)
174 ifeq ($(USE_THREADS),1)
175 __THREADSFLAG = -mthreads
178 __RTTIFLAG = -fno-rtti
183 ifeq ($(USE_EXCEPTIONS),0)
184 __EXCEPTIONSFLAG = -fno-exceptions
186 ifeq ($(USE_EXCEPTIONS),1)
190 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
192 ifeq ($(BUILD),debug)
193 ifeq ($(DEBUG_FLAG),default)
194 __DEBUG_DEFINE_p = -D__WXDEBUG__
197 ifeq ($(DEBUG_FLAG),1)
198 __DEBUG_DEFINE_p = -D__WXDEBUG__
200 ifeq ($(USE_EXCEPTIONS),0)
201 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
204 __RTTI_DEFINE_p = -DwxNO_RTTI
206 ifeq ($(USE_THREADS),0)
207 __THREAD_DEFINE_p = -DwxNO_THREADS
210 __UNICODE_DEFINE_p = -D_UNICODE
213 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
219 -if not exist $(OBJS) mkdir $(OBJS)
223 all: $(__plotdll___depname) $(__plotlib___depname)
226 -if exist $(OBJS)\*.o del $(OBJS)\*.o
227 -if exist $(OBJS)\*.d del $(OBJS)\*.d
228 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll
229 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a
230 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a
233 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_version_rc.o
234 $(CXX) -shared -fPIC -o $@ $(PLOTDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
238 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a: $(PLOTLIB_OBJECTS)
240 ar rcu $@ $(PLOTLIB_OBJECTS)
244 $(OBJS)\plotdll_dummy.o: ../../src/plot/../../../src/msw/dummy.cpp
245 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $(CPPDEPS) $<
247 $(OBJS)\plotdll_version_rc.o: ../../src/plot/../../../src/msw/version.rc
248 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) --include-dir ../../src/plot/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG)
250 $(OBJS)\plotdll_plot.o: ../../src/plot/plot.cpp
251 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $(CPPDEPS) $<
253 $(OBJS)\plotlib_dummy.o: ../../src/plot/../../../src/msw/dummy.cpp
254 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $(CPPDEPS) $<
256 $(OBJS)\plotlib_plot.o: ../../src/plot/plot.cpp
257 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $(CPPDEPS) $<
262 # Dependencies tracking: