]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.gcc
warning fixes (closes 767152)
[wxWidgets.git] / contrib / build / gizmos / makefile.gcc
CommitLineData
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
7include ../../../build/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib -I..\..\src\gizmos\..\..\..\src\regex -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS $(CXXFLAGS)
16GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib -I..\..\src\gizmos\..\..\..\src\regex -I..\..\src\gizmos\..\..\include $(CXXFLAGS)
17OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18
19### Conditionally set variables: ###
20
21ifeq ($(GCC_VERSION),2.95)
22GCCFLAGS = -fvtable-thunks
23endif
24ifeq ($(USE_GUI),0)
25PORTNAME = base
26endif
27ifeq ($(USE_GUI),1)
28PORTNAME = msw
29endif
30ifeq ($(OFFICIAL_BUILD),0)
31VENDORTAG = _$(VENDOR)
32endif
33ifeq ($(OFFICIAL_BUILD),1)
34VENDORTAG =
35endif
36ifeq ($(BUILD),debug)
37WXDEBUGFLAG = d
38endif
39ifeq ($(SHARED),1)
40WXDLLFLAG = dll
41endif
42ifeq ($(UNICODE),1)
43WXUNICODEFLAG = u
44endif
45ifeq ($(WXUNIV),1)
46WXUNIVNAME = univ
47endif
48ifeq ($(BUILD),debug)
49__DEBUGFLAG = -g
50endif
51ifeq ($(BUILD),release)
52__DEBUGFLAG =
53endif
54ifeq ($(BUILD),debug)
55__DEBUG_DEFINE_p = -D__WXDEBUG__
56endif
57ifeq ($(BUILD),debug)
58__OPTIMIZEFLAG = -O0
59endif
60ifeq ($(BUILD),release)
61__OPTIMIZEFLAG = -O2
62endif
63ifeq ($(UNICODE),1)
64__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
65endif
66ifeq ($(MONOLITHIC),0)
67__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
68endif
69ifeq ($(MONOLITHIC),0)
70__WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
71endif
72ifeq ($(MONOLITHIC),1)
73__WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
74endif
75ifeq ($(WXUNIV),1)
76__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
77endif
78ifeq ($(SHARED),1)
79__gizmosdll___depname = ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
80endif
81ifeq ($(SHARED),0)
82__gizmoslib___depname = ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
83endif
84
85
86all: $(OBJS)
87$(OBJS):
88 -if not exist $(OBJS) mkdir $(OBJS)
89
90### Targets: ###
91
92all: $(__gizmosdll___depname) $(__gizmoslib___depname)
93
94$(OBJS)\gizmosdll_dummy.o: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
95 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
96
97$(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos\dynamicsash.cpp
98 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
99
100$(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos\editlbox.cpp
101 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
102
103$(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos\ledctrl.cpp
104 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
105
106$(OBJS)\gizmosdll_multicell.o: ../../src/gizmos\multicell.cpp
107 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
108
109$(OBJS)\gizmosdll_splittree.o: ../../src/gizmos\splittree.cpp
110 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
111
112$(OBJS)\gizmosdll_statpict.o: ../../src/gizmos\statpict.cpp
113 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
114
115$(OBJS)\gizmoslib_dummy.o: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
116 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
117
118$(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos\dynamicsash.cpp
119 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
120
121$(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos\editlbox.cpp
122 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
123
124$(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos\ledctrl.cpp
125 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
126
127$(OBJS)\gizmoslib_multicell.o: ../../src/gizmos\multicell.cpp
128 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
129
130$(OBJS)\gizmoslib_splittree.o: ../../src/gizmos\splittree.cpp
131 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
132
133$(OBJS)\gizmoslib_statpict.o: ../../src/gizmos\statpict.cpp
134 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
135
136clean:
137 -if exist $(OBJS)\*.o del $(OBJS)\*.o
138 -if exist ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll del ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll
139 -if exist ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
140 -if exist ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a del ..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a
141
142ifeq ($(SHARED),1)
143..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_gcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.o $(OBJS)\gizmosdll_dynamicsash.o $(OBJS)\gizmosdll_editlbox.o $(OBJS)\gizmosdll_ledctrl.o $(OBJS)\gizmosdll_multicell.o $(OBJS)\gizmosdll_splittree.o $(OBJS)\gizmosdll_statpict.o
284fa852 144 $(CXX) -shared -o $@ $(OBJS)\gizmosdll_dummy.o $(OBJS)\gizmosdll_dynamicsash.o $(OBJS)\gizmosdll_editlbox.o $(OBJS)\gizmosdll_ledctrl.o $(OBJS)\gizmosdll_multicell.o $(OBJS)\gizmosdll_splittree.o $(OBJS)\gizmosdll_statpict.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--out-implib,..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.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_BASE_p) $(__WXLIB_CORE_p)
250700e4
RD
145endif
146
147ifeq ($(SHARED),0)
148..\..\src\gizmos\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.a: $(OBJS)\gizmoslib_dummy.o $(OBJS)\gizmoslib_dynamicsash.o $(OBJS)\gizmoslib_editlbox.o $(OBJS)\gizmoslib_ledctrl.o $(OBJS)\gizmoslib_multicell.o $(OBJS)\gizmoslib_splittree.o $(OBJS)\gizmoslib_statpict.o
149 if exist $@ del $@
150 ar rcu $@ $(OBJS)\gizmoslib_dummy.o $(OBJS)\gizmoslib_dynamicsash.o $(OBJS)\gizmoslib_editlbox.o $(OBJS)\gizmoslib_ledctrl.o $(OBJS)\gizmoslib_multicell.o $(OBJS)\gizmoslib_splittree.o $(OBJS)\gizmoslib_statpict.o
151 ranlib $@
152endif
153
154.PHONY: all clean