]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/ogl/makefile.gcc
removed old expat
[wxWidgets.git] / contrib / build / ogl / 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
15OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
16OGLDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include -I..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\ogl\..\..\..\src\tiff -I..\..\src\ogl\..\..\..\src\jpeg -I..\..\src\ogl\..\..\..\src\png -I..\..\src\ogl\..\..\..\src\zlib -I..\..\src\ogl\..\..\..\src\regex -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL -DwxUSE_DEPRECATED=0 $(CXXFLAGS)
17OGLLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include -I..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\ogl\..\..\..\src\tiff -I..\..\src\ogl\..\..\..\src\jpeg -I..\..\src\ogl\..\..\..\src\png -I..\..\src\ogl\..\..\..\src\zlib -I..\..\src\ogl\..\..\..\src\regex -I..\..\src\ogl\..\..\include $(CXXFLAGS)
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__ogldll___depname = ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_gcc$(VENDORTAG).dll
80endif
81ifeq ($(SHARED),0)
82__ogllib___depname = ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a
83endif
84
85
86all: $(OBJS)
87$(OBJS):
88 -if not exist $(OBJS) mkdir $(OBJS)
89
90### Targets: ###
91
92all: $(__ogldll___depname) $(__ogllib___depname)
93
94$(OBJS)\ogldll_basic.o: ../../src/ogl\basic.cpp
95 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
96
97$(OBJS)\ogldll_basic2.o: ../../src/ogl\basic2.cpp
98 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
99
100$(OBJS)\ogldll_bmpshape.o: ../../src/ogl\bmpshape.cpp
101 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
102
103$(OBJS)\ogldll_canvas.o: ../../src/ogl\canvas.cpp
104 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
105
106$(OBJS)\ogldll_composit.o: ../../src/ogl\composit.cpp
107 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
108
109$(OBJS)\ogldll_constrnt.o: ../../src/ogl\constrnt.cpp
110 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
111
112$(OBJS)\ogldll_divided.o: ../../src/ogl\divided.cpp
113 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
114
115$(OBJS)\ogldll_drawn.o: ../../src/ogl\drawn.cpp
116 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
117
118$(OBJS)\ogldll_dummy.o: ../../src/ogl\..\..\..\src\msw\dummy.cpp
119 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
120
121$(OBJS)\ogldll_lines.o: ../../src/ogl\lines.cpp
122 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
123
124$(OBJS)\ogldll_mfutils.o: ../../src/ogl\mfutils.cpp
125 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
126
127$(OBJS)\ogldll_ogldiag.o: ../../src/ogl\ogldiag.cpp
128 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
129
130$(OBJS)\ogldll_oglmisc.o: ../../src/ogl\oglmisc.cpp
131 $(CXX) -c -o $@ $(OGLDLL_CXXFLAGS) $<
132
133$(OBJS)\ogllib_basic.o: ../../src/ogl\basic.cpp
134 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
135
136$(OBJS)\ogllib_basic2.o: ../../src/ogl\basic2.cpp
137 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
138
139$(OBJS)\ogllib_bmpshape.o: ../../src/ogl\bmpshape.cpp
140 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
141
142$(OBJS)\ogllib_canvas.o: ../../src/ogl\canvas.cpp
143 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
144
145$(OBJS)\ogllib_composit.o: ../../src/ogl\composit.cpp
146 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
147
148$(OBJS)\ogllib_constrnt.o: ../../src/ogl\constrnt.cpp
149 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
150
151$(OBJS)\ogllib_divided.o: ../../src/ogl\divided.cpp
152 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
153
154$(OBJS)\ogllib_drawn.o: ../../src/ogl\drawn.cpp
155 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
156
157$(OBJS)\ogllib_dummy.o: ../../src/ogl\..\..\..\src\msw\dummy.cpp
158 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
159
160$(OBJS)\ogllib_lines.o: ../../src/ogl\lines.cpp
161 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
162
163$(OBJS)\ogllib_mfutils.o: ../../src/ogl\mfutils.cpp
164 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
165
166$(OBJS)\ogllib_ogldiag.o: ../../src/ogl\ogldiag.cpp
167 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
168
169$(OBJS)\ogllib_oglmisc.o: ../../src/ogl\oglmisc.cpp
170 $(CXX) -c -o $@ $(OGLLIB_CXXFLAGS) $<
171
172clean:
173 -if exist $(OBJS)\*.o del $(OBJS)\*.o
174 -if exist ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_gcc$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_gcc$(VENDORTAG).dll
175 -if exist ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a del ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a
176 -if exist ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a del ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a
177
178ifeq ($(SHARED),1)
179..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_gcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.o $(OBJS)\ogldll_basic2.o $(OBJS)\ogldll_canvas.o $(OBJS)\ogldll_divided.o $(OBJS)\ogldll_mfutils.o $(OBJS)\ogldll_oglmisc.o $(OBJS)\ogldll_basic.o $(OBJS)\ogldll_composit.o $(OBJS)\ogldll_drawn.o $(OBJS)\ogldll_bmpshape.o $(OBJS)\ogldll_constrnt.o $(OBJS)\ogldll_lines.o $(OBJS)\ogldll_ogldiag.o
284fa852 180 $(CXX) -shared -o $@ $(OBJS)\ogldll_dummy.o $(OBJS)\ogldll_basic2.o $(OBJS)\ogldll_canvas.o $(OBJS)\ogldll_divided.o $(OBJS)\ogldll_mfutils.o $(OBJS)\ogldll_oglmisc.o $(OBJS)\ogldll_basic.o $(OBJS)\ogldll_composit.o $(OBJS)\ogldll_drawn.o $(OBJS)\ogldll_bmpshape.o $(OBJS)\ogldll_constrnt.o $(OBJS)\ogldll_lines.o $(OBJS)\ogldll_ogldiag.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--out-implib,..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.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
181endif
182
183ifeq ($(SHARED),0)
184..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a: $(OBJS)\ogllib_dummy.o $(OBJS)\ogllib_basic2.o $(OBJS)\ogllib_canvas.o $(OBJS)\ogllib_divided.o $(OBJS)\ogllib_mfutils.o $(OBJS)\ogllib_oglmisc.o $(OBJS)\ogllib_basic.o $(OBJS)\ogllib_composit.o $(OBJS)\ogllib_drawn.o $(OBJS)\ogllib_bmpshape.o $(OBJS)\ogllib_constrnt.o $(OBJS)\ogllib_lines.o $(OBJS)\ogllib_ogldiag.o
185 if exist $@ del $@
186 ar rcu $@ $(OBJS)\ogllib_dummy.o $(OBJS)\ogllib_basic2.o $(OBJS)\ogllib_canvas.o $(OBJS)\ogllib_divided.o $(OBJS)\ogllib_mfutils.o $(OBJS)\ogllib_oglmisc.o $(OBJS)\ogllib_basic.o $(OBJS)\ogllib_composit.o $(OBJS)\ogllib_drawn.o $(OBJS)\ogllib_bmpshape.o $(OBJS)\ogllib_constrnt.o $(OBJS)\ogllib_lines.o $(OBJS)\ogllib_ogldiag.o
187 ranlib $@
188endif
189
190.PHONY: all clean