summaryrefslogtreecommitdiff
path: root/plugins/dfsound/Makefile.am
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-02-07 10:33:30 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-02-07 10:33:30 +0000
commit7cf18befaa6309a60c5950b5f349204f267f88f4 (patch)
tree045b389bb8924dbf3c5fb28bb1be2e870f6cf241 /plugins/dfsound/Makefile.am
parent9bf85f976ca1c539788e6d1d60995434eb856812 (diff)
downloadpcsxr-7cf18befaa6309a60c5950b5f349204f267f88f4.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@41219 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfsound/Makefile.am')
-rw-r--r--plugins/dfsound/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/dfsound/Makefile.am b/plugins/dfsound/Makefile.am
index 70f3d650..91788212 100644
--- a/plugins/dfsound/Makefile.am
+++ b/plugins/dfsound/Makefile.am
@@ -10,7 +10,7 @@ libdir = @libdir@/games/psemu/
lib_LTLIBRARIES = libDFSound.la
libDFSound_la_SOURCES = spu.c cfg.c dma.c freeze.c psemu.c registers.c \
- alsa.c oss.c nullsnd.c
+ alsa.c oss.c pulseaudio.c pulseaudiosimple.c nullsnd.c
libDFSound_la_CFLAGS =
libDFSound_la_LDFLAGS = -module -avoid-version -lpthread -lm
@@ -24,6 +24,16 @@ if HAVE_OSS
libDFSound_la_CFLAGS += -DUSEOSS=1
endif
+if HAVE_PULSEAUDIOSIMPLE
+libDFSound_la_CFLAGS += $(PULSEAUDIO_CFLAGS) -DUSEPULSEAUDIOSIMPLE=1
+libDFSound_la_LDFLAGS += $(PULSEAUDIO_LIBS)
+endif
+
+if HAVE_PULSEAUDIO
+libDFSound_la_CFLAGS += $(PULSEAUDIO_CFLAGS) -DUSEPULSEAUDIO=1
+libDFSound_la_LDFLAGS += $(PULSEAUDIO_LIBS)
+endif
+
bin_PROGRAMS = cfgDFSound
cfgDFSound_SOURCES = spucfg-0.1df/main.c
cfgDFSound_LDADD = $(GTK2_LIBS) $(GLADE2_LIBS)