• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/opengl/isosurf/
1# =========================================================================
2#     This makefile was generated by
3#     Bakefile 0.2.9 (http://www.bakefile.org)
4#     Do not modify, all changes will be overwritten!
5# =========================================================================
6
7.LONGCOMMANDLINE: dmc link lib smake
8
9!include ../../../build/msw/config.dms
10
11# -------------------------------------------------------------------------
12# Do not modify the rest of this file!
13# -------------------------------------------------------------------------
14
15### Conditionally set variables: ###
16
17!if "$(USE_GUI)" == "0"
18PORTNAME = base
19!endif
20!if "$(USE_GUI)" == "1"
21PORTNAME = msw
22!endif
23!if "$(BUILD)" == "debug"
24!if "$(DEBUG_FLAG)" == "default"
25WXDEBUGFLAG = d
26!endif
27!endif
28!if "$(DEBUG_FLAG)" == "1"
29WXDEBUGFLAG = d
30!endif
31!if "$(UNICODE)" == "1"
32WXUNICODEFLAG = u
33!endif
34!if "$(WXUNIV)" == "1"
35WXUNIVNAME = univ
36!endif
37!if "$(SHARED)" == "1"
38WXDLLFLAG = dll
39!endif
40!if "$(SHARED)" == "0"
41LIBTYPE_SUFFIX = lib
42!endif
43!if "$(SHARED)" == "1"
44LIBTYPE_SUFFIX = dll
45!endif
46!if "$(MONOLITHIC)" == "0"
47EXTRALIBS_FOR_BASE = 
48!endif
49!if "$(MONOLITHIC)" == "1"
50EXTRALIBS_FOR_BASE =  
51!endif
52!if "$(USE_OPENGL)" == "1"
53__isosurf___depname = $(OBJS)\isosurf.exe
54!endif
55!if "$(BUILD)" == "debug"
56!if "$(DEBUG_INFO)" == "default"
57__DEBUGINFO_0 = -g
58!endif
59!endif
60!if "$(BUILD)" == "release"
61!if "$(DEBUG_INFO)" == "default"
62__DEBUGINFO_0 = 
63!endif
64!endif
65!if "$(DEBUG_INFO)" == "0"
66__DEBUGINFO_0 = 
67!endif
68!if "$(DEBUG_INFO)" == "1"
69__DEBUGINFO_0 = -g
70!endif
71!if "$(BUILD)" == "debug"
72!if "$(DEBUG_INFO)" == "default"
73__DEBUGINFO_1 = /DEBUG /CODEVIEW
74!endif
75!endif
76!if "$(BUILD)" == "release"
77!if "$(DEBUG_INFO)" == "default"
78__DEBUGINFO_1 = 
79!endif
80!endif
81!if "$(DEBUG_INFO)" == "0"
82__DEBUGINFO_1 = 
83!endif
84!if "$(DEBUG_INFO)" == "1"
85__DEBUGINFO_1 = /DEBUG /CODEVIEW
86!endif
87!if "$(BUILD)" == "debug"
88__OPTIMIZEFLAG_2 = -o+none
89!endif
90!if "$(BUILD)" == "release"
91__OPTIMIZEFLAG_2 = -o
92!endif
93!if "$(RUNTIME_LIBS)" == "dynamic"
94__RUNTIME_LIBS_5 = -ND
95!endif
96!if "$(RUNTIME_LIBS)" == "static"
97__RUNTIME_LIBS_5 = 
98!endif
99!if "$(USE_RTTI)" == "0"
100__RTTIFLAG_6 = 
101!endif
102!if "$(USE_RTTI)" == "1"
103__RTTIFLAG_6 = -Ar
104!endif
105!if "$(USE_EXCEPTIONS)" == "0"
106__EXCEPTIONSFLAG_7 = 
107!endif
108!if "$(USE_EXCEPTIONS)" == "1"
109__EXCEPTIONSFLAG_7 = -Ae
110!endif
111!if "$(MONOLITHIC)" == "0"
112__WXLIB_CORE_p = \
113	wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
114!endif
115!if "$(MONOLITHIC)" == "0"
116__WXLIB_BASE_p = \
117	wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
118!endif
119!if "$(MONOLITHIC)" == "1"
120__WXLIB_MONO_p = \
121	wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
122!endif
123!if "$(USE_GUI)" == "1"
124__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
125!endif
126!if "$(USE_GUI)" == "1"
127__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
128!endif
129!if "$(USE_GUI)" == "1"
130__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
131!endif
132!if "$(MSLU)" == "1"
133__UNICOWS_LIB_p = unicows.lib
134!endif
135!if "$(USE_GDIPLUS)" == "1"
136__GDIPLUS_LIB_p = gdiplus.lib
137!endif
138!if "$(USE_CAIRO)" == "1"
139__CAIRO_LIB_p = cairo.lib
140!endif
141!if "$(USE_CAIRO)" == "1"
142__CAIRO_LIBDIR_FILENAMES = $(CAIRO_ROOT)\lib
143!endif
144!if "$(WXUNIV)" == "1"
145__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
146!endif
147!if "$(BUILD)" == "debug"
148!if "$(DEBUG_FLAG)" == "default"
149__DEBUG_DEFINE_p = -D__WXDEBUG__
150!endif
151!endif
152!if "$(DEBUG_FLAG)" == "1"
153__DEBUG_DEFINE_p = -D__WXDEBUG__
154!endif
155!if "$(BUILD)" == "release"
156__NDEBUG_DEFINE_p = -DNDEBUG
157!endif
158!if "$(USE_EXCEPTIONS)" == "0"
159__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
160!endif
161!if "$(USE_RTTI)" == "0"
162__RTTI_DEFINE_p = -DwxNO_RTTI
163!endif
164!if "$(USE_THREADS)" == "0"
165__THREAD_DEFINE_p = -DwxNO_THREADS
166!endif
167!if "$(UNICODE)" == "1"
168__UNICODE_DEFINE_p = -D_UNICODE
169!endif
170!if "$(MSLU)" == "1"
171__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
172!endif
173!if "$(USE_GDIPLUS)" == "1"
174__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
175!endif
176!if "$(USE_CAIRO)" == "1"
177____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo
178!endif
179!if "$(SHARED)" == "1"
180__DLLFLAG_p = -DWXUSINGDLL
181!endif
182
183### Variables: ###
184
185WX_RELEASE_NODOT = 28
186OBJS = dmc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
187LIBDIRNAME = .\..\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG)
188SETUPHDIR = $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
189ISOSURF_CXXFLAGS =  $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2)  $(__RUNTIME_LIBS_5)   -D_WIN32_WINNT=0x0400 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -w- -I. $(__DLLFLAG_p) -WA -I.\..\..\..\samples -DNOPCH  $(__RTTIFLAG_6) $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS)
190ISOSURF_OBJECTS =  $(OBJS)\isosurf_isosurf.obj
191
192
193all : $(OBJS)
194$(OBJS) :
195	-if not exist $(OBJS) mkdir $(OBJS)
196
197### Targets: ###
198
199
200all :  $(__isosurf___depname) data
201
202clean :  
203	-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
204	-if exist $(OBJS)\*.res del $(OBJS)\*.res
205	-if exist $(OBJS)\*.sym del $(OBJS)\*.sym
206	-if exist $(OBJS)\isosurf.exe del $(OBJS)\isosurf.exe
207	-if exist $(OBJS)\isosurf.map del $(OBJS)\isosurf.map
208
209!if "$(USE_OPENGL)" == "1"
210$(OBJS)\isosurf.exe :  $(ISOSURF_OBJECTS)  $(OBJS)\isosurf_sample.res
211	link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT  $(__DEBUGINFO_1)  /su:windows:4.0 $(LDFLAGS) $(ISOSURF_OBJECTS),$@,$(OBJS)\isosurf.map, $(LIBDIRNAME)\ wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl.lib  $(__WXLIB_CORE_p)  $(__WXLIB_BASE_p)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  wxzlib$(WXDEBUGFLAG).lib  wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) $(__CAIRO_LIBDIR_FILENAMES)\ kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib,, $(OBJS)\isosurf_sample.res
212!endif
213
214data :  .\isosurf.dat.gz
215	if not exist $(OBJS) mkdir $(OBJS)
216	echo copy .\%%1 $(OBJS)\%%1 > dmars_smake_copy_data.bat
217	!dmars_smake_copy_data.bat $**
218	del dmars_smake_copy_data.bat
219
220$(OBJS)\isosurf_sample.res :  .\..\..\..\samples\sample.rc
221	rcc .\..\..\..\samples\sample.rc -o$@   -D_WIN32_WINNT=0x0400 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -32 -v-
222
223$(OBJS)\isosurf_isosurf.obj :  .\isosurf.cpp
224	$(CXX) -mn -c -cpp -o$@ $(ISOSURF_CXXFLAGS) .\isosurf.cpp
225