aboutsummaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/Makefile.am')
-rw-r--r--gtk/Makefile.am14
1 files changed, 10 insertions, 4 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 8777418..43a767d 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -19,12 +19,17 @@ FMDSP_SRC=../fmdsp/fmdsp.c \
../fmdsp/font_fmdsp_small.c \
../fmdsp/fmdsp_platform_unix.c
+SOUNDOUT_SRC=soundout/soundout.c \
+ soundout/pulseout.c \
+ soundout/jackout.c \
+ soundout/alsaout.c
+
#fmplayer_CFLAGS=$(CFLAGS)
#CFLAGS=
fmplayer_CPPFLAGS=-Wall -Wextra -pedantic \
- -I.. \
- $(GTK3_CFLAGS) $(PORTAUDIO_CFLAGS) $(SNDFILE_CFLAGS)
-fmplayer_LDADD=$(GTK3_LIBS) $(PORTAUDIO_LIBS) $(SNDFILE_LIBS)
+ -I.. -Isoundout \
+ $(GTK3_CFLAGS) $(JACK_CFLAGS) $(PULSE_CFLAGS) $(ALSA_CFLAGS) $(SNDFILE_CFLAGS)
+fmplayer_LDADD=$(GTK3_LIBS) $(JACK_LIBS) $(PULSE_LIBS) $(ALSA_LIBS) $(SNDFILE_LIBS) -lm -lpthread
if ENABLE_NEON
LIBOPNA_SRC+=../libopna/opnassg-sinc-neon.s
@@ -52,7 +57,8 @@ fmplayer_SOURCES=main.c \
../fft/fft.c \
$(LIBOPNA_SRC) \
$(FMDRIVER_SRC) \
- $(FMDSP_SRC)
+ $(FMDSP_SRC) \
+ $(SOUNDOUT_SRC)
if ENABLE_OPENGL
fmplayer_SOURCES+=oscilloview-gl.c