Search
lxdream.org :: lxdream/src/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 529:06ffbecc7262
prev526:ba3da45b5754
next537:d924be49e192
author nkeynes
date Mon Nov 19 08:45:00 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Make esound optional (only build driver if present)
file annotate diff log raw
1.1 --- a/src/Makefile.am Sat Nov 17 06:04:19 2007 +0000
1.2 +++ b/src/Makefile.am Mon Nov 19 08:45:00 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@
1.8 + @PACKAGE_CFLAGS@ @ESOUND_CFLAGS@
1.9
1.10 bin_PROGRAMS = lxdream
1.11 noinst_PROGRAMS = gendec genglsl
1.12 @@ -39,7 +39,7 @@
1.13 gui/ctrl_dlg.c gui/path_dlg.c gui/gdrom_menu.c \
1.14 loader.c bootstrap.c util.c \
1.15 display.c display.h \
1.16 - drivers/audio_null.c drivers/audio_esd.c \
1.17 + drivers/audio_null.c \
1.18 drivers/video_null.c drivers/video_gtk.c drivers/video_gtk.h \
1.19 drivers/video_x11.c drivers/video_x11.h \
1.20 drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c \
1.21 @@ -58,7 +58,11 @@
1.22 lxdream_SOURCES += drivers/cd_none.c
1.23 endif
1.24
1.25 -lxdream_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lesd
1.26 +if AUDIO_ESOUND
1.27 +lxdream_SOURCES += drivers/audio_esd.c
1.28 +endif
1.29 +
1.30 +lxdream_LDADD = @PACKAGE_LIBS@ @ESOUND_LIBS@ $(INTLLIBS)
1.31
1.32 gendec_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
1.33 genglsl_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
.