Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 571:9bc09948d0f2
prev564:dc7b5ffb0535
next577:a181aeacd6e8
author nkeynes
date Thu Jan 10 08:28:37 2008 +0000 (13 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change More MMU work in progess. Much better now...
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@450
     6
	-DPACKAGE_CONF_DIR=\""$(sysconfdir)"\" \
nkeynes@1
     7
        -Ish4 \
nkeynes@537
     8
	@GTK_CFLAGS@ @LIBPNG_CFLAGS@ @ESOUND_CFLAGS@
nkeynes@1
     9
nkeynes@516
    10
bin_PROGRAMS = lxdream
nkeynes@516
    11
noinst_PROGRAMS = gendec genglsl
nkeynes@550
    12
check_PROGRAMS = test/testxlt
nkeynes@359
    13
nkeynes@550
    14
AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE 
nkeynes@550
    15
TESTS = test/testxlt
nkeynes@405
    16
BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c drivers/gl_slsrc.c
nkeynes@359
    17
nkeynes@359
    18
gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
nkeynes@405
    19
genglsl_SOURCES = tools/genglsl.c
nkeynes@1
    20
nkeynes@180
    21
lxdream_SOURCES = \
nkeynes@450
    22
        main.c config.c config.h \
nkeynes@43
    23
        mem.c mem.h mmio.h watch.c \
nkeynes@24
    24
        asic.c asic.h \
nkeynes@103
    25
        syscall.c syscall.h bios.c dcload.c \
nkeynes@342
    26
        gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
nkeynes@492
    27
	gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/gdi.c \
nkeynes@265
    28
        dreamcast.c dreamcast.h eventq.c eventq.h \
nkeynes@378
    29
        sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
nkeynes@550
    30
        sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
nkeynes@526
    31
        sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h \
nkeynes@564
    32
	sh4/xltcache.c sh4/xltcache.h sh4/sh4.h \
nkeynes@11
    33
        aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
nkeynes@67
    34
        aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
nkeynes@284
    35
	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
nkeynes@222
    36
	pvr2/tacore.c pvr2/render.c pvr2/rendcore.c pvr2/rendbkg.c pvr2/rendsort.c \
nkeynes@295
    37
	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
nkeynes@25
    38
        maple/maple.c maple/maple.h \
nkeynes@24
    39
        maple/controller.c maple/controller.h \
nkeynes@94
    40
        loader.c bootstrap.c util.c \
nkeynes@144
    41
	display.c display.h \
nkeynes@537
    42
	drivers/audio_null.c drivers/video_null.c \
nkeynes@405
    43
	drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c \
nkeynes@405
    44
	drivers/gl_sl.c drivers/gl_slsrc.c
nkeynes@1
    45
nkeynes@526
    46
if BUILD_SH4X86
nkeynes@539
    47
lxdream_SOURCES += sh4/sh4x86.c sh4/x86op.h \
nkeynes@539
    48
        sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
nkeynes@526
    49
        sh4/sh4trans.c sh4/sh4trans.h \
nkeynes@526
    50
        x86dasm/x86dasm.c x86dasm/x86dasm.h \
nkeynes@571
    51
        x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c 
nkeynes@550
    52
nkeynes@571
    53
test_testsh4x86_LDADD = @GTK_LIBS@
nkeynes@571
    54
nkeynes@571
    55
check_PROGRAMS += test/testsh4x86
nkeynes@571
    56
nkeynes@571
    57
if BUILD_X86_64
nkeynes@571
    58
lxdream_SOURCES += sh4/ia64asm.s
nkeynes@550
    59
test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
nkeynes@550
    60
	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
nkeynes@550
    61
	x86dasm/dis-buf.c \
nkeynes@550
    62
	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
nkeynes@571
    63
	sh4/xltcache.h mem.c util.c sh4/ia64asm.s
nkeynes@571
    64
else
nkeynes@571
    65
lxdream_SOURCES += sh4/ia32asm.s
nkeynes@571
    66
test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
nkeynes@571
    67
	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
nkeynes@571
    68
	x86dasm/dis-buf.c \
nkeynes@571
    69
	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
nkeynes@571
    70
	sh4/xltcache.h mem.c util.c sh4/ia32asm.s
nkeynes@571
    71
endif
nkeynes@550
    72
nkeynes@526
    73
endif
nkeynes@526
    74
nkeynes@537
    75
if GUI_GTK
nkeynes@537
    76
lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
nkeynes@537
    77
	gtkui/main_win.c gtkui/gtkcb.c \
nkeynes@537
    78
        gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
nkeynes@537
    79
        gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
nkeynes@537
    80
        drivers/video_gtk.c drivers/video_gtk.h \
nkeynes@545
    81
	drivers/video_glx.c drivers/video_glx.h
nkeynes@537
    82
endif
nkeynes@537
    83
nkeynes@489
    84
if CDROM_LINUX
nkeynes@520
    85
lxdream_SOURCES += drivers/cd_linux.c
nkeynes@489
    86
else
nkeynes@520
    87
lxdream_SOURCES += drivers/cd_none.c
nkeynes@489
    88
endif
nkeynes@489
    89
nkeynes@529
    90
if AUDIO_ESOUND
nkeynes@529
    91
lxdream_SOURCES += drivers/audio_esd.c
nkeynes@529
    92
endif
nkeynes@529
    93
nkeynes@537
    94
lxdream_LDADD = @GTK_LIBS@ @LIBPNG_LIBS@ @ESOUND_LIBS@ $(INTLLIBS)
nkeynes@1
    95
nkeynes@537
    96
gendec_LDADD = @GTK_LIBS@ $(INTLLIBS)
nkeynes@537
    97
genglsl_LDADD = @GTK_LIBS@ $(INTLLIBS)
nkeynes@359
    98
nkeynes@359
    99
nkeynes@516
   100
test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h
nkeynes@359
   101
nkeynes@359
   102
sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
nkeynes@359
   103
	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
nkeynes@359
   104
sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
nkeynes@359
   105
	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
nkeynes@359
   106
sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
nkeynes@359
   107
	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
nkeynes@387
   108
sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
nkeynes@387
   109
	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
nkeynes@405
   110
drivers/gl_slsrc.c: genglsl drivers/vertex.glsl drivers/fragment.glsl
nkeynes@405
   111
	./genglsl drivers/vertex.glsl drivers/fragment.glsl drivers/gl_slsrc.c
.