Fix Debian Bug #555082 about linking with gold
[libchamplain:potyl-perl.git] / demos / Makefile.am
1 noinst_PROGRAMS = launcher animated-marker polygons url-marker
2
3 INCLUDES = -I$(top_srcdir)
4
5 AM_CPPFLAGS = $(DEPS_CFLAGS) $(WARN_CFLAGS)
6 AM_LDFLAGS = $(DEPS_LIBS)
7
8 launcher_SOURCES = launcher.c markers.c
9 launcher_LDADD = $(DEPS_LIBS) ../champlain/libchamplain-0.4.la
10
11 animated_marker_SOURCES = animated-marker.c
12 animated_marker_LDADD = $(DEPS_LIBS) ../champlain/libchamplain-0.4.la
13
14 polygons_SOURCES = polygons.c
15 polygons_LDADD = $(DEPS_LIBS) ../champlain/libchamplain-0.4.la
16
17 url_marker_SOURCES = url-marker.c
18 url_marker_CPPFLAGS = $(DEPS_CFLAGS) $(SOUP_CFLAGS)
19 url_marker_LDADD = $(SOUP_LIBS) $(DEPS_LIBS) ../champlain/libchamplain-0.4.la
20
21 if ENABLE_GTK
22 noinst_PROGRAMS += launcher-gtk
23 launcher_gtk_SOURCES = launcher-gtk.c markers.c
24 launcher_gtk_CPPFLAGS = $(GTK_DEPS_CFLAGS)
25 launcher_gtk_LDADD = $(GTK_DEPS_LIBS) $(DEPS_LIBS) \
26                 ../champlain-gtk/libchamplain-gtk-0.4.la \
27                 ../champlain/libchamplain-0.4.la
28 endif
29
30 EXTRA_DIST= markers.h