]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.gcc
fixed import lib creation with gcc
[wxWidgets.git] / contrib / build / fl / makefile.gcc
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 FLDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\fl\..\..\..\src\tiff -I..\..\src\fl\..\..\..\src\jpeg -I..\..\src\fl\..\..\..\src\png -I..\..\src\fl\..\..\..\src\zlib -I..\..\src\fl\..\..\..\src\regex -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL $(CXXFLAGS)
16 FLLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\fl\..\..\..\src\tiff -I..\..\src\fl\..\..\..\src\jpeg -I..\..\src\fl\..\..\..\src\png -I..\..\src\fl\..\..\..\src\zlib -I..\..\src\fl\..\..\..\src\regex -I..\..\src\fl\..\..\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 __fldll___depname = ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll
80 endif
81 ifeq ($(SHARED),0)
82 __fllib___depname = ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a
83 endif
84
85
86 all: $(OBJS)
87 $(OBJS):
88 -if not exist $(OBJS) mkdir $(OBJS)
89
90 ### Targets: ###
91
92 all: $(__fldll___depname) $(__fllib___depname)
93
94 $(OBJS)\fldll_antiflickpl.o: ../../src/fl\antiflickpl.cpp
95 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
96
97 $(OBJS)\fldll_bardragpl.o: ../../src/fl\bardragpl.cpp
98 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
99
100 $(OBJS)\fldll_barhintspl.o: ../../src/fl\barhintspl.cpp
101 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
102
103 $(OBJS)\fldll_cbcustom.o: ../../src/fl\cbcustom.cpp
104 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
105
106 $(OBJS)\fldll_controlbar.o: ../../src/fl\controlbar.cpp
107 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
108
109 $(OBJS)\fldll_dummy.o: ../../src/fl\..\..\..\src\msw\dummy.cpp
110 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
111
112 $(OBJS)\fldll_dyntbar.o: ../../src/fl\dyntbar.cpp
113 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
114
115 $(OBJS)\fldll_dyntbarhnd.o: ../../src/fl\dyntbarhnd.cpp
116 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
117
118 $(OBJS)\fldll_frmview.o: ../../src/fl\frmview.cpp
119 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
120
121 $(OBJS)\fldll_garbagec.o: ../../src/fl\garbagec.cpp
122 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
123
124 $(OBJS)\fldll_gcupdatesmgr.o: ../../src/fl\gcupdatesmgr.cpp
125 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
126
127 $(OBJS)\fldll_hintanimpl.o: ../../src/fl\hintanimpl.cpp
128 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
129
130 $(OBJS)\fldll_newbmpbtn.o: ../../src/fl\newbmpbtn.cpp
131 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
132
133 $(OBJS)\fldll_panedrawpl.o: ../../src/fl\panedrawpl.cpp
134 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
135
136 $(OBJS)\fldll_rowdragpl.o: ../../src/fl\rowdragpl.cpp
137 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
138
139 $(OBJS)\fldll_rowlayoutpl.o: ../../src/fl\rowlayoutpl.cpp
140 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
141
142 $(OBJS)\fldll_toolwnd.o: ../../src/fl\toolwnd.cpp
143 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
144
145 $(OBJS)\fldll_updatesmgr.o: ../../src/fl\updatesmgr.cpp
146 $(CXX) -c -o $@ $(FLDLL_CXXFLAGS) $<
147
148 $(OBJS)\fllib_antiflickpl.o: ../../src/fl\antiflickpl.cpp
149 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
150
151 $(OBJS)\fllib_bardragpl.o: ../../src/fl\bardragpl.cpp
152 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
153
154 $(OBJS)\fllib_barhintspl.o: ../../src/fl\barhintspl.cpp
155 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
156
157 $(OBJS)\fllib_cbcustom.o: ../../src/fl\cbcustom.cpp
158 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
159
160 $(OBJS)\fllib_controlbar.o: ../../src/fl\controlbar.cpp
161 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
162
163 $(OBJS)\fllib_dummy.o: ../../src/fl\..\..\..\src\msw\dummy.cpp
164 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
165
166 $(OBJS)\fllib_dyntbar.o: ../../src/fl\dyntbar.cpp
167 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
168
169 $(OBJS)\fllib_dyntbarhnd.o: ../../src/fl\dyntbarhnd.cpp
170 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
171
172 $(OBJS)\fllib_frmview.o: ../../src/fl\frmview.cpp
173 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
174
175 $(OBJS)\fllib_garbagec.o: ../../src/fl\garbagec.cpp
176 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
177
178 $(OBJS)\fllib_gcupdatesmgr.o: ../../src/fl\gcupdatesmgr.cpp
179 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
180
181 $(OBJS)\fllib_hintanimpl.o: ../../src/fl\hintanimpl.cpp
182 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
183
184 $(OBJS)\fllib_newbmpbtn.o: ../../src/fl\newbmpbtn.cpp
185 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
186
187 $(OBJS)\fllib_panedrawpl.o: ../../src/fl\panedrawpl.cpp
188 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
189
190 $(OBJS)\fllib_rowdragpl.o: ../../src/fl\rowdragpl.cpp
191 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
192
193 $(OBJS)\fllib_rowlayoutpl.o: ../../src/fl\rowlayoutpl.cpp
194 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
195
196 $(OBJS)\fllib_toolwnd.o: ../../src/fl\toolwnd.cpp
197 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
198
199 $(OBJS)\fllib_updatesmgr.o: ../../src/fl\updatesmgr.cpp
200 $(CXX) -c -o $@ $(FLLIB_CXXFLAGS) $<
201
202 clean:
203 -if exist $(OBJS)\*.o del $(OBJS)\*.o
204 -if exist ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll del ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll
205 -if exist ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a del ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a
206 -if exist ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a del ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a
207
208 ifeq ($(SHARED),1)
209 ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_gcc$(VENDORTAG).dll: $(OBJS)\fldll_dummy.o $(OBJS)\fldll_antiflickpl.o $(OBJS)\fldll_bardragpl.o $(OBJS)\fldll_barhintspl.o $(OBJS)\fldll_cbcustom.o $(OBJS)\fldll_controlbar.o $(OBJS)\fldll_dyntbar.o $(OBJS)\fldll_dyntbarhnd.o $(OBJS)\fldll_frmview.o $(OBJS)\fldll_garbagec.o $(OBJS)\fldll_gcupdatesmgr.o $(OBJS)\fldll_hintanimpl.o $(OBJS)\fldll_newbmpbtn.o $(OBJS)\fldll_panedrawpl.o $(OBJS)\fldll_rowdragpl.o $(OBJS)\fldll_rowlayoutpl.o $(OBJS)\fldll_toolwnd.o $(OBJS)\fldll_updatesmgr.o
210 $(CXX) -shared -o $@ $(OBJS)\fldll_dummy.o $(OBJS)\fldll_antiflickpl.o $(OBJS)\fldll_bardragpl.o $(OBJS)\fldll_barhintspl.o $(OBJS)\fldll_cbcustom.o $(OBJS)\fldll_controlbar.o $(OBJS)\fldll_dyntbar.o $(OBJS)\fldll_dyntbarhnd.o $(OBJS)\fldll_frmview.o $(OBJS)\fldll_garbagec.o $(OBJS)\fldll_gcupdatesmgr.o $(OBJS)\fldll_hintanimpl.o $(OBJS)\fldll_newbmpbtn.o $(OBJS)\fldll_panedrawpl.o $(OBJS)\fldll_rowdragpl.o $(OBJS)\fldll_rowlayoutpl.o $(OBJS)\fldll_toolwnd.o $(OBJS)\fldll_updatesmgr.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--out-implib,..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.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)
211 endif
212
213 ifeq ($(SHARED),0)
214 ..\..\src\fl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.a: $(OBJS)\fllib_dummy.o $(OBJS)\fllib_antiflickpl.o $(OBJS)\fllib_bardragpl.o $(OBJS)\fllib_barhintspl.o $(OBJS)\fllib_cbcustom.o $(OBJS)\fllib_controlbar.o $(OBJS)\fllib_dyntbar.o $(OBJS)\fllib_dyntbarhnd.o $(OBJS)\fllib_frmview.o $(OBJS)\fllib_garbagec.o $(OBJS)\fllib_gcupdatesmgr.o $(OBJS)\fllib_hintanimpl.o $(OBJS)\fllib_newbmpbtn.o $(OBJS)\fllib_panedrawpl.o $(OBJS)\fllib_rowdragpl.o $(OBJS)\fllib_rowlayoutpl.o $(OBJS)\fllib_toolwnd.o $(OBJS)\fllib_updatesmgr.o
215 if exist $@ del $@
216 ar rcu $@ $(OBJS)\fllib_dummy.o $(OBJS)\fllib_antiflickpl.o $(OBJS)\fllib_bardragpl.o $(OBJS)\fllib_barhintspl.o $(OBJS)\fllib_cbcustom.o $(OBJS)\fllib_controlbar.o $(OBJS)\fllib_dyntbar.o $(OBJS)\fllib_dyntbarhnd.o $(OBJS)\fllib_frmview.o $(OBJS)\fllib_garbagec.o $(OBJS)\fllib_gcupdatesmgr.o $(OBJS)\fllib_hintanimpl.o $(OBJS)\fllib_newbmpbtn.o $(OBJS)\fllib_panedrawpl.o $(OBJS)\fllib_rowdragpl.o $(OBJS)\fllib_rowlayoutpl.o $(OBJS)\fllib_toolwnd.o $(OBJS)\fllib_updatesmgr.o
217 ranlib $@
218 endif
219
220 .PHONY: all clean