Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 387:38e9fddbf0e3
prev378:f10fbdd4e24b
next405:570d93abb5b7
author nkeynes
date Tue Sep 18 08:58:23 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Add instruction statistics gathering module
file annotate diff log raw
nkeynes@1
     1
## Process this file with automake to produce Makefile.in
nkeynes@1
     2
nkeynes@1
     3
INCLUDES = \
nkeynes@1
     4
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
nkeynes@1
     5
	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
nkeynes@1
     6
        -Ish4 \
nkeynes@1
     7
	@PACKAGE_CFLAGS@
nkeynes@1
     8
nkeynes@359
     9
bin_PROGRAMS = gendec lxdream
nkeynes@359
    10
nkeynes@359
    11
BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c
nkeynes@359
    12
nkeynes@359
    13
gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
nkeynes@1
    14
nkeynes@180
    15
lxdream_SOURCES = \
nkeynes@1
    16
        main.c \
nkeynes@43
    17
        mem.c mem.h mmio.h watch.c \
nkeynes@24
    18
        asic.c asic.h \
nkeynes@103
    19
        syscall.c syscall.h bios.c dcload.c \
nkeynes@342
    20
        gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
nkeynes@237
    21
	gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/linux.c \
nkeynes@265
    22
        dreamcast.c dreamcast.h eventq.c eventq.h \
nkeynes@378
    23
        sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
nkeynes@2
    24
        sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
nkeynes@359
    25
        sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/xltcache.c sh4/xltcache.h \
nkeynes@387
    26
        sh4/sh4trans.c sh4/sh4trans.h sh4/sh4x86.c sh4/sh4stat.c sh4/sh4stat.h \
nkeynes@378
    27
        x86dasm/x86dasm.c x86dasm/x86dasm.h \
nkeynes@378
    28
        x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c \
nkeynes@11
    29
        aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
nkeynes@67
    30
        aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
nkeynes@284
    31
	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
nkeynes@222
    32
	pvr2/tacore.c pvr2/render.c pvr2/rendcore.c pvr2/rendbkg.c pvr2/rendsort.c \
nkeynes@295
    33
	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
nkeynes@25
    34
        maple/maple.c maple/maple.h \
nkeynes@24
    35
        maple/controller.c maple/controller.h \
nkeynes@24
    36
        gui/support.c gui/support.h \
nkeynes@24
    37
        gui/interface.c gui/interface.h \
nkeynes@24
    38
        gui/callbacks.c gui/callbacks.h \
nkeynes@25
    39
        gui/gui.c gui/gui.h gui/mmr_win.c \
nkeynes@24
    40
        gui/debug_win.c gui/dump_win.c \
nkeynes@94
    41
        loader.c bootstrap.c util.c \
nkeynes@144
    42
	display.c display.h \
nkeynes@99
    43
	drivers/audio_null.c drivers/audio_esd.c \
nkeynes@106
    44
	drivers/video_null.c drivers/video_gtk.c drivers/video_gtk.h \
nkeynes@280
    45
	drivers/video_x11.c drivers/video_x11.h \
nkeynes@352
    46
	drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c
nkeynes@1
    47
nkeynes@180
    48
lxdream_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lesd
nkeynes@1
    49
nkeynes@359
    50
gendec_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
nkeynes@359
    51
nkeynes@359
    52
TESTS = test/testxlt
nkeynes@359
    53
nkeynes@363
    54
check_PROGRAMS = test/testxlt test/testsh4x86
nkeynes@359
    55
nkeynes@359
    56
test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h 
nkeynes@359
    57
nkeynes@363
    58
test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
nkeynes@363
    59
	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
nkeynes@363
    60
	x86dasm/dis-buf.c \
nkeynes@363
    61
	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
nkeynes@363
    62
	sh4/xltcache.h mem.c util.c
nkeynes@363
    63
test_testsh4x86_LDADD = @PACKAGE_LIBS@
nkeynes@363
    64
nkeynes@1
    65
AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE 
nkeynes@359
    66
nkeynes@359
    67
sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
nkeynes@359
    68
	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
nkeynes@359
    69
sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
nkeynes@359
    70
	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
nkeynes@359
    71
sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
nkeynes@359
    72
	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
nkeynes@387
    73
sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
nkeynes@387
    74
	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
.