1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 PLOTDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
20 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
21 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) -Wall \
22 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT \
23 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
25 $(OBJS)\plotdll_dummy.o \
26 $(OBJS)\plotdll_plot.o
27 PLOTLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
28 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) -Wall \
30 -I..\..\src\plot\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
31 $(CPPFLAGS) $(CXXFLAGS)
33 $(OBJS)\plotlib_dummy.o \
34 $(OBJS)\plotlib_plot.o
36 ### Conditionally set variables: ###
38 ifeq ($(GCC_VERSION),2.95)
39 GCCFLAGS = -fvtable-thunks
47 ifeq ($(OFFICIAL_BUILD),0)
48 VENDORTAG = _$(VENDOR)
50 ifeq ($(OFFICIAL_BUILD),1)
54 ifeq ($(DEBUG_FLAG),default)
58 ifeq ($(DEBUG_FLAG),1)
71 __plotdll___depname = \
72 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll
74 ifeq ($(MONOLITHIC),1)
76 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
79 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
82 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
85 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
88 __UNICOWS_LIB_p = -lunicows
90 ifeq ($(MONOLITHIC),0)
92 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
94 ifeq ($(MONOLITHIC),0)
95 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
98 __plotlib___depname = \
99 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
101 ifeq ($(BUILD),debug)
102 ifeq ($(DEBUG_INFO),default)
106 ifeq ($(BUILD),release)
107 ifeq ($(DEBUG_INFO),default)
111 ifeq ($(DEBUG_INFO),0)
114 ifeq ($(DEBUG_INFO),1)
117 ifeq ($(BUILD),debug)
120 ifeq ($(BUILD),release)
123 ifeq ($(USE_EXCEPTIONS),0)
124 __EXCEPTIONSFLAG = -fno-rtti
126 ifeq ($(USE_EXCEPTIONS),1)
129 ifeq ($(USE_EXCEPTIONS),0)
130 __EXCEPTIONSFLAG_0 = -fno-exceptions
132 ifeq ($(USE_EXCEPTIONS),1)
136 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
138 ifeq ($(BUILD),debug)
139 ifeq ($(DEBUG_FLAG),default)
140 __DEBUG_DEFINE_p = -D__WXDEBUG__
143 ifeq ($(DEBUG_FLAG),1)
144 __DEBUG_DEFINE_p = -D__WXDEBUG__
147 __UNICODE_DEFINE_p = -D_UNICODE
150 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_lib$(CFG)
153 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_dll$(CFG)
159 -if not exist $(OBJS) mkdir $(OBJS)
163 all: $(__plotdll___depname) $(__plotlib___depname)
166 -if exist $(OBJS)\*.o del $(OBJS)\*.o
167 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll
168 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
169 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
172 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS)
173 $(CXX) -shared -o $@ $(PLOTDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(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)
177 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a: $(PLOTLIB_OBJECTS)
179 ar rcu $@ $(PLOTLIB_OBJECTS)
183 $(OBJS)\plotdll_dummy.o: ../../src/plot/../../../src/msw/dummy.cpp
184 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
186 $(OBJS)\plotdll_plot.o: ../../src/plot/plot.cpp
187 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
189 $(OBJS)\plotlib_dummy.o: ../../src/plot/../../../src/msw/dummy.cpp
190 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
192 $(OBJS)\plotlib_plot.o: ../../src/plot/plot.cpp
193 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<