aboutsummaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-04-04 23:57:39 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-04-04 23:57:39 +0900
commitc6c96944ae1bb1d7363349ec21be9dca76ee9ec4 (patch)
tree287881e3661707b1a5185ef8dd1e24c866db0636 /gtk/Makefile.am
parent4c68a0d48bf2fa49c7a20e728ebf8c0dde073b5c (diff)
gtk: add Oscilloscope view OpenGL renderer
Diffstat (limited to 'gtk/Makefile.am')
-rw-r--r--gtk/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 0247644..3524f15 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -42,7 +42,6 @@ endif
fmplayer_SOURCES=main.c \
toneview.c \
- oscilloview.c \
../tonedata/tonedata.c \
../common/fmplayer_file.c \
../common/fmplayer_file_gio.c \
@@ -50,3 +49,9 @@ fmplayer_SOURCES=main.c \
$(FMDRIVER_SRC) \
$(FMDSP_SRC)
+if ENABLE_OPENGL
+fmplayer_SOURCES+=oscilloview-gl.c
+fmplayer_LDADD+=-lGL
+else
+fmplayer_SOURCES+=oscilloview.c
+endif