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