Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 545:fdcdcd8b9fd1
prev539:75f3e594d4a7
next550:a27e31340147
author nkeynes
date Thu Nov 29 09:28:28 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Refactor GLX support and implement pbuffer rendering support
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
    13 BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c drivers/gl_slsrc.c
    15 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
    16 genglsl_SOURCES = tools/genglsl.c
    18 lxdream_SOURCES = \
    19         main.c config.c config.h \
    20         mem.c mem.h mmio.h watch.c \
    21         asic.c asic.h \
    22         syscall.c syscall.h bios.c dcload.c \
    23         gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
    24 	gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/gdi.c \
    25         dreamcast.c dreamcast.h eventq.c eventq.h \
    26         sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
    27         sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
    28         sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h \
    29 	sh4/xltcache.c sh4/xltcache.h \
    30         aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
    31         aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
    32 	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
    33 	pvr2/tacore.c pvr2/render.c pvr2/rendcore.c pvr2/rendbkg.c pvr2/rendsort.c \
    34 	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
    35         maple/maple.c maple/maple.h \
    36         maple/controller.c maple/controller.h \
    37         loader.c bootstrap.c util.c \
    38 	display.c display.h \
    39 	drivers/audio_null.c drivers/video_null.c \
    40 	drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c \
    41 	drivers/gl_sl.c drivers/gl_slsrc.c
    43 if BUILD_SH4X86
    44 lxdream_SOURCES += sh4/sh4x86.c sh4/x86op.h \
    45         sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
    46         sh4/sh4trans.c sh4/sh4trans.h \
    47         x86dasm/x86dasm.c x86dasm/x86dasm.h \
    48         x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c
    49 endif
    51 if GUI_GTK
    52 lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
    53 	gtkui/main_win.c gtkui/gtkcb.c \
    54         gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
    55         gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
    56         drivers/video_gtk.c drivers/video_gtk.h \
    57 	drivers/video_glx.c drivers/video_glx.h
    58 endif
    60 if CDROM_LINUX
    61 lxdream_SOURCES += drivers/cd_linux.c
    62 else
    63 lxdream_SOURCES += drivers/cd_none.c
    64 endif
    66 if AUDIO_ESOUND
    67 lxdream_SOURCES += drivers/audio_esd.c
    68 endif
    70 lxdream_LDADD = @GTK_LIBS@ @LIBPNG_LIBS@ @ESOUND_LIBS@ $(INTLLIBS)
    72 gendec_LDADD = @GTK_LIBS@ $(INTLLIBS)
    73 genglsl_LDADD = @GTK_LIBS@ $(INTLLIBS)
    75 TESTS = test/testxlt
    77 check_PROGRAMS = test/testxlt test/testsh4x86
    79 test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h
    81 test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
    82 	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
    83 	x86dasm/dis-buf.c \
    84 	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
    85 	sh4/xltcache.h mem.c util.c
    86 test_testsh4x86_LDADD = @PACKAGE_LIBS@
    88 AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE 
    90 sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
    91 	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
    92 sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
    93 	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
    94 sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
    95 	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
    96 sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
    97 	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
    98 drivers/gl_slsrc.c: genglsl drivers/vertex.glsl drivers/fragment.glsl
    99 	./genglsl drivers/vertex.glsl drivers/fragment.glsl drivers/gl_slsrc.c
.