Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 492:84e33e4dda1c
prev489:45c8ddcf52cb
next516:71a2cf942f17
author nkeynes
date Tue Nov 06 08:35:16 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Issue #37: Add nulldc GDI format
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@1
     8
	@PACKAGE_CFLAGS@
nkeynes@1
     9
nkeynes@405
    10
bin_PROGRAMS = gendec genglsl lxdream
nkeynes@359
    11
nkeynes@405
    12
BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c drivers/gl_slsrc.c
nkeynes@359
    13
nkeynes@359
    14
gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
nkeynes@405
    15
genglsl_SOURCES = tools/genglsl.c
nkeynes@1
    16
nkeynes@180
    17
lxdream_SOURCES = \
nkeynes@450
    18
        main.c config.c config.h \
nkeynes@43
    19
        mem.c mem.h mmio.h watch.c \
nkeynes@24
    20
        asic.c asic.h \
nkeynes@103
    21
        syscall.c syscall.h bios.c dcload.c \
nkeynes@342
    22
        gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
nkeynes@492
    23
	gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/gdi.c \
nkeynes@265
    24
        dreamcast.c dreamcast.h eventq.c eventq.h \
nkeynes@378
    25
        sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
nkeynes@2
    26
        sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
nkeynes@359
    27
        sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/xltcache.c sh4/xltcache.h \
nkeynes@387
    28
        sh4/sh4trans.c sh4/sh4trans.h sh4/sh4x86.c sh4/sh4stat.c sh4/sh4stat.h \
nkeynes@378
    29
        x86dasm/x86dasm.c x86dasm/x86dasm.h \
nkeynes@378
    30
        x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c \
nkeynes@11
    31
        aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
nkeynes@67
    32
        aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
nkeynes@284
    33
	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
nkeynes@222
    34
	pvr2/tacore.c pvr2/render.c pvr2/rendcore.c pvr2/rendbkg.c pvr2/rendsort.c \
nkeynes@295
    35
	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
nkeynes@25
    36
        maple/maple.c maple/maple.h \
nkeynes@24
    37
        maple/controller.c maple/controller.h \
nkeynes@435
    38
        gui/gtkui.c gui/gtkui.h gui/main_win.c gui/gtkcb.c \
nkeynes@456
    39
        gui/mmio_win.c gui/debug_win.c gui/dump_win.c \
nkeynes@464
    40
        gui/ctrl_dlg.c gui/path_dlg.c gui/gdrom_menu.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@405
    46
	drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c \
nkeynes@405
    47
	drivers/gl_sl.c drivers/gl_slsrc.c
nkeynes@1
    48
nkeynes@489
    49
if CDROM_LINUX
nkeynes@489
    50
lxdream_SOURCES += gdrom/linux.c
nkeynes@489
    51
else
nkeynes@489
    52
lxdream_SOURCES += gdrom/cdnone.c
nkeynes@489
    53
endif
nkeynes@489
    54
nkeynes@180
    55
lxdream_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lesd
nkeynes@1
    56
nkeynes@359
    57
gendec_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
nkeynes@405
    58
genglsl_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
nkeynes@359
    59
nkeynes@359
    60
TESTS = test/testxlt
nkeynes@359
    61
nkeynes@363
    62
check_PROGRAMS = test/testxlt test/testsh4x86
nkeynes@359
    63
nkeynes@359
    64
test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h 
nkeynes@359
    65
nkeynes@363
    66
test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
nkeynes@363
    67
	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
nkeynes@363
    68
	x86dasm/dis-buf.c \
nkeynes@363
    69
	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
nkeynes@363
    70
	sh4/xltcache.h mem.c util.c
nkeynes@363
    71
test_testsh4x86_LDADD = @PACKAGE_LIBS@
nkeynes@363
    72
nkeynes@1
    73
AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE 
nkeynes@359
    74
nkeynes@359
    75
sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
nkeynes@359
    76
	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
nkeynes@359
    77
sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
nkeynes@359
    78
	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
nkeynes@359
    79
sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
nkeynes@359
    80
	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
nkeynes@387
    81
sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
nkeynes@387
    82
	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
nkeynes@405
    83
drivers/gl_slsrc.c: genglsl drivers/vertex.glsl drivers/fragment.glsl
nkeynes@405
    84
	./genglsl drivers/vertex.glsl drivers/fragment.glsl drivers/gl_slsrc.c
.