Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 635:76c63aac3590
prev614:a2d239d4438a
next639:162ee7614b60
author nkeynes
date Thu Feb 14 13:54:11 2008 +0000 (12 years ago)
branchlxdream-render
permissions -rw-r--r--
last change Commit render work in progress. Main changes:
* Preliminary OSMesa support
* Move the generic gl code out to pvr2/
* Implement scene data structure + reader
* Remove the 1/z adjustments
view annotate diff log raw
     1 ## Process this file with automake to produce Makefile.in
     3 INCLUDES = \
     4 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
     5 	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
     6 	-DPACKAGE_CONF_DIR=\""$(sysconfdir)"\" \
     7         -Ish4 \
     8 	@GTK_CFLAGS@ @LIBPNG_CFLAGS@ @ESOUND_CFLAGS@
    10 bin_PROGRAMS = lxdream
    11 noinst_PROGRAMS = gendec genglsl
    12 check_PROGRAMS = test/testxlt
    14 AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE 
    15 TESTS = test/testxlt
    16 BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c
    18 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
    19 genglsl_SOURCES = tools/genglsl.c
    21 lxdream_SOURCES = \
    22         main.c config.c config.h \
    23         mem.c mem.h mmio.h watch.c \
    24         asic.c asic.h \
    25         syscall.c syscall.h bios.c dcload.c \
    26         gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
    27 	gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/gdi.c \
    28         dreamcast.c dreamcast.h eventq.c eventq.h \
    29         sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
    30         sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
    31         sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h \
    32 	sh4/xltcache.c sh4/xltcache.h sh4/sh4.h \
    33         aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
    34         aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
    35 	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
    36 	pvr2/tacore.c pvr2/render.c pvr2/rendcore.c pvr2/rendbkg.c pvr2/rendsort.c \
    37 	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c pvr2/scene.c pvr2/scene.h \
    38 	pvr2/gl_sl.c pvr2/gl_slsrc.c pvr2/glutil.c pvr2/glutil.h \
    39         maple/maple.c maple/maple.h \
    40         maple/controller.c maple/controller.h maple/kbd.c maple/mouse.c \
    41         loader.c bootstrap.c util.c \
    42 	display.c display.h dckeysyms.h \
    43 	drivers/audio_null.c drivers/video_null.c \
    44 	drivers/video_gl.c drivers/video_gl.h drivers/gl_fbo.c
    46 if BUILD_SH4X86
    47 lxdream_SOURCES += sh4/sh4x86.c sh4/x86op.h \
    48         sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
    49         sh4/sh4trans.c sh4/sh4trans.h \
    50         x86dasm/x86dasm.c x86dasm/x86dasm.h \
    51         x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c 
    53 test_testsh4x86_LDADD = @GTK_LIBS@
    54 test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
    55 	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
    56 	x86dasm/dis-buf.c \
    57 	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
    58 	sh4/xltcache.h mem.c util.c sh4/mmu.c
    60 check_PROGRAMS += test/testsh4x86
    61 endif
    63 if GUI_GTK
    64 if OSMESA_DRIVER
    65 lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
    66 	gtkui/main_win.c gtkui/gtkcb.c \
    67         gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
    68         gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
    69         drivers/video_gtk.c drivers/video_gtk.h \
    70         drivers/video_gdk.c drivers/video_gdk.h 
    71 else
    72 lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
    73 	gtkui/main_win.c gtkui/gtkcb.c \
    74         gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
    75         gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
    76         drivers/video_gtk.c drivers/video_gtk.h \
    77         drivers/video_glx.c drivers/video_glx.h
    78 endif
    79 endif
    81 if CDROM_LINUX
    82 lxdream_SOURCES += drivers/cd_linux.c
    83 else
    84 lxdream_SOURCES += drivers/cd_none.c
    85 endif
    87 if JOY_LINUX
    88 lxdream_SOURCES += drivers/joy_linux.c
    89 endif
    91 if AUDIO_ESOUND
    92 lxdream_SOURCES += drivers/audio_esd.c
    93 endif
    95 lxdream_LDADD = @GTK_LIBS@ @LIBPNG_LIBS@ @ESOUND_LIBS@ $(INTLLIBS)
    97 gendec_LDADD = @GTK_LIBS@ $(INTLLIBS)
    98 genglsl_LDADD = @GTK_LIBS@ $(INTLLIBS)
   101 test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h
   103 sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
   104 	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
   105 sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
   106 	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
   107 sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
   108 	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
   109 sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
   110 	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
   111 pvr2/gl_slsrc.c: genglsl pvr2/vertex.glsl pvr2/fragment.glsl
   112 	./genglsl pvr2/vertex.glsl pvr2/fragment.glsl pvr2/gl_slsrc.c
.