Commit 9f059eca52670b0fb2cc4562e97358331672fc0e
1 parent
53360e00
win32/SDL build fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1144 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
6 additions
and
2 deletions
Makefile.target
| @@ -343,6 +343,9 @@ $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a | @@ -343,6 +343,9 @@ $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a | ||
| 343 | sdl.o: sdl.c | 343 | sdl.o: sdl.c |
| 344 | $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $< | 344 | $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $< |
| 345 | 345 | ||
| 346 | +sdlaudio.o: sdlaudio.c | ||
| 347 | + $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $< | ||
| 348 | + | ||
| 346 | depend: $(SRCS) | 349 | depend: $(SRCS) |
| 347 | $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend | 350 | $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend |
| 348 | 351 |
audio/sdlaudio.c
| @@ -21,8 +21,8 @@ | @@ -21,8 +21,8 @@ | ||
| 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 22 | * THE SOFTWARE. | 22 | * THE SOFTWARE. |
| 23 | */ | 23 | */ |
| 24 | -#include <SDL/SDL.h> | ||
| 25 | -#include <SDL/SDL_thread.h> | 24 | +#include <SDL.h> |
| 25 | +#include <SDL_thread.h> | ||
| 26 | #include "vl.h" | 26 | #include "vl.h" |
| 27 | 27 | ||
| 28 | #include "audio/audio_int.h" | 28 | #include "audio/audio_int.h" |
configure
| @@ -172,6 +172,7 @@ if test "$mingw32" = "yes" ; then | @@ -172,6 +172,7 @@ if test "$mingw32" = "yes" ; then | ||
| 172 | target_list="i386-softmmu ppc-softmmu sparc-softmmu" | 172 | target_list="i386-softmmu ppc-softmmu sparc-softmmu" |
| 173 | EXESUF=".exe" | 173 | EXESUF=".exe" |
| 174 | gdbstub="no" | 174 | gdbstub="no" |
| 175 | + oss="no" | ||
| 175 | fi | 176 | fi |
| 176 | 177 | ||
| 177 | if test -z "$cross_prefix" ; then | 178 | if test -z "$cross_prefix" ; then |