Search
lxdream.org :: lxdream/src/Makefile.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.in
changeset 731:ee2e929cca3a
prev725:4d4018e8eeb8
next734:f8fcc8322b45
author nkeynes
date Tue Jul 08 12:29:53 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Fixup out-of-tree builds to work properly, mostly fix dist target
file annotate diff log raw
1.1 --- a/src/Makefile.in Sun Jul 06 03:18:55 2008 +0000
1.2 +++ b/src/Makefile.in Tue Jul 08 12:29:53 2008 +0000
1.3 @@ -43,20 +43,22 @@
1.4 @BUILD_SH4X86_TRUE@ sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
1.5 @BUILD_SH4X86_TRUE@ sh4/sh4trans.c sh4/sh4trans.h \
1.6 @BUILD_SH4X86_TRUE@ x86dasm/x86dasm.c x86dasm/x86dasm.h \
1.7 -@BUILD_SH4X86_TRUE@ x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c
1.8 +@BUILD_SH4X86_TRUE@ x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c \
1.9 +@BUILD_SH4X86_TRUE@ x86dasm/ansidecl.h x86dasm/bfd.h x86dasm/config.h x86dasm/dis-asm.h \
1.10 +@BUILD_SH4X86_TRUE@ x86dasm/opintl.h x86dasm/symcat.h x86dasm/sysdep.h
1.11
1.12 @BUILD_SH4X86_TRUE@am__append_2 = test/testsh4x86
1.13 @GUI_GTK_TRUE@am__append_3 = gtkui/gtkui.c gtkui/gtkui.h \
1.14 @GUI_GTK_TRUE@ gtkui/main_win.c gtkui/gtkcb.c \
1.15 @GUI_GTK_TRUE@ gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
1.16 @GUI_GTK_TRUE@ gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
1.17 -@GUI_GTK_TRUE@ drivers/video_gtk.c drivers/video_gtk.h
1.18 +@GUI_GTK_TRUE@ drivers/video_gtk.c
1.19
1.20 @GUI_COCOA_TRUE@am__append_4 = cocoaui/cocoaui.c cocoaui/cocoaui.h \
1.21 @GUI_COCOA_TRUE@ cocoaui/cocoa_win.c cocoaui/cocoa_gd.c cocoaui/cocoa_prefs.c \
1.22 -@GUI_COCOA_TRUE@ drivers/video_osx.c drivers/mac_keymap.h
1.23 +@GUI_COCOA_TRUE@ drivers/video_osx.c drivers/mac_keymap.h drivers/mac_keymap.txt
1.24
1.25 -@VIDEO_OSMESA_TRUE@am__append_5 = drivers/video_gdk.c drivers/video_gdk.h
1.26 +@VIDEO_OSMESA_TRUE@am__append_5 = drivers/video_gdk.c
1.27 @VIDEO_GLX_TRUE@am__append_6 = drivers/video_glx.c drivers/video_glx.h
1.28 @VIDEO_NSGL_TRUE@am__append_7 = drivers/video_nsgl.c drivers/video_nsgl.h
1.29 @AUDIO_OSX_TRUE@am__append_8 = drivers/audio_osx.c
1.30 @@ -64,7 +66,7 @@
1.31 @AUDIO_ESOUND_TRUE@am__append_10 = drivers/audio_esd.c
1.32 @AUDIO_ALSA_TRUE@am__append_11 = drivers/audio_alsa.c
1.33 @CDROM_LINUX_TRUE@am__append_12 = drivers/cd_linux.c
1.34 -@CDROM_OSX_TRUE@am__append_13 = drivers/cd_osx.c drivers/osx_iokit.c
1.35 +@CDROM_OSX_TRUE@am__append_13 = drivers/cd_osx.c drivers/osx_iokit.c drivers/osx_iokit.h
1.36 @CDROM_NONE_TRUE@am__append_14 = drivers/cd_none.c
1.37 @JOY_LINUX_TRUE@am__append_15 = drivers/joy_linux.c
1.38 subdir = src
1.39 @@ -88,43 +90,49 @@
1.40 am_genglsl_OBJECTS = genglsl.$(OBJEXT)
1.41 genglsl_OBJECTS = $(am_genglsl_OBJECTS)
1.42 genglsl_DEPENDENCIES = $(am__DEPENDENCIES_1)
1.43 -am__lxdream_SOURCES_DIST = main.c config.c config.h mem.c mem.h mmio.h \
1.44 - watch.c asic.c asic.h syscall.c syscall.h bios.c dcload.c \
1.45 +am__lxdream_SOURCES_DIST = main.c config.c config.h lxdream.h dream.h \
1.46 + gui.h cpu.h hook.h mem.c mem.h mmio.h watch.c asic.c asic.h \
1.47 + clock.h serial.h syscall.c syscall.h bios.c dcload.c \
1.48 gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
1.49 gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c \
1.50 gdrom/gdi.c gdrom/edc_ecc.c gdrom/ecc.h gdrom/edc_crctable.h \
1.51 - gdrom/edc_encoder.h gdrom/edc_l2sq.h gdrom/scramble.h \
1.52 - gdrom/mmc.c dreamcast.c dreamcast.h eventq.c eventq.h \
1.53 - sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c \
1.54 - sh4/dmac.c sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c \
1.55 - sh4/sh4dasm.h sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c \
1.56 - sh4/sh4stat.c sh4/sh4stat.h sh4/xltcache.c sh4/xltcache.h \
1.57 - sh4/sh4.h aica/armcore.c aica/armcore.h aica/armdasm.c \
1.58 - aica/armmem.c aica/aica.c aica/aica.h aica/audio.c \
1.59 - aica/audio.h pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
1.60 - pvr2/tacore.c pvr2/rendsort.c pvr2/texcache.c pvr2/yuv.c \
1.61 - pvr2/rendsave.c pvr2/scene.c pvr2/scene.h pvr2/gl_sl.c \
1.62 - pvr2/gl_slsrc.c pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c \
1.63 - maple/maple.c maple/maple.h maple/controller.c \
1.64 - maple/controller.h maple/kbd.c maple/mouse.c loader.c \
1.65 - bootstrap.c util.c gdlist.c gdlist.h display.c display.h \
1.66 - dckeysyms.h drivers/audio_null.c drivers/video_null.c \
1.67 - drivers/video_gl.c drivers/video_gl.h drivers/gl_fbo.c \
1.68 - sh4/sh4x86.c sh4/x86op.h sh4/ia32abi.h sh4/ia32mac.h \
1.69 - sh4/ia64abi.h sh4/sh4trans.c sh4/sh4trans.h x86dasm/x86dasm.c \
1.70 + gdrom/edc_encoder.h gdrom/edc_l2sq.h gdrom/edc_scramble.h \
1.71 + gdrom/mmc.c gdrom/gddriver.h dreamcast.c dreamcast.h eventq.c \
1.72 + eventq.h sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c \
1.73 + sh4/timer.c sh4/dmac.c sh4/mmu.c sh4/sh4core.c sh4/sh4core.h \
1.74 + sh4/sh4dasm.c sh4/sh4dasm.h sh4/sh4mmio.c sh4/sh4mmio.h \
1.75 + sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h sh4/xltcache.c \
1.76 + sh4/xltcache.h sh4/sh4.h sh4/dmac.h aica/armcore.c \
1.77 + aica/armcore.h aica/armdasm.c aica/armdasm.h aica/armmem.c \
1.78 + aica/aica.c aica/aica.h aica/audio.c aica/audio.h pvr2/pvr2.c \
1.79 + pvr2/pvr2.h pvr2/pvr2mem.c pvr2/pvr2mmio.h pvr2/tacore.c \
1.80 + pvr2/rendsort.c pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
1.81 + pvr2/scene.c pvr2/scene.h pvr2/gl_sl.c pvr2/gl_slsrc.c \
1.82 + pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c pvr2/vertex.glsl \
1.83 + pvr2/fragment.glsl maple/maple.c maple/maple.h \
1.84 + maple/controller.c maple/controller.h maple/kbd.c \
1.85 + maple/mouse.c loader.c loader.h elf.h bootstrap.c bootstrap.h \
1.86 + util.c gdlist.c gdlist.h display.c display.h dckeysyms.h \
1.87 + drivers/audio_null.c drivers/video_null.c drivers/video_gl.c \
1.88 + drivers/video_gl.h drivers/gl_fbo.c sh4/sh4.def sh4/sh4core.in \
1.89 + sh4/sh4x86.in sh4/sh4dasm.in sh4/sh4stat.in sh4/sh4x86.c \
1.90 + sh4/x86op.h sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
1.91 + sh4/sh4trans.c sh4/sh4trans.h x86dasm/x86dasm.c \
1.92 x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
1.93 - x86dasm/dis-buf.c gtkui/gtkui.c gtkui/gtkui.h gtkui/main_win.c \
1.94 - gtkui/gtkcb.c gtkui/mmio_win.c gtkui/debug_win.c \
1.95 - gtkui/dump_win.c gtkui/ctrl_dlg.c gtkui/path_dlg.c \
1.96 - gtkui/gdrom_menu.c drivers/video_gtk.c drivers/video_gtk.h \
1.97 + x86dasm/dis-buf.c x86dasm/ansidecl.h x86dasm/bfd.h \
1.98 + x86dasm/config.h x86dasm/dis-asm.h x86dasm/opintl.h \
1.99 + x86dasm/symcat.h x86dasm/sysdep.h gtkui/gtkui.c gtkui/gtkui.h \
1.100 + gtkui/main_win.c gtkui/gtkcb.c gtkui/mmio_win.c \
1.101 + gtkui/debug_win.c gtkui/dump_win.c gtkui/ctrl_dlg.c \
1.102 + gtkui/path_dlg.c gtkui/gdrom_menu.c drivers/video_gtk.c \
1.103 cocoaui/cocoaui.c cocoaui/cocoaui.h cocoaui/cocoa_win.c \
1.104 cocoaui/cocoa_gd.c cocoaui/cocoa_prefs.c drivers/video_osx.c \
1.105 - drivers/mac_keymap.h drivers/video_gdk.c drivers/video_gdk.h \
1.106 - drivers/video_glx.c drivers/video_glx.h drivers/video_nsgl.c \
1.107 - drivers/video_nsgl.h drivers/audio_osx.c drivers/audio_pulse.c \
1.108 - drivers/audio_esd.c drivers/audio_alsa.c drivers/cd_linux.c \
1.109 - drivers/cd_osx.c drivers/osx_iokit.c drivers/cd_none.c \
1.110 - drivers/joy_linux.c
1.111 + drivers/mac_keymap.h drivers/mac_keymap.txt \
1.112 + drivers/video_gdk.c drivers/video_glx.c drivers/video_glx.h \
1.113 + drivers/video_nsgl.c drivers/video_nsgl.h drivers/audio_osx.c \
1.114 + drivers/audio_pulse.c drivers/audio_esd.c drivers/audio_alsa.c \
1.115 + drivers/cd_linux.c drivers/cd_osx.c drivers/osx_iokit.c \
1.116 + drivers/osx_iokit.h drivers/cd_none.c drivers/joy_linux.c
1.117 @BUILD_SH4X86_TRUE@am__objects_1 = sh4x86.$(OBJEXT) sh4trans.$(OBJEXT) \
1.118 @BUILD_SH4X86_TRUE@ x86dasm.$(OBJEXT) i386-dis.$(OBJEXT) \
1.119 @BUILD_SH4X86_TRUE@ dis-init.$(OBJEXT) dis-buf.$(OBJEXT)
1.120 @@ -374,38 +382,43 @@
1.121 -Ish4 \
1.122 @GLIB_CFLAGS@ @GTK_CFLAGS@ @LIBPNG_CFLAGS@ @PULSE_CFLAGS@ @ESOUND_CFLAGS@ @ALSA_CFLAGS@
1.123
1.124 +EXTRA_DIST = drivers/genkeymap.pl
1.125 AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE
1.126 TESTS = test/testxlt
1.127 BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h
1.128 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
1.129 genglsl_SOURCES = tools/genglsl.c
1.130 -lxdream_SOURCES = main.c config.c config.h mem.c mem.h mmio.h watch.c \
1.131 - asic.c asic.h syscall.c syscall.h bios.c dcload.c gdrom/ide.c \
1.132 +lxdream_SOURCES = main.c config.c config.h lxdream.h dream.h gui.h \
1.133 + cpu.h hook.h mem.c mem.h mmio.h watch.c asic.c asic.h clock.h \
1.134 + serial.h syscall.c syscall.h bios.c dcload.c gdrom/ide.c \
1.135 gdrom/ide.h gdrom/packet.h gdrom/gdimage.c gdrom/gdrom.c \
1.136 gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/gdi.c \
1.137 gdrom/edc_ecc.c gdrom/ecc.h gdrom/edc_crctable.h \
1.138 - gdrom/edc_encoder.h gdrom/edc_l2sq.h gdrom/scramble.h \
1.139 - gdrom/mmc.c dreamcast.c dreamcast.h eventq.c eventq.h \
1.140 - sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c \
1.141 - sh4/dmac.c sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c \
1.142 - sh4/sh4dasm.h sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c \
1.143 - sh4/sh4stat.c sh4/sh4stat.h sh4/xltcache.c sh4/xltcache.h \
1.144 - sh4/sh4.h aica/armcore.c aica/armcore.h aica/armdasm.c \
1.145 - aica/armmem.c aica/aica.c aica/aica.h aica/audio.c \
1.146 - aica/audio.h pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
1.147 - pvr2/tacore.c pvr2/rendsort.c pvr2/texcache.c pvr2/yuv.c \
1.148 - pvr2/rendsave.c pvr2/scene.c pvr2/scene.h pvr2/gl_sl.c \
1.149 - pvr2/gl_slsrc.c pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c \
1.150 - maple/maple.c maple/maple.h maple/controller.c \
1.151 - maple/controller.h maple/kbd.c maple/mouse.c loader.c \
1.152 - bootstrap.c util.c gdlist.c gdlist.h display.c display.h \
1.153 - dckeysyms.h drivers/audio_null.c drivers/video_null.c \
1.154 - drivers/video_gl.c drivers/video_gl.h drivers/gl_fbo.c \
1.155 - $(am__append_1) $(am__append_3) $(am__append_4) \
1.156 - $(am__append_5) $(am__append_6) $(am__append_7) \
1.157 - $(am__append_8) $(am__append_9) $(am__append_10) \
1.158 - $(am__append_11) $(am__append_12) $(am__append_13) \
1.159 - $(am__append_14) $(am__append_15)
1.160 + gdrom/edc_encoder.h gdrom/edc_l2sq.h gdrom/edc_scramble.h \
1.161 + gdrom/mmc.c gdrom/gddriver.h dreamcast.c dreamcast.h eventq.c \
1.162 + eventq.h sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c \
1.163 + sh4/timer.c sh4/dmac.c sh4/mmu.c sh4/sh4core.c sh4/sh4core.h \
1.164 + sh4/sh4dasm.c sh4/sh4dasm.h sh4/sh4mmio.c sh4/sh4mmio.h \
1.165 + sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h sh4/xltcache.c \
1.166 + sh4/xltcache.h sh4/sh4.h sh4/dmac.h aica/armcore.c \
1.167 + aica/armcore.h aica/armdasm.c aica/armdasm.h aica/armmem.c \
1.168 + aica/aica.c aica/aica.h aica/audio.c aica/audio.h pvr2/pvr2.c \
1.169 + pvr2/pvr2.h pvr2/pvr2mem.c pvr2/pvr2mmio.h pvr2/tacore.c \
1.170 + pvr2/rendsort.c pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
1.171 + pvr2/scene.c pvr2/scene.h pvr2/gl_sl.c pvr2/gl_slsrc.c \
1.172 + pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c pvr2/vertex.glsl \
1.173 + pvr2/fragment.glsl maple/maple.c maple/maple.h \
1.174 + maple/controller.c maple/controller.h maple/kbd.c \
1.175 + maple/mouse.c loader.c loader.h elf.h bootstrap.c bootstrap.h \
1.176 + util.c gdlist.c gdlist.h display.c display.h dckeysyms.h \
1.177 + drivers/audio_null.c drivers/video_null.c drivers/video_gl.c \
1.178 + drivers/video_gl.h drivers/gl_fbo.c sh4/sh4.def sh4/sh4core.in \
1.179 + sh4/sh4x86.in sh4/sh4dasm.in sh4/sh4stat.in $(am__append_1) \
1.180 + $(am__append_3) $(am__append_4) $(am__append_5) \
1.181 + $(am__append_6) $(am__append_7) $(am__append_8) \
1.182 + $(am__append_9) $(am__append_10) $(am__append_11) \
1.183 + $(am__append_12) $(am__append_13) $(am__append_14) \
1.184 + $(am__append_15)
1.185 @BUILD_SH4X86_TRUE@test_testsh4x86_LDADD = @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@
1.186 @BUILD_SH4X86_TRUE@test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
1.187 @BUILD_SH4X86_TRUE@ x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
1.188 @@ -1918,6 +1931,7 @@
1.189 else :; fi
1.190
1.191 distdir: $(DISTFILES)
1.192 + $(mkdir_p) $(distdir)/drivers
1.193 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1.194 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
1.195 list='$(DISTFILES)'; for file in $$list; do \
1.196 @@ -2045,17 +2059,22 @@
1.197
1.198
1.199 sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
1.200 - ./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
1.201 + mkdir -p `dirname $@`
1.202 + ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@
1.203 sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
1.204 - ./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
1.205 + mkdir -p `dirname $@`
1.206 + ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@
1.207 sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
1.208 - ./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
1.209 + mkdir -p `dirname $@`
1.210 + ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@
1.211 sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
1.212 - ./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
1.213 + mkdir -p `dirname $@`
1.214 + ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@
1.215 pvr2/gl_slsrc.c: genglsl pvr2/vertex.glsl pvr2/fragment.glsl
1.216 - ./genglsl pvr2/vertex.glsl pvr2/fragment.glsl pvr2/gl_slsrc.c
1.217 + mkdir -p `dirname $@`
1.218 + ./genglsl $(srcdir)/pvr2/vertex.glsl $(srcdir)/pvr2/fragment.glsl $@
1.219 drivers/mac_keymap.h: drivers/mac_keymap.txt drivers/genkeymap.pl
1.220 - drivers/genkeymap.pl mac drivers/mac_keymap.txt > drivers/mac_keymap.h
1.221 + $(srcdir)/drivers/genkeymap.pl mac $(srcdir)/drivers/mac_keymap.txt > $@
1.222 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1.223 # Otherwise a system limit (for SysV at least) may be exceeded.
1.224 .NOEXPORT:
.