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 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 PLOTDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
22 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
23 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) -Wall \
24 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
27 $(OBJS)\plotdll_dummy.o \
28 $(OBJS)\plotdll_plot.o
29 PLOTLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
30 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
31 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) -Wall \
32 -I..\..\src\plot\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
33 $(CPPFLAGS) $(CXXFLAGS)
35 $(OBJS)\plotlib_dummy.o \
36 $(OBJS)\plotlib_plot.o
38 ### Conditionally set variables: ###
40 ifeq ($(GCC_VERSION),2.95)
41 GCCFLAGS = -fvtable-thunks
49 ifeq ($(OFFICIAL_BUILD),0)
50 VENDORTAG = _$(VENDOR)
52 ifeq ($(OFFICIAL_BUILD),1)
56 ifeq ($(DEBUG_FLAG),default)
60 ifeq ($(DEBUG_FLAG),1)
73 __plotdll___depname = \
74 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll
76 ifeq ($(MONOLITHIC),1)
78 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
81 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
84 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
87 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
90 __UNICOWS_LIB_p = -lunicows
92 ifeq ($(MONOLITHIC),0)
94 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
96 ifeq ($(MONOLITHIC),0)
98 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
101 __plotlib___depname = \
102 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a
104 ifeq ($(BUILD),debug)
105 ifeq ($(DEBUG_INFO),default)
109 ifeq ($(BUILD),release)
110 ifeq ($(DEBUG_INFO),default)
114 ifeq ($(DEBUG_INFO),0)
117 ifeq ($(DEBUG_INFO),1)
120 ifeq ($(BUILD),debug)
123 ifeq ($(BUILD),release)
126 ifeq ($(USE_EXCEPTIONS),0)
127 __EXCEPTIONSFLAG = -fno-rtti
129 ifeq ($(USE_EXCEPTIONS),1)
132 ifeq ($(USE_EXCEPTIONS),0)
133 __EXCEPTIONSFLAG_0 = -fno-exceptions
135 ifeq ($(USE_EXCEPTIONS),1)
139 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
141 ifeq ($(BUILD),debug)
142 ifeq ($(DEBUG_FLAG),default)
143 __DEBUG_DEFINE_p = -D__WXDEBUG__
146 ifeq ($(DEBUG_FLAG),1)
147 __DEBUG_DEFINE_p = -D__WXDEBUG__
150 __UNICODE_DEFINE_p = -D_UNICODE
153 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_lib$(CFG)
156 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_dll$(CFG)
162 -if not exist $(OBJS) mkdir $(OBJS)
166 all: $(__plotdll___depname) $(__plotlib___depname)
169 -if exist $(OBJS)\*.o del $(OBJS)\*.o
170 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll
171 -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
172 -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
175 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_gcc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS)
176 $(CXX) -shared -o $@ $(PLOTDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
180 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.a: $(PLOTLIB_OBJECTS)
182 ar rcu $@ $(PLOTLIB_OBJECTS)
186 $(OBJS)\plotdll_dummy.o: ../../src/plot/../../../src/msw/dummy.cpp
187 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
189 $(OBJS)\plotdll_plot.o: ../../src/plot/plot.cpp
190 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
192 $(OBJS)\plotlib_dummy.o: ../../src/plot/../../../src/msw/dummy.cpp
193 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
195 $(OBJS)\plotlib_plot.o: ../../src/plot/plot.cpp
196 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<