]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | include ../../../build/config.gcc | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\animate\..\..\..\src\tiff -I..\..\src\animate\..\..\..\src\jpeg -I..\..\src\animate\..\..\..\src\png -I..\..\src\animate\..\..\..\src\zlib -I..\..\src\animate\..\..\..\src\regex -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE $(CXXFLAGS) | |
16 | ANIMATELIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\animate\..\..\..\src\tiff -I..\..\src\animate\..\..\..\src\jpeg -I..\..\src\animate\..\..\..\src\png -I..\..\src\animate\..\..\..\src\zlib -I..\..\src\animate\..\..\..\src\regex -I..\..\src\animate\..\..\include $(CXXFLAGS) | |
17 | OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
18 | ||
19 | ### Conditionally set variables: ### | |
20 | ||
21 | ifeq ($(GCC_VERSION),2.95) | |
22 | GCCFLAGS = -fvtable-thunks | |
23 | endif | |
24 | ifeq ($(USE_GUI),0) | |
25 | PORTNAME = base | |
26 | endif | |
27 | ifeq ($(USE_GUI),1) | |
28 | PORTNAME = msw | |
29 | endif | |
30 | ifeq ($(OFFICIAL_BUILD),0) | |
31 | VENDORTAG = _$(VENDOR) | |
32 | endif | |
33 | ifeq ($(OFFICIAL_BUILD),1) | |
34 | VENDORTAG = | |
35 | endif | |
36 | ifeq ($(BUILD),debug) | |
37 | WXDEBUGFLAG = d | |
38 | endif | |
39 | ifeq ($(SHARED),1) | |
40 | WXDLLFLAG = dll | |
41 | endif | |
42 | ifeq ($(UNICODE),1) | |
43 | WXUNICODEFLAG = u | |
44 | endif | |
45 | ifeq ($(WXUNIV),1) | |
46 | WXUNIVNAME = univ | |
47 | endif | |
48 | ifeq ($(BUILD),debug) | |
49 | __DEBUGFLAG = -g | |
50 | endif | |
51 | ifeq ($(BUILD),release) | |
52 | __DEBUGFLAG = | |
53 | endif | |
54 | ifeq ($(BUILD),debug) | |
55 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
56 | endif | |
57 | ifeq ($(BUILD),debug) | |
58 | __OPTIMIZEFLAG = -O0 | |
59 | endif | |
60 | ifeq ($(BUILD),release) | |
61 | __OPTIMIZEFLAG = -O2 | |
62 | endif | |
63 | ifeq ($(UNICODE),1) | |
64 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
65 | endif | |
66 | ifeq ($(MONOLITHIC),0) | |
67 | __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
68 | endif | |
69 | ifeq ($(MONOLITHIC),0) | |
70 | __WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core | |
71 | endif | |
72 | ifeq ($(MONOLITHIC),1) | |
73 | __WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
74 | endif | |
75 | ifeq ($(WXUNIV),1) | |
76 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
77 | endif | |
78 | ifeq ($(SHARED),1) | |
79 | __animatedll___depname = ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll | |
80 | endif | |
81 | ifeq ($(SHARED),0) | |
82 | __animatelib___depname = ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a | |
83 | endif | |
84 | ||
85 | ||
86 | all: $(OBJS) | |
87 | $(OBJS): | |
88 | -if not exist $(OBJS) mkdir $(OBJS) | |
89 | ||
90 | ### Targets: ### | |
91 | ||
92 | all: $(__animatedll___depname) $(__animatelib___depname) | |
93 | ||
94 | $(OBJS)\animatedll_animate.o: ../../src/animate\animate.cpp | |
95 | $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $< | |
96 | ||
97 | $(OBJS)\animatedll_dummy.o: ../../src/animate\..\..\..\src\msw\dummy.cpp | |
98 | $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $< | |
99 | ||
100 | $(OBJS)\animatelib_animate.o: ../../src/animate\animate.cpp | |
101 | $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $< | |
102 | ||
103 | $(OBJS)\animatelib_dummy.o: ../../src/animate\..\..\..\src\msw\dummy.cpp | |
104 | $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $< | |
105 | ||
106 | ifeq ($(SHARED),1) | |
107 | ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.o $(OBJS)\animatedll_animate.o | |
284fa852 | 108 | $(CXX) -shared -o $@ $(OBJS)\animatedll_dummy.o $(OBJS)\animatedll_animate.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--out-implib,..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a $(__WXLIB_MONO_p) -lwxtiff$(WXDEBUGFLAG) -lwxjpeg$(WXDEBUGFLAG) -lwxpng$(WXDEBUGFLAG) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) |
250700e4 RD |
109 | endif |
110 | ||
111 | ifeq ($(SHARED),0) | |
112 | ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a: $(OBJS)\animatelib_dummy.o $(OBJS)\animatelib_animate.o | |
113 | if exist $@ del $@ | |
114 | ar rcu $@ $(OBJS)\animatelib_dummy.o $(OBJS)\animatelib_animate.o | |
115 | ranlib $@ | |
116 | endif | |
117 | ||
118 | clean: | |
119 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
120 | -if exist ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll del ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll | |
121 | -if exist ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a | |
122 | -if exist ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del ..\..\src\animate\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a | |
123 | ||
124 | .PHONY: all clean |