]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/foldbar/makefile.gcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / foldbar / makefile.gcc
CommitLineData
f3ac19c2
WS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
f3ac19c2
WS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
c33fae85 15WX_RELEASE_NODOT = 25
b14abf14 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
f3ac19c2
WS
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 19LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
f3ac19c2
WS
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22FOLDBARDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
b14abf14
JS
25 -W -Wall -I..\..\src\foldbar\..\..\include -DWXUSINGDLL \
26 -DWXMAKINGDLL_FOLDBAR $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
27 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
f3ac19c2
WS
28FOLDBARDLL_OBJECTS = \
29 $(OBJS)\foldbardll_dummy.o \
30 $(OBJS)\foldbardll_captionbar.o \
31 $(OBJS)\foldbardll_foldpanelbar.o \
32 $(OBJS)\foldbardll_foldpanelitem.o
33FOLDBARLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
34 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
b14abf14
JS
36 -W -Wall -I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
37 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
f3ac19c2
WS
38FOLDBARLIB_OBJECTS = \
39 $(OBJS)\foldbarlib_dummy.o \
40 $(OBJS)\foldbarlib_captionbar.o \
41 $(OBJS)\foldbarlib_foldpanelbar.o \
42 $(OBJS)\foldbarlib_foldpanelitem.o
43
44### Conditionally set variables: ###
45
46ifeq ($(GCC_VERSION),2.95)
47GCCFLAGS = -fvtable-thunks
48endif
49ifeq ($(USE_GUI),0)
50PORTNAME = base
51endif
52ifeq ($(USE_GUI),1)
53PORTNAME = msw
54endif
55ifeq ($(OFFICIAL_BUILD),0)
56VENDORTAG = _$(VENDOR)
57endif
58ifeq ($(OFFICIAL_BUILD),1)
59VENDORTAG =
60endif
61ifeq ($(BUILD),debug)
62ifeq ($(DEBUG_FLAG),default)
63WXDEBUGFLAG = d
64endif
65endif
66ifeq ($(DEBUG_FLAG),1)
67WXDEBUGFLAG = d
68endif
69ifeq ($(UNICODE),1)
70WXUNICODEFLAG = u
71endif
72ifeq ($(WXUNIV),1)
73WXUNIVNAME = univ
74endif
75ifeq ($(SHARED),1)
76WXDLLFLAG = dll
77endif
b14abf14
JS
78ifeq ($(SHARED),0)
79LIBTYPE_SUFFIX = lib
80endif
81ifeq ($(SHARED),1)
82LIBTYPE_SUFFIX = dll
83endif
dd65d8c8
RN
84ifeq ($(MONOLITHIC),0)
85EXTRALIBS_FOR_BASE =
86endif
87ifeq ($(MONOLITHIC),1)
88EXTRALIBS_FOR_BASE =
89endif
f3ac19c2
WS
90ifeq ($(SHARED),1)
91__foldbardll___depname = \
c33fae85 92 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll
f3ac19c2
WS
93endif
94ifeq ($(MONOLITHIC),1)
95__WXLIB_MONO_p = \
c33fae85 96 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
f3ac19c2
WS
97endif
98ifeq ($(USE_GUI),1)
9c2d002b 99__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
f3ac19c2
WS
100endif
101ifeq ($(USE_GUI),1)
9c2d002b 102__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
f3ac19c2
WS
103endif
104ifeq ($(USE_GUI),1)
9c2d002b 105__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
f3ac19c2
WS
106endif
107ifeq ($(MSLU),1)
108__UNICOWS_LIB_p = -lunicows
109endif
110ifeq ($(MONOLITHIC),0)
111__WXLIB_CORE_p = \
c33fae85 112 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
f3ac19c2
WS
113endif
114ifeq ($(MONOLITHIC),0)
c33fae85
RN
115__WXLIB_BASE_p = \
116 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
f3ac19c2
WS
117endif
118ifeq ($(SHARED),0)
119__foldbarlib___depname = \
c33fae85 120 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
f3ac19c2
WS
121endif
122ifeq ($(BUILD),debug)
123ifeq ($(DEBUG_INFO),default)
124__DEBUGINFO = -g
125endif
126endif
127ifeq ($(BUILD),release)
128ifeq ($(DEBUG_INFO),default)
129__DEBUGINFO =
130endif
131endif
132ifeq ($(DEBUG_INFO),0)
133__DEBUGINFO =
134endif
135ifeq ($(DEBUG_INFO),1)
136__DEBUGINFO = -g
137endif
138ifeq ($(BUILD),debug)
139__OPTIMIZEFLAG = -O0
140endif
141ifeq ($(BUILD),release)
142__OPTIMIZEFLAG = -O2
143endif
144ifeq ($(USE_EXCEPTIONS),0)
145__EXCEPTIONSFLAG = -fno-rtti
146endif
147ifeq ($(USE_EXCEPTIONS),1)
148__EXCEPTIONSFLAG =
149endif
150ifeq ($(USE_EXCEPTIONS),0)
151__EXCEPTIONSFLAG_0 = -fno-exceptions
152endif
153ifeq ($(USE_EXCEPTIONS),1)
154__EXCEPTIONSFLAG_0 =
155endif
156ifeq ($(WXUNIV),1)
157__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
158endif
159ifeq ($(BUILD),debug)
160ifeq ($(DEBUG_FLAG),default)
161__DEBUG_DEFINE_p = -D__WXDEBUG__
162endif
163endif
164ifeq ($(DEBUG_FLAG),1)
165__DEBUG_DEFINE_p = -D__WXDEBUG__
166endif
167ifeq ($(UNICODE),1)
168__UNICODE_DEFINE_p = -D_UNICODE
169endif
f3ac19c2
WS
170
171
172all: $(OBJS)
173$(OBJS):
174 -if not exist $(OBJS) mkdir $(OBJS)
175
176### Targets: ###
177
178all: $(__foldbardll___depname) $(__foldbarlib___depname)
179
180clean:
181 -if exist $(OBJS)\*.o del $(OBJS)\*.o
c33fae85
RN
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll
183 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
184 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a
f3ac19c2
WS
185
186ifeq ($(SHARED),1)
c33fae85 187$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_gcc$(VENDORTAG).dll: $(FOLDBARDLL_OBJECTS)
b14abf14 188 $(CXX) -shared -fPIC -o $@ $(FOLDBARDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
f3ac19c2
WS
189endif
190
191ifeq ($(SHARED),0)
c33fae85 192$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.a: $(FOLDBARLIB_OBJECTS)
f3ac19c2
WS
193 if exist $@ del $@
194 ar rcu $@ $(FOLDBARLIB_OBJECTS)
195 ranlib $@
196endif
197
198$(OBJS)\foldbardll_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
199 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
200
201$(OBJS)\foldbardll_captionbar.o: ../../src/foldbar/captionbar.cpp
202 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
203
204$(OBJS)\foldbardll_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
205 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
206
207$(OBJS)\foldbardll_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
208 $(CXX) -c -o $@ $(FOLDBARDLL_CXXFLAGS) $<
209
210$(OBJS)\foldbarlib_dummy.o: ../../src/foldbar/../../../src/msw/dummy.cpp
211 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
212
213$(OBJS)\foldbarlib_captionbar.o: ../../src/foldbar/captionbar.cpp
214 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
215
216$(OBJS)\foldbarlib_foldpanelbar.o: ../../src/foldbar/foldpanelbar.cpp
217 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
218
219$(OBJS)\foldbarlib_foldpanelitem.o: ../../src/foldbar/foldpanelitem.cpp
220 $(CXX) -c -o $@ $(FOLDBARLIB_CXXFLAGS) $<
221
222.PHONY: all clean
b14abf14 223