Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 721:98e1ae02bf36
prev709:18c39a8e504c
next725:4d4018e8eeb8
author nkeynes
date Sun Jul 06 03:17:32 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Add descriptive (localized) label to config entries for UI use
view annotate diff log raw
     1 ## Process this file with automake to produce Makefile.in
     3 INCLUDES = \
     4 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
     5 	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
     6 	-DPACKAGE_CONF_DIR=\""$(sysconfdir)"\" \
     7         -Ish4 \
     8 	@GLIB_CFLAGS@ @GTK_CFLAGS@ @LIBPNG_CFLAGS@ @PULSE_CFLAGS@ @ESOUND_CFLAGS@ @ALSA_CFLAGS@
    10 bin_PROGRAMS = lxdream
    11 noinst_PROGRAMS = gendec genglsl
    12 check_PROGRAMS = test/testxlt
    14 AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE 
    15 TESTS = test/testxlt
    16 BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h
    18 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
    19 genglsl_SOURCES = tools/genglsl.c
    21 lxdream_SOURCES = \
    22         main.c config.c config.h \
    23         mem.c mem.h mmio.h watch.c \
    24         asic.c asic.h \
    25         syscall.c syscall.h bios.c dcload.c \
    26         gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
    27 	gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/gdi.c \
    28 	gdrom/edc_ecc.c gdrom/ecc.h gdrom/edc_crctable.h gdrom/edc_encoder.h \
    29 	gdrom/edc_l2sq.h gdrom/scramble.h gdrom/mmc.c \
    30         dreamcast.c dreamcast.h eventq.c eventq.h \
    31         sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
    32         sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
    33         sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h \
    34 	sh4/xltcache.c sh4/xltcache.h sh4/sh4.h \
    35         aica/armcore.c aica/armcore.h aica/armdasm.c aica/armmem.c \
    36         aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
    37 	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c \
    38 	pvr2/tacore.c pvr2/rendsort.c \
    39 	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c pvr2/scene.c pvr2/scene.h \
    40 	pvr2/gl_sl.c pvr2/gl_slsrc.c pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c \
    41         maple/maple.c maple/maple.h \
    42         maple/controller.c maple/controller.h maple/kbd.c maple/mouse.c \
    43         loader.c bootstrap.c util.c gdlist.c gdlist.h \
    44 	display.c display.h dckeysyms.h \
    45 	drivers/audio_null.c drivers/video_null.c \
    46 	drivers/video_gl.c drivers/video_gl.h drivers/gl_fbo.c
    48 if BUILD_SH4X86
    49 lxdream_SOURCES += sh4/sh4x86.c sh4/x86op.h \
    50         sh4/ia32abi.h sh4/ia32mac.h sh4/ia64abi.h \
    51         sh4/sh4trans.c sh4/sh4trans.h \
    52         x86dasm/x86dasm.c x86dasm/x86dasm.h \
    53         x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c 
    55 test_testsh4x86_LDADD = @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@
    56 test_testsh4x86_SOURCES = test/testsh4x86.c x86dasm/x86dasm.c \
    57 	x86dasm/x86dasm.h x86dasm/i386-dis.c x86dasm/dis-init.c \
    58 	x86dasm/dis-buf.c \
    59 	sh4/sh4dasm.c sh4/sh4trans.c sh4/sh4x86.c sh4/xltcache.c \
    60 	sh4/xltcache.h mem.c util.c sh4/mmu.c
    62 check_PROGRAMS += test/testsh4x86
    63 endif
    65 if GUI_GTK
    66 lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
    67 	gtkui/main_win.c gtkui/gtkcb.c \
    68         gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
    69         gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
    70         drivers/video_gtk.c drivers/video_gtk.h
    71 endif
    73 if GUI_COCOA
    74 lxdream_SOURCES += cocoaui/cocoaui.c cocoaui/cocoaui.h \
    75 	cocoaui/cocoa_win.c cocoaui/cocoa_gd.c drivers/video_osx.c drivers/mac_keymap.h
    76 endif
    78 if VIDEO_OSMESA
    79 lxdream_SOURCES += drivers/video_gdk.c drivers/video_gdk.h 
    80 endif
    82 if VIDEO_GLX 
    83 lxdream_SOURCES += drivers/video_glx.c drivers/video_glx.h
    84 endif
    86 if VIDEO_NSGL
    87 lxdream_SOURCES += drivers/video_nsgl.c drivers/video_nsgl.h
    88 endif
    90 if AUDIO_OSX
    91 lxdream_SOURCES += drivers/audio_osx.c
    92 endif
    94 if AUDIO_PULSE
    95 lxdream_SOURCES += drivers/audio_pulse.c
    96 endif
    98 if AUDIO_ESOUND
    99 lxdream_SOURCES += drivers/audio_esd.c
   100 endif
   102 if AUDIO_ALSA
   103 lxdream_SOURCES += drivers/audio_alsa.c
   104 endif
   107 if CDROM_LINUX
   108 lxdream_SOURCES += drivers/cd_linux.c
   109 endif
   111 if CDROM_OSX
   112 lxdream_SOURCES += drivers/cd_osx.c drivers/osx_iokit.c
   113 endif
   115 if CDROM_NONE
   116 lxdream_SOURCES += drivers/cd_none.c
   117 endif
   119 if JOY_LINUX
   120 lxdream_SOURCES += drivers/joy_linux.c
   121 endif
   124 lxdream_LDADD = @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @PULSE_LIBS@ @ESOUND_LIBS@ @ALSA_LIBS@ $(INTLLIBS)
   126 gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
   127 genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
   130 test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h
   132 sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
   133 	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
   134 sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
   135 	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
   136 sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
   137 	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
   138 sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
   139 	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
   140 pvr2/gl_slsrc.c: genglsl pvr2/vertex.glsl pvr2/fragment.glsl
   141 	./genglsl pvr2/vertex.glsl pvr2/fragment.glsl pvr2/gl_slsrc.c
   142 drivers/mac_keymap.h: drivers/mac_keymap.txt drivers/genkeymap.pl
   143 	drivers/genkeymap.pl mac drivers/mac_keymap.txt > drivers/mac_keymap.h
.