Recognizes if input is ogg or not.
[xiph.git] / ao / win32 / example.mak
blobe52ce85df3048fd28fc64e813ead68f2f95ed822
1 # Microsoft Developer Studio Generated NMAKE File, Based on example.dsp
2 !IF "$(CFG)" == ""
3 CFG=example - Win32 Debug
4 !MESSAGE No configuration specified. Defaulting to example - Win32 Debug.
5 !ENDIF
7 !IF "$(CFG)" != "example - Win32 Release" && "$(CFG)" != "example - Win32 Debug"
8 !MESSAGE Invalid configuration "$(CFG)" specified.
9 !MESSAGE You can specify a configuration when running NMAKE
10 !MESSAGE by defining the macro CFG on the command line. For example:
11 !MESSAGE
12 !MESSAGE NMAKE /f "example.mak" CFG="example - Win32 Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "example - Win32 Release" (based on "Win32 (x86) Console Application")
17 !MESSAGE "example - Win32 Debug" (based on "Win32 (x86) Console Application")
18 !MESSAGE
19 !ERROR An invalid configuration is specified.
20 !ENDIF
22 !IF "$(OS)" == "Windows_NT"
23 NULL=
24 !ELSE
25 NULL=nul
26 !ENDIF
28 CPP=cl.exe
29 RSC=rc.exe
31 !IF "$(CFG)" == "example - Win32 Release"
33 OUTDIR=.\Release/example
34 INTDIR=.\Release/example
36 !IF "$(RECURSE)" == "0"
38 ALL : ".\Release\bin\dynamic\ao_example.exe"
40 !ELSE
42 ALL : "dsound - Win32 Release" "ao - Win32 Release" ".\Release\bin\dynamic\ao_example.exe"
44 !ENDIF
46 !IF "$(RECURSE)" == "1"
47 CLEAN :"ao - Win32 ReleaseCLEAN" "dsound - Win32 ReleaseCLEAN"
48 !ELSE
49 CLEAN :
50 !ENDIF
51 -@erase "$(INTDIR)\ao_example.obj"
52 -@erase "$(INTDIR)\vc60.idb"
53 -@erase ".\Release\bin\dynamic\ao_example.exe"
55 "$(OUTDIR)" :
56 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
58 CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "../include" /I "../win32/include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
59 BSC32=bscmake.exe
60 BSC32_FLAGS=/nologo /o"$(OUTDIR)\example.bsc"
61 BSC32_SBRS= \
63 LINK32=link.exe
64 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\ao_example.pdb" /machine:I386 /out:"Release/bin/dynamic/ao_example.exe"
65 LINK32_OBJS= \
66 "$(INTDIR)\ao_example.obj" \
67 ".\Release\dynlib\ao.lib"
69 ".\Release\bin\dynamic\ao_example.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
70 $(LINK32) @<<
71 $(LINK32_FLAGS) $(LINK32_OBJS)
74 !ELSEIF "$(CFG)" == "example - Win32 Debug"
76 OUTDIR=.\Debug/example
77 INTDIR=.\Debug/example
78 # Begin Custom Macros
79 OutDir=.\Debug/example
80 # End Custom Macros
82 !IF "$(RECURSE)" == "0"
84 ALL : ".\Debug\bin\dynamic\ao_example.exe" "$(OUTDIR)\example.bsc"
86 !ELSE
88 ALL : "dsound - Win32 Debug" "ao - Win32 Debug" ".\Debug\bin\dynamic\ao_example.exe" "$(OUTDIR)\example.bsc"
90 !ENDIF
92 !IF "$(RECURSE)" == "1"
93 CLEAN :"ao - Win32 DebugCLEAN" "dsound - Win32 DebugCLEAN"
94 !ELSE
95 CLEAN :
96 !ENDIF
97 -@erase "$(INTDIR)\ao_example.obj"
98 -@erase "$(INTDIR)\ao_example.sbr"
99 -@erase "$(INTDIR)\vc60.idb"
100 -@erase "$(INTDIR)\vc60.pdb"
101 -@erase "$(OUTDIR)\ao_example.pdb"
102 -@erase "$(OUTDIR)\example.bsc"
103 -@erase ".\Debug\bin\dynamic\ao_example.exe"
104 -@erase ".\Debug\bin\dynamic\ao_example.ilk"
106 "$(OUTDIR)" :
107 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
109 CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "../include" /I "../win32/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
110 BSC32=bscmake.exe
111 BSC32_FLAGS=/nologo /o"$(OUTDIR)\example.bsc"
112 BSC32_SBRS= \
113 "$(INTDIR)\ao_example.sbr"
115 "$(OUTDIR)\example.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
116 $(BSC32) @<<
117 $(BSC32_FLAGS) $(BSC32_SBRS)
120 LINK32=link.exe
121 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ao_d.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\ao_example.pdb" /debug /machine:I386 /out:"Debug/bin/dynamic/ao_example.exe" /pdbtype:sept /libpath:"./lib"
122 LINK32_OBJS= \
123 "$(INTDIR)\ao_example.obj" \
124 ".\Debug\dynlib\ao_d.lib"
126 ".\Debug\bin\dynamic\ao_example.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
127 $(LINK32) @<<
128 $(LINK32_FLAGS) $(LINK32_OBJS)
131 !ENDIF
133 .c{$(INTDIR)}.obj::
134 $(CPP) @<<
135 $(CPP_PROJ) $<
138 .cpp{$(INTDIR)}.obj::
139 $(CPP) @<<
140 $(CPP_PROJ) $<
143 .cxx{$(INTDIR)}.obj::
144 $(CPP) @<<
145 $(CPP_PROJ) $<
148 .c{$(INTDIR)}.sbr::
149 $(CPP) @<<
150 $(CPP_PROJ) $<
153 .cpp{$(INTDIR)}.sbr::
154 $(CPP) @<<
155 $(CPP_PROJ) $<
158 .cxx{$(INTDIR)}.sbr::
159 $(CPP) @<<
160 $(CPP_PROJ) $<
164 !IF "$(NO_EXTERNAL_DEPS)" != "1"
165 !IF EXISTS("example.dep")
166 !INCLUDE "example.dep"
167 !ELSE
168 !MESSAGE Warning: cannot find "example.dep"
169 !ENDIF
170 !ENDIF
173 !IF "$(CFG)" == "example - Win32 Release" || "$(CFG)" == "example - Win32 Debug"
174 SOURCE=..\doc\ao_example.c
176 !IF "$(CFG)" == "example - Win32 Release"
179 "$(INTDIR)\ao_example.obj" : $(SOURCE) "$(INTDIR)"
180 $(CPP) $(CPP_PROJ) $(SOURCE)
183 !ELSEIF "$(CFG)" == "example - Win32 Debug"
186 "$(INTDIR)\ao_example.obj" "$(INTDIR)\ao_example.sbr" : $(SOURCE) "$(INTDIR)"
187 $(CPP) $(CPP_PROJ) $(SOURCE)
190 !ENDIF
192 !IF "$(CFG)" == "example - Win32 Release"
194 "ao - Win32 Release" :
195 cd "."
196 $(MAKE) /$(MAKEFLAGS) /F .\ao.mak CFG="ao - Win32 Release"
197 cd "."
199 "ao - Win32 ReleaseCLEAN" :
200 cd "."
201 $(MAKE) /$(MAKEFLAGS) /F .\ao.mak CFG="ao - Win32 Release" RECURSE=1 CLEAN
202 cd "."
204 !ELSEIF "$(CFG)" == "example - Win32 Debug"
206 "ao - Win32 Debug" :
207 cd "."
208 $(MAKE) /$(MAKEFLAGS) /F .\ao.mak CFG="ao - Win32 Debug"
209 cd "."
211 "ao - Win32 DebugCLEAN" :
212 cd "."
213 $(MAKE) /$(MAKEFLAGS) /F .\ao.mak CFG="ao - Win32 Debug" RECURSE=1 CLEAN
214 cd "."
216 !ENDIF
218 !IF "$(CFG)" == "example - Win32 Release"
220 "dsound - Win32 Release" :
221 cd "\src\codec\vorbis\ao\src\plugins\dsound"
222 $(MAKE) /$(MAKEFLAGS) /F .\dsound.mak CFG="dsound - Win32 Release"
223 cd "..\..\..\win32"
225 "dsound - Win32 ReleaseCLEAN" :
226 cd "\src\codec\vorbis\ao\src\plugins\dsound"
227 $(MAKE) /$(MAKEFLAGS) /F .\dsound.mak CFG="dsound - Win32 Release" RECURSE=1 CLEAN
228 cd "..\..\..\win32"
230 !ELSEIF "$(CFG)" == "example - Win32 Debug"
232 "dsound - Win32 Debug" :
233 cd "\src\codec\vorbis\ao\src\plugins\dsound"
234 $(MAKE) /$(MAKEFLAGS) /F .\dsound.mak CFG="dsound - Win32 Debug"
235 cd "..\..\..\win32"
237 "dsound - Win32 DebugCLEAN" :
238 cd "\src\codec\vorbis\ao\src\plugins\dsound"
239 $(MAKE) /$(MAKEFLAGS) /F .\dsound.mak CFG="dsound - Win32 Debug" RECURSE=1 CLEAN
240 cd "..\..\..\win32"
242 !ENDIF
245 !ENDIF