1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 ..\..\src\plot\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 PLOTDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(LIBDIRNAME) \
22 -I..\..\src\plot\..\..\..\src\tiff -I..\..\src\plot\..\..\..\src\jpeg \
23 -I..\..\src\plot\..\..\..\src\png -I..\..\src\plot\..\..\..\src\zlib \
24 -I..\..\src\plot\..\..\..\src\regex \
25 -I..\..\src\plot\..\..\..\src\expat\lib -I..\..\src\plot\..\..\include \
26 -DWXUSINGDLL -DWXMAKINGDLL_PLOT $(CXXFLAGS)
28 $(OBJS)\plotdll_dummy.o \
29 $(OBJS)\plotdll_plot.o
30 PLOTLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
31 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(LIBDIRNAME) \
33 -I..\..\src\plot\..\..\..\src\tiff -I..\..\src\plot\..\..\..\src\jpeg \
34 -I..\..\src\plot\..\..\..\src\png -I..\..\src\plot\..\..\..\src\zlib \
35 -I..\..\src\plot\..\..\..\src\regex \
36 -I..\..\src\plot\..\..\..\src\expat\lib -I..\..\src\plot\..\..\include \
39 $(OBJS)\plotlib_dummy.o \
40 $(OBJS)\plotlib_plot.o
42 ### Conditionally set variables: ###
44 ifeq ($(GCC_VERSION),2.95)
45 GCCFLAGS = -fvtable-thunks
53 ifeq ($(OFFICIAL_BUILD),0)
54 VENDORTAG = _$(VENDOR)
56 ifeq ($(OFFICIAL_BUILD),1)
60 ifeq ($(DEBUG_FLAG),default)
64 ifeq ($(DEBUG_FLAG),1)
77 ifeq ($(DEBUG_INFO),default)
81 ifeq ($(BUILD),release)
82 ifeq ($(DEBUG_INFO),default)
86 ifeq ($(DEBUG_INFO),0)
89 ifeq ($(DEBUG_INFO),1)
93 ifeq ($(DEBUG_FLAG),default)
94 __DEBUG_DEFINE_p = -D__WXDEBUG__
97 ifeq ($(DEBUG_FLAG),1)
98 __DEBUG_DEFINE_p = -D__WXDEBUG__
101 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
104 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
107 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
109 ifeq ($(BUILD),debug)
112 ifeq ($(BUILD),release)
116 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
119 __UNICOWS_LIB_p = -lunicows
121 ifeq ($(MONOLITHIC),0)
122 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
124 ifeq ($(MONOLITHIC),0)
126 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
128 ifeq ($(MONOLITHIC),1)
130 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
133 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
136 __plotdll___depname = \
137 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll
140 __plotlib___depname = \
141 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
147 -if not exist $(OBJS) mkdir $(OBJS)
151 all: $(__plotdll___depname) $(__plotlib___depname)
153 $(OBJS)\plotdll_dummy.o: ../../src/plot\..\..\..\src\msw\dummy.cpp
154 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
156 $(OBJS)\plotdll_plot.o: ../../src/plot\plot.cpp
157 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
159 $(OBJS)\plotlib_dummy.o: ../../src/plot\..\..\..\src\msw\dummy.cpp
160 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
162 $(OBJS)\plotlib_plot.o: ../../src/plot\plot.cpp
163 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
166 -if exist $(OBJS)\*.o del $(OBJS)\*.o
167 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(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)250$(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 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
177 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a: $(PLOTLIB_OBJECTS)
179 ar rcu $@ $(PLOTLIB_OBJECTS)