]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | include ../../../build/config.gcc | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
16 | OGLDLL_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) | |
17 | OGLLIB_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 | ||
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 | __ogldll___depname = ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_gcc$(VENDORTAG).dll | |
80 | endif | |
81 | ifeq ($(SHARED),0) | |
82 | __ogllib___depname = ..\..\src\ogl\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.a | |
83 | endif | |
84 | ||
85 | ||
86 | all: $(OBJS) | |
87 | $(OBJS): | |
88 | -if not exist $(OBJS) mkdir $(OBJS) | |
89 | ||
90 | ### Targets: ### | |
91 | ||
92 | all: $(__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 | ||
172 | clean: | |
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 | ||
178 | ifeq ($(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 |
181 | endif |
182 | ||
183 | ifeq ($(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 $@ | |
188 | endif | |
189 | ||
190 | .PHONY: all clean |