Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 691:ad3356543392
prev687:6bdc2b7032ea
next697:479b8c213f61
author nkeynes
date Thu Jun 19 04:40:37 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Refactor the gd-rom list management out of the GUI (devices, recent files, etc).
Add gd-rom list to the cocoa UI.
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 \
    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_PULSE
    91 lxdream_SOURCES += drivers/audio_pulse.c
    92 endif
    94 if AUDIO_ESOUND
    95 lxdream_SOURCES += drivers/audio_esd.c
    96 endif
    98 if AUDIO_ALSA
    99 lxdream_SOURCES += drivers/audio_alsa.c
   100 endif
   103 if CDROM_LINUX
   104 lxdream_SOURCES += drivers/cd_linux.c
   105 else
   106 lxdream_SOURCES += drivers/cd_none.c
   107 endif
   109 if JOY_LINUX
   110 lxdream_SOURCES += drivers/joy_linux.c
   111 endif
   114 lxdream_LDADD = @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @PULSE_LIBS@ @ESOUND_LIBS@ @ALSA_LIBS@ $(INTLLIBS)
   116 gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
   117 genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
   120 test_testxlt_SOURCES = test/testxlt.c sh4/xltcache.c sh4/xltcache.h
   122 sh4/sh4core.c: gendec sh4/sh4.def sh4/sh4core.in
   123 	./gendec sh4/sh4.def sh4/sh4core.in -o sh4/sh4core.c
   124 sh4/sh4dasm.c: gendec sh4/sh4.def sh4/sh4dasm.in
   125 	./gendec sh4/sh4.def sh4/sh4dasm.in -o sh4/sh4dasm.c
   126 sh4/sh4x86.c: gendec sh4/sh4.def sh4/sh4x86.in
   127 	./gendec sh4/sh4.def sh4/sh4x86.in -o sh4/sh4x86.c
   128 sh4/sh4stat.c: gendec sh4/sh4.def sh4/sh4stat.in
   129 	./gendec sh4/sh4.def sh4/sh4stat.in -o sh4/sh4stat.c
   130 pvr2/gl_slsrc.c: genglsl pvr2/vertex.glsl pvr2/fragment.glsl
   131 	./genglsl pvr2/vertex.glsl pvr2/fragment.glsl pvr2/gl_slsrc.c
   132 drivers/mac_keymap.h: drivers/mac_keymap.txt drivers/genkeymap.pl
   133 	drivers/genkeymap.pl mac drivers/mac_keymap.txt > drivers/mac_keymap.h
.