aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-04 16:54:49 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-04 16:54:49 +0200
commit34b3683ae1acc71a89fd5e7dd8507a72487de169 (patch)
tree289ae77f4eb8443b3b884e3d5b526284ab805186 /src
parent3d172c51c38095373a7218a7c935d22d383fd88e (diff)
downloadexperiment-player-34b3683ae1acc71a89fd5e7dd8507a72487de169.tar.gz
cleaned up flag and library handling
* only link against required libraries * special linking flags (like --export-all-symbols) have their special output variable and are only used for GTK applications
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 17dbd2c..f5c53cc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,18 @@
AM_CFLAGS = -Wall
-AM_CPPFLAGS = -I$(top_srcdir)/lib/gtk-vlc-player
bin_PROGRAMS = experiment-player
experiment_player_SOURCES = main.c
-experiment_player_LDADD = $(top_srcdir)/lib/gtk-vlc-player/libgtk-vlc-player.la
+
+experiment_player_CFLAGS =
+experiment_player_CPPFLAGS =
+experiment_player_LDFLAGS =
+experiment_player_LDADD =
+
+experiment_player_CPPFLAGS += -I@top_srcdir@/lib/gtk-vlc-player
+experiment_player_LDADD += @top_srcdir@/lib/gtk-vlc-player/libgtk-vlc-player.la
+
+experiment_player_CFLAGS += @LIBGTK_CFLAGS@
+experiment_player_LDADD += @LIBGTK_LIBS@
+
+experiment_player_CFLAGS += @GTKAPP_CFLAGS@
+experiment_player_LDFLAGS += @GTKAPP_LDFLAGS@