Search
lxdream.org :: lxdream/src/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 537:d924be49e192
prev529:06ffbecc7262
next539:75f3e594d4a7
author nkeynes
date Tue Nov 20 10:27:58 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Move gtk UI into gtkui subdir (prep for non-gtk builds), and protect with
an automake conditional
file annotate diff log raw
1.1 --- a/src/Makefile.am Mon Nov 19 08:45:00 2007 +0000
1.2 +++ b/src/Makefile.am Tue Nov 20 10:27:58 2007 +0000
1.3 @@ -5,7 +5,7 @@
1.4 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
1.5 -DPACKAGE_CONF_DIR=\""$(sysconfdir)"\" \
1.6 -Ish4 \
1.7 - @PACKAGE_CFLAGS@ @ESOUND_CFLAGS@
1.8 + @GTK_CFLAGS@ @LIBPNG_CFLAGS@ @ESOUND_CFLAGS@
1.9
1.10 bin_PROGRAMS = lxdream
1.11 noinst_PROGRAMS = gendec genglsl
1.12 @@ -34,14 +34,9 @@
1.13 pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c \
1.14 maple/maple.c maple/maple.h \
1.15 maple/controller.c maple/controller.h \
1.16 - gui/gtkui.c gui/gtkui.h gui/main_win.c gui/gtkcb.c \
1.17 - gui/mmio_win.c gui/debug_win.c gui/dump_win.c \
1.18 - gui/ctrl_dlg.c gui/path_dlg.c gui/gdrom_menu.c \
1.19 loader.c bootstrap.c util.c \
1.20 display.c display.h \
1.21 - drivers/audio_null.c \
1.22 - drivers/video_null.c drivers/video_gtk.c drivers/video_gtk.h \
1.23 - drivers/video_x11.c drivers/video_x11.h \
1.24 + drivers/audio_null.c drivers/video_null.c \
1.25 drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c \
1.26 drivers/gl_sl.c drivers/gl_slsrc.c
1.27
1.28 @@ -52,6 +47,15 @@
1.29 x86dasm/i386-dis.c x86dasm/dis-init.c x86dasm/dis-buf.c
1.30 endif
1.31
1.32 +if GUI_GTK
1.33 +lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
1.34 + gtkui/main_win.c gtkui/gtkcb.c \
1.35 + gtkui/mmio_win.c gtkui/debug_win.c gtkui/dump_win.c \
1.36 + gtkui/ctrl_dlg.c gtkui/path_dlg.c gtkui/gdrom_menu.c \
1.37 + drivers/video_gtk.c drivers/video_gtk.h \
1.38 + drivers/video_x11.c drivers/video_x11.h
1.39 +endif
1.40 +
1.41 if CDROM_LINUX
1.42 lxdream_SOURCES += drivers/cd_linux.c
1.43 else
1.44 @@ -62,10 +66,10 @@
1.45 lxdream_SOURCES += drivers/audio_esd.c
1.46 endif
1.47
1.48 -lxdream_LDADD = @PACKAGE_LIBS@ @ESOUND_LIBS@ $(INTLLIBS)
1.49 +lxdream_LDADD = @GTK_LIBS@ @LIBPNG_LIBS@ @ESOUND_LIBS@ $(INTLLIBS)
1.50
1.51 -gendec_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
1.52 -genglsl_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
1.53 +gendec_LDADD = @GTK_LIBS@ $(INTLLIBS)
1.54 +genglsl_LDADD = @GTK_LIBS@ $(INTLLIBS)
1.55
1.56 TESTS = test/testxlt
1.57
.