]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/animate/makefile.gcc
note font dialog change
[wxWidgets.git] / contrib / build / animate / makefile.gcc
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 # =========================================================================
6
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 OBJS = \
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 ANIMATEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
22 -Wall -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
23 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
24 ANIMATEDLL_OBJECTS = \
25 $(OBJS)\animatedll_dummy.o \
26 $(OBJS)\animatedll_animate.o
27 ANIMATELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
28 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
30 -Wall -I..\..\src\animate\..\..\include $(__EXCEPTIONSFLAG) \
31 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
32 ANIMATELIB_OBJECTS = \
33 $(OBJS)\animatelib_dummy.o \
34 $(OBJS)\animatelib_animate.o
35
36 ### Conditionally set variables: ###
37
38 ifeq ($(GCC_VERSION),2.95)
39 GCCFLAGS = -fvtable-thunks
40 endif
41 ifeq ($(USE_GUI),0)
42 PORTNAME = base
43 endif
44 ifeq ($(USE_GUI),1)
45 PORTNAME = msw
46 endif
47 ifeq ($(OFFICIAL_BUILD),0)
48 VENDORTAG = _$(VENDOR)
49 endif
50 ifeq ($(OFFICIAL_BUILD),1)
51 VENDORTAG =
52 endif
53 ifeq ($(BUILD),debug)
54 ifeq ($(DEBUG_FLAG),default)
55 WXDEBUGFLAG = d
56 endif
57 endif
58 ifeq ($(DEBUG_FLAG),1)
59 WXDEBUGFLAG = d
60 endif
61 ifeq ($(UNICODE),1)
62 WXUNICODEFLAG = u
63 endif
64 ifeq ($(WXUNIV),1)
65 WXUNIVNAME = univ
66 endif
67 ifeq ($(SHARED),1)
68 WXDLLFLAG = dll
69 endif
70 ifeq ($(SHARED),1)
71 __animatedll___depname = \
72 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll
73 endif
74 ifeq ($(MONOLITHIC),1)
75 __WXLIB_MONO_p = \
76 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
77 endif
78 ifeq ($(USE_GUI),1)
79 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
80 endif
81 ifeq ($(USE_GUI),1)
82 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
83 endif
84 ifeq ($(USE_GUI),1)
85 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
86 endif
87 ifeq ($(MSLU),1)
88 __UNICOWS_LIB_p = -lunicows
89 endif
90 ifeq ($(MONOLITHIC),0)
91 __WXLIB_CORE_p = \
92 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
93 endif
94 ifeq ($(MONOLITHIC),0)
95 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
96 endif
97 ifeq ($(SHARED),0)
98 __animatelib___depname = \
99 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
100 endif
101 ifeq ($(BUILD),debug)
102 ifeq ($(DEBUG_INFO),default)
103 __DEBUGINFO = -g
104 endif
105 endif
106 ifeq ($(BUILD),release)
107 ifeq ($(DEBUG_INFO),default)
108 __DEBUGINFO =
109 endif
110 endif
111 ifeq ($(DEBUG_INFO),0)
112 __DEBUGINFO =
113 endif
114 ifeq ($(DEBUG_INFO),1)
115 __DEBUGINFO = -g
116 endif
117 ifeq ($(BUILD),debug)
118 __OPTIMIZEFLAG = -O0
119 endif
120 ifeq ($(BUILD),release)
121 __OPTIMIZEFLAG = -O2
122 endif
123 ifeq ($(USE_EXCEPTIONS),0)
124 __EXCEPTIONSFLAG = -fno-rtti
125 endif
126 ifeq ($(USE_EXCEPTIONS),1)
127 __EXCEPTIONSFLAG =
128 endif
129 ifeq ($(USE_EXCEPTIONS),0)
130 __EXCEPTIONSFLAG_0 = -fno-exceptions
131 endif
132 ifeq ($(USE_EXCEPTIONS),1)
133 __EXCEPTIONSFLAG_0 =
134 endif
135 ifeq ($(WXUNIV),1)
136 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
137 endif
138 ifeq ($(BUILD),debug)
139 ifeq ($(DEBUG_FLAG),default)
140 __DEBUG_DEFINE_p = -D__WXDEBUG__
141 endif
142 endif
143 ifeq ($(DEBUG_FLAG),1)
144 __DEBUG_DEFINE_p = -D__WXDEBUG__
145 endif
146 ifeq ($(UNICODE),1)
147 __UNICODE_DEFINE_p = -D_UNICODE
148 endif
149 ifeq ($(SHARED),0)
150 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_lib$(CFG)
151 endif
152 ifeq ($(SHARED),1)
153 LIBDIRNAME = ..\..\src\animate\..\..\..\lib\gcc_dll$(CFG)
154 endif
155
156
157 all: $(OBJS)
158 $(OBJS):
159 -if not exist $(OBJS) mkdir $(OBJS)
160
161 ### Targets: ###
162
163 all: $(__animatedll___depname) $(__animatelib___depname)
164
165 clean:
166 -if exist $(OBJS)\*.o del $(OBJS)\*.o
167 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll
168 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
169 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a
170
171 ifeq ($(SHARED),1)
172 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_gcc$(VENDORTAG).dll: $(ANIMATEDLL_OBJECTS)
173 $(CXX) -shared -o $@ $(ANIMATEDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.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)
174 endif
175
176 ifeq ($(SHARED),0)
177 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.a: $(ANIMATELIB_OBJECTS)
178 if exist $@ del $@
179 ar rcu $@ $(ANIMATELIB_OBJECTS)
180 ranlib $@
181 endif
182
183 $(OBJS)\animatedll_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
184 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
185
186 $(OBJS)\animatedll_animate.o: ../../src/animate/animate.cpp
187 $(CXX) -c -o $@ $(ANIMATEDLL_CXXFLAGS) $<
188
189 $(OBJS)\animatelib_dummy.o: ../../src/animate/../../../src/msw/dummy.cpp
190 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
191
192 $(OBJS)\animatelib_animate.o: ../../src/animate/animate.cpp
193 $(CXX) -c -o $@ $(ANIMATELIB_CXXFLAGS) $<
194
195 .PHONY: all clean