From 34b3683ae1acc71a89fd5e7dd8507a72487de169 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 4 May 2012 16:54:49 +0200 Subject: 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 --- src/Makefile.am | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src') 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@ -- cgit v1.2.3