274 lines
13 KiB
Makefile
274 lines
13 KiB
Makefile
# Copyright (C) 2002 MandrakeSoft S.A.
|
|
#
|
|
# MandrakeSoft S.A.
|
|
# 43, rue d'Aboukir
|
|
# 75002 Paris - France
|
|
# http://www.linux-mandrake.com/
|
|
# http://www.mandrakesoft.com/
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
# Makefile for the gui component of bochs
|
|
|
|
|
|
@SUFFIX_LINE@
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
SHELL = /bin/sh
|
|
|
|
@SET_MAKE@
|
|
|
|
CXX = @CXX@
|
|
CXXFLAGS = @CXXFLAGS@ `wx-config --cxxflags`
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
BEOS_CFLAGS = -Wno-multichar
|
|
RFB_CFLAGS =
|
|
SDL_CFLAGS = `sdl-config --cflags`
|
|
RANLIB = @RANLIB@
|
|
|
|
GUI_OBJS_X11 = x.o
|
|
GUI_OBJS_SDL = sdl.o
|
|
GUI_OBJS_BEOS = beos.o
|
|
GUI_OBJS_WIN32 = win32.o
|
|
GUI_OBJS_MACOS = macintosh.o
|
|
GUI_OBJS_CARBON = carbon.o
|
|
GUI_OBJS_NOGUI = nogui.o
|
|
GUI_OBJS_TERM = term.o
|
|
GUI_OBJS_RFB = rfb.o
|
|
GUI_OBJS_AMIGAOS = amigaos.o
|
|
GUI_OBJS_WX = wx.o wxmain.o
|
|
GUI_OBJS = keymap.o gui.o siminterface.o @GUI_OBJS@
|
|
|
|
|
|
BX_INCDIRS = -I.. -I$(srcdir)/.. -I../iodev -I$(srcdir)/../iodev -I../@INSTRUMENT_DIR@ -I$(srcdir)/../@INSTRUMENT_DIR@
|
|
LOCAL_CXXFLAGS =
|
|
|
|
#
|
|
# -------- end configurable options --------------------------
|
|
#
|
|
|
|
BX_GUI_OBJS = $(GUI_OBJS)
|
|
|
|
|
|
BX_INCLUDES = ../iodev/iodev.h control.h siminterface.h
|
|
|
|
.@CPP_SUFFIX@.o:
|
|
$(CXX) @DASH@c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) @CXXFP@$< @OFP@$@
|
|
|
|
|
|
|
|
libgui.a: $(BX_GUI_OBJS)
|
|
@RMCOMMAND@ libgui.a
|
|
@MAKELIB@ $(BX_GUI_OBJS)
|
|
$(RANLIB) libgui.a
|
|
|
|
$(BX_GUI_OBJS) : $(BX_INCLUDES)
|
|
|
|
beos.o: beos.@CPP_SUFFIX@
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(BEOS_CFLAGS) $<
|
|
|
|
x.o: x.@CPP_SUFFIX@
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(X_CFLAGS) $<
|
|
|
|
sdl.o: sdl.@CPP_SUFFIX@ sdl.h
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(SDL_CFLAGS) $<
|
|
|
|
rfb.o: rfb.@CPP_SUFFIX@ rfb.h rfbproto.h
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(RFB_CFLAGS) $<
|
|
|
|
x.@CPP_SUFFIX@cc: gui.h
|
|
|
|
beos.@CPP_SUFFIX@cc: gui.h
|
|
|
|
clean:
|
|
@RMCOMMAND@ *.o
|
|
@RMCOMMAND@ *.a
|
|
|
|
dist-clean: clean
|
|
@RMCOMMAND@ Makefile
|
|
|
|
###########################################
|
|
# dependencies generated by
|
|
# gcc -MM -I.. -I../instrument/stubs *.c *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g'
|
|
###########################################
|
|
amigaos.o: amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
|
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
|
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
|
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
|
../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \
|
|
../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h amigagui.h
|
|
beos.o: beos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h ../font/vga.bitmap.h
|
|
carbon.o: carbon.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h ../font/vga.bitmap.h
|
|
control.o: control.@CPP_SUFFIX@ ../config.h ../osdep.h control.h siminterface.h
|
|
gui.o: gui.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h ../gui/bitmaps/floppya.h \
|
|
../gui/bitmaps/floppyb.h ../gui/bitmaps/mouse.h \
|
|
../gui/bitmaps/reset.h ../gui/bitmaps/power.h \
|
|
../gui/bitmaps/snapshot.h ../gui/bitmaps/copy.h \
|
|
../gui/bitmaps/paste.h ../gui/bitmaps/configbutton.h \
|
|
../gui/bitmaps/cdromd.h ../gui/bitmaps/userbutton.h
|
|
keymap.o: keymap.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h
|
|
macintosh.o: macintosh.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
|
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
|
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
|
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
|
../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \
|
|
../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h ../font/vga.bitmap.h
|
|
nogui.o: nogui.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h
|
|
rfb.o: rfb.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h ../font/vga.bitmap.h \
|
|
rfbproto.h
|
|
sdl.o: sdl.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h sdl.h
|
|
siminterface.o: siminterface.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
|
../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \
|
|
../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \
|
|
../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \
|
|
../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \
|
|
../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h
|
|
term.o: term.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h
|
|
win32.o: win32.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h ../font/vga.bitmap.h
|
|
x.o: x.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
|
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
|
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
|
../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \
|
|
../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \
|
|
../iodev/floppy.h ../iodev/harddrv.h ../iodev/cdrom.h \
|
|
../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \
|
|
../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \
|
|
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
|
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
|
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
|
../instrument/stubs/instrument.h icon_bochs.h
|