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 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 PLOTDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
18 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
19 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
20 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT $(CXXFLAGS)
22 $(OBJS)\plotdll_dummy.o \
23 $(OBJS)\plotdll_plot.o
24 PLOTLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
25 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
27 -I..\..\src\plot\..\..\include $(CXXFLAGS)
29 $(OBJS)\plotlib_dummy.o \
30 $(OBJS)\plotlib_plot.o
32 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
34 ### Conditionally set variables: ###
36 ifeq ($(GCC_VERSION),2.95)
37 GCCFLAGS = -fvtable-thunks
40 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_lib$(CFG)
43 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\gcc_dll$(CFG)
51 ifeq ($(OFFICIAL_BUILD),0)
52 VENDORTAG = _$(VENDOR)
54 ifeq ($(OFFICIAL_BUILD),1)
58 ifeq ($(DEBUG_FLAG),default)
62 ifeq ($(DEBUG_FLAG),1)
75 ifeq ($(DEBUG_INFO),default)
79 ifeq ($(BUILD),release)
80 ifeq ($(DEBUG_INFO),default)
84 ifeq ($(DEBUG_INFO),0)
87 ifeq ($(DEBUG_INFO),1)
91 ifeq ($(DEBUG_FLAG),default)
92 __DEBUG_DEFINE_p = -D__WXDEBUG__
95 ifeq ($(DEBUG_FLAG),1)
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
99 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
102 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
105 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
107 ifeq ($(BUILD),debug)
110 ifeq ($(BUILD),release)
114 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
117 __UNICOWS_LIB_p = -lunicows
119 ifeq ($(MONOLITHIC),0)
120 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
122 ifeq ($(MONOLITHIC),0)
124 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
126 ifeq ($(MONOLITHIC),1)
128 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
131 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
134 __plotdll___depname = \
135 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll
138 __plotlib___depname = \
139 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
145 -if not exist $(OBJS) mkdir $(OBJS)
149 all: $(__plotdll___depname) $(__plotlib___depname)
151 $(OBJS)\plotdll_dummy.o: ../../src/plot\..\..\..\src\msw\dummy.cpp
152 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
154 $(OBJS)\plotdll_plot.o: ../../src/plot\plot.cpp
155 $(CXX) -c -o $@ $(PLOTDLL_CXXFLAGS) $<
157 $(OBJS)\plotlib_dummy.o: ../../src/plot\..\..\..\src\msw\dummy.cpp
158 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
160 $(OBJS)\plotlib_plot.o: ../../src/plot\plot.cpp
161 $(CXX) -c -o $@ $(PLOTLIB_CXXFLAGS) $<
164 -if exist $(OBJS)\*.o del $(OBJS)\*.o
165 -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
166 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
167 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a
170 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_gcc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS)
171 $(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)
175 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.a: $(PLOTLIB_OBJECTS)
177 ar rcu $@ $(PLOTLIB_OBJECTS)