]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
f509d00d | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | !include <../../../build/config.vc> | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
16 | OGLDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG_3) $(__DEBUGFLAG) /Fd..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).pdb $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include /I..\..\src\ogl\..\..\..\lib\vc_$(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 /Fp$(OBJS)\wxprec_ogldll.pch /I..\..\src\ogl\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_OGL /DwxUSE_DEPRECATED=0 $(CXXFLAGS) /Yuwx/wxprec.h | |
17 | OGLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG_3) $(__DEBUGFLAG) /Fd..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.pdb $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\ogl\..\..\..\include /I..\..\src\ogl\..\..\..\lib\vc_$(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 /Fp$(OBJS)\wxprec_ogllib.pch /I..\..\src\ogl\..\..\include $(CXXFLAGS) /Yuwx/wxprec.h | |
18 | ||
19 | ### Conditionally set variables: ### | |
20 | ||
21 | !if "$(USE_GUI)" == "0" | |
22 | PORTNAME = base | |
23 | !endif | |
24 | !if "$(USE_GUI)" == "1" | |
25 | PORTNAME = msw | |
26 | !endif | |
27 | !if "$(OFFICIAL_BUILD)" == "0" | |
28 | VENDORTAG = _$(VENDOR) | |
29 | !endif | |
30 | !if "$(OFFICIAL_BUILD)" == "1" | |
31 | VENDORTAG = | |
32 | !endif | |
33 | !if "$(BUILD)" == "debug" | |
34 | WXDEBUGFLAG = d | |
35 | !endif | |
36 | !if "$(SHARED)" == "1" | |
37 | WXDLLFLAG = dll | |
38 | !endif | |
39 | !if "$(UNICODE)" == "1" | |
40 | WXUNICODEFLAG = u | |
41 | !endif | |
42 | !if "$(WXUNIV)" == "1" | |
43 | WXUNIVNAME = univ | |
44 | !endif | |
45 | !if "$(BUILD)" == "debug" | |
46 | __DEBUGFLAG = /Zi | |
47 | !endif | |
48 | !if "$(BUILD)" == "release" | |
49 | __DEBUGFLAG = | |
50 | !endif | |
51 | !if "$(BUILD)" == "debug" | |
52 | __DEBUGFLAG_1 = /DEBUG | |
53 | !endif | |
54 | !if "$(BUILD)" == "release" | |
55 | __DEBUGFLAG_1 = | |
56 | !endif | |
57 | !if "$(BUILD)" == "debug" | |
58 | __DEBUGFLAG_3 = d | |
59 | !endif | |
60 | !if "$(BUILD)" == "release" | |
61 | __DEBUGFLAG_3 = | |
62 | !endif | |
63 | !if "$(BUILD)" == "debug" | |
64 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
65 | !endif | |
66 | !if "$(BUILD)" == "debug" | |
67 | __OPTIMIZEFLAG = /Od | |
68 | !endif | |
69 | !if "$(BUILD)" == "release" | |
70 | __OPTIMIZEFLAG = /O2 | |
71 | !endif | |
72 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
73 | __RUNTIME_LIBS = D | |
74 | !endif | |
75 | !if "$(RUNTIME_LIBS)" == "static" | |
f509d00d | 76 | __RUNTIME_LIBS = T |
250700e4 RD |
77 | !endif |
78 | !if "$(UNICODE)" == "1" | |
79 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
80 | !endif | |
81 | !if "$(MONOLITHIC)" == "0" | |
82 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
83 | !endif | |
84 | !if "$(MONOLITHIC)" == "0" | |
85 | __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
86 | !endif | |
87 | !if "$(MONOLITHIC)" == "1" | |
88 | __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
89 | !endif | |
90 | !if "$(WXUNIV)" == "1" | |
91 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
92 | !endif | |
93 | !if "$(SHARED)" == "1" | |
94 | __ogldll___depname = ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll | |
95 | !endif | |
96 | !if "$(SHARED)" == "0" | |
97 | __ogllib___depname = ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
98 | !endif | |
99 | ||
100 | ||
101 | all: $(OBJS) | |
102 | $(OBJS): | |
103 | -if not exist $(OBJS) mkdir $(OBJS) | |
104 | ||
105 | ### Targets: ### | |
106 | ||
107 | all: $(__ogldll___depname) $(__ogllib___depname) | |
108 | ||
109 | $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp | |
110 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
111 | ||
112 | $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp | |
113 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
114 | ||
115 | $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp | |
116 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
117 | ||
118 | $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp | |
119 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
120 | ||
121 | $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp | |
122 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
123 | ||
124 | $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp | |
125 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
126 | ||
127 | $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp | |
128 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
129 | ||
130 | $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp | |
131 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
132 | ||
133 | $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp | |
134 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
135 | ||
136 | $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp | |
137 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
138 | ||
139 | $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp | |
140 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
141 | ||
142 | $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp | |
143 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
144 | ||
145 | $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp | |
146 | $(CXX) /c /nologo /TP /Fo$@ $(OGLDLL_CXXFLAGS) $** | |
147 | ||
148 | $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp | |
149 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
150 | ||
151 | $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp | |
152 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
153 | ||
154 | $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp | |
155 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
156 | ||
157 | $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp | |
158 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
159 | ||
160 | $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp | |
161 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
162 | ||
163 | $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp | |
164 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
165 | ||
166 | $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp | |
167 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
168 | ||
169 | $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp | |
170 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
171 | ||
172 | $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp | |
173 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
174 | ||
175 | $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp | |
176 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
177 | ||
178 | $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp | |
179 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
180 | ||
181 | $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp | |
182 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
183 | ||
184 | $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp | |
185 | $(CXX) /c /nologo /TP /Fo$@ $(OGLLIB_CXXFLAGS) $** | |
186 | ||
187 | clean: | |
188 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
189 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
190 | -if exist ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll | |
191 | -if exist ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
192 | -if exist ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
193 | ||
194 | !if "$(SHARED)" == "1" | |
195 | ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_vc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj | |
196 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) @<< | |
197 | $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
198 | << | |
199 | !endif | |
200 | ||
201 | !if "$(SHARED)" == "0" | |
202 | ..\..\src\ogl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj | |
203 | if exist $@ del $@ | |
204 | lib /NOLOGO /OUT:$@ @<< | |
205 | $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj | |
206 | << | |
207 | !endif |