Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 687:6bdc2b7032ea
prev681:1755a126b109
next691:ad3356543392
author nkeynes
date Sat Jun 14 11:54:15 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Change colour params to float
Convert background processing over to scene structure (fixes some depth issues as well)
Add color unclamp when supported
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@681
     8
	@GLIB_CFLAGS@ @GTK_CFLAGS@ @LIBPNG_CFLAGS@ @PULSE_CFLAGS@ @ESOUND_CFLAGS@ @ALSA_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@681
    16
BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h
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@644
    28
	gdrom/edc_ecc.c gdrom/ecc.h gdrom/edc_crctable.h gdrom/edc_encoder.h \
nkeynes@644
    29
	gdrom/edc_l2sq.h gdrom/scramble.h \
nkeynes@265
    30
        dreamcast.c dreamcast.h eventq.c eventq.h \
nkeynes@378
    31
        sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
nkeynes@550
    32
        sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
nkeynes@526
    33
        sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h \
nkeynes@586
    34
	sh4/xltcache.c sh4/xltcache.h sh4/sh4.h \
nkeynes@11
    35
        aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
nkeynes@67
    36
        aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
nkeynes@284
    37
	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
nkeynes@687
    38
	pvr2/tacore.c pvr2/rendsort.c \
nkeynes@653
    39
	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c pvr2/scene.c pvr2/scene.h \
nkeynes@653
    40
	pvr2/gl_sl.c pvr2/gl_slsrc.c pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c \
nkeynes@25
    41
        maple/maple.c maple/maple.h \
nkeynes@608
    42
        maple/controller.c maple/controller.h maple/kbd.c maple/mouse.c \
nkeynes@94
    43
        loader.c bootstrap.c util.c \
nkeynes@608
    44
	display.c display.h dckeysyms.h \
nkeynes@537
    45
	drivers/audio_null.c drivers/video_null.c \
nkeynes@653
    46
	drivers/video_gl.c drivers/video_gl.h drivers/gl_fbo.c
nkeynes@1
    47
nkeynes@526
    48
if BUILD_SH4X86
nkeynes@539
    49
lxdream_SOURCES += sh4/sh4x86.c sh4/x86op.h \
nkeynes@539
    50
        sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
nkeynes@526
    51
        sh4/sh4trans.c sh4/sh4trans.h \
nkeynes@526
    52
        x86dasm/x86dasm.c x86dasm/x86dasm.h \
nkeynes@586
    53
        x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c 
nkeynes@550
    54
nkeynes@681
    55
test_testsh4x86_LDADD = @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@
nkeynes@550
    56
test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
nkeynes@550
    57
	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
nkeynes@550
    58
	x86dasm/dis-buf.c \
nkeynes@550
    59
	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
nkeynes@586
    60
	sh4/xltcache.h mem.c util.c sh4/mmu.c
nkeynes@550
    61
nkeynes@550
    62
check_PROGRAMS += test/testsh4x86
nkeynes@526
    63
endif
nkeynes@526
    64
nkeynes@537
    65
if GUI_GTK
nkeynes@537
    66
lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
nkeynes@537
    67
	gtkui/main_win.c gtkui/gtkcb.c \
nkeynes@537
    68
        gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
nkeynes@537
    69
        gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
nkeynes@658
    70
        drivers/video_gtk.c drivers/video_gtk.h
nkeynes@537
    71
endif
nkeynes@537
    72
nkeynes@681
    73
if GUI_COCOA
nkeynes@681
    74
lxdream_SOURCES += cocoaui/cocoaui.c cocoaui/cocoaui.h \
nkeynes@681
    75
	cocoaui/cocoa_win.c drivers/video_osx.c drivers/mac_keymap.h
nkeynes@681
    76
endif
nkeynes@681
    77
nkeynes@658
    78
if VIDEO_OSMESA
nkeynes@658
    79
lxdream_SOURCES += drivers/video_gdk.c drivers/video_gdk.h 
nkeynes@489
    80
endif
nkeynes@489
    81
nkeynes@658
    82
if VIDEO_GLX 
nkeynes@658
    83
lxdream_SOURCES += drivers/video_glx.c drivers/video_glx.h
nkeynes@658
    84
endif
nkeynes@658
    85
nkeynes@658
    86
if VIDEO_NSGL
nkeynes@658
    87
lxdream_SOURCES += drivers/video_nsgl.c drivers/video_nsgl.h
nkeynes@614
    88
endif
nkeynes@614
    89
nkeynes@657
    90
if AUDIO_PULSE
nkeynes@657
    91
lxdream_SOURCES += drivers/audio_pulse.c
nkeynes@657
    92
endif
nkeynes@657
    93
nkeynes@529
    94
if AUDIO_ESOUND
nkeynes@529
    95
lxdream_SOURCES += drivers/audio_esd.c
nkeynes@529
    96
endif
nkeynes@529
    97
bhaal22@643
    98
if AUDIO_ALSA
bhaal22@643
    99
lxdream_SOURCES += drivers/audio_alsa.c
bhaal22@643
   100
endif
bhaal22@643
   101
nkeynes@658
   102
nkeynes@658
   103
if CDROM_LINUX
nkeynes@658
   104
lxdream_SOURCES += drivers/cd_linux.c
nkeynes@658
   105
else
nkeynes@658
   106
lxdream_SOURCES += drivers/cd_none.c
nkeynes@658
   107
endif
nkeynes@658
   108
nkeynes@658
   109
if JOY_LINUX
nkeynes@658
   110
lxdream_SOURCES += drivers/joy_linux.c
nkeynes@658
   111
endif
nkeynes@658
   112
nkeynes@658
   113
nkeynes@681
   114
lxdream_LDADD = @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @PULSE_LIBS@ @ESOUND_LIBS@ @ALSA_LIBS@ $(INTLLIBS)
nkeynes@1
   115
nkeynes@681
   116
gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
nkeynes@681
   117
genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
nkeynes@359
   118
nkeynes@359
   119
nkeynes@516
   120
test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h
nkeynes@359
   121
nkeynes@359
   122
sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
nkeynes@359
   123
	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
nkeynes@359
   124
sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
nkeynes@359
   125
	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
nkeynes@359
   126
sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
nkeynes@359
   127
	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
nkeynes@387
   128
sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
nkeynes@387
   129
	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
nkeynes@653
   130
pvr2/gl_slsrc.c: genglsl pvr2/vertex.glsl pvr2/fragment.glsl
nkeynes@653
   131
	./genglsl pvr2/vertex.glsl pvr2/fragment.glsl pvr2/gl_slsrc.c
nkeynes@681
   132
drivers/mac_keymap.h: drivers/mac_keymap.txt drivers/genkeymap.pl
nkeynes@681
   133
	drivers/genkeymap.pl mac drivers/mac_keymap.txt > drivers/mac_keymap.h
nkeynes@681
   134
	
.