X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2FMakefile.am;h=d18b9e90180cf4f51f1daf89a0c6e383ceabe2ca;hp=4f597794b8b8ccd0038c4a7c78c94d979f51609c;hb=c2e55f28ba50e19fbf792a27009778e9dcca6fbb;hpb=ac7156bd84aef88b712f117f7e2f3d847d371719 diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 4f59779..d18b9e9 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -1,18 +1,23 @@ MAINTAINERCLEANFILES = Makefile.in -AM_CFLAGS = -Wall --std=gnu99 -I../ -AM_CPPFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(SOUP_CFLAGS) -AM_LDFLAGS = -module -avoid-version -LIBS = $(top_srcdir)/src/libgis.la +AM_CFLAGS = -Wall --std=gnu99 -I$(top_srcdir)/src +AM_CPPFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(SOUP_CFLAGS) +AM_LDFLAGS = -module -avoid-version -no-undefined +LIBS = $(top_srcdir)/src/libgis.la -pluginsdir = $(pkglibdir) +pluginsdir = "$(libdir)/$(GIS_SUBDIR)" -plugins_LTLIBRARIES = bmng.la srtm.la -bmng_la_SOURCES = bmng.c bmng.h -srtm_la_SOURCES = srtm.c srtm.h +plugins_LTLIBRARIES = sat.la elev.la map.la env.la test.la +sat_la_SOURCES = sat.c sat.h +elev_la_SOURCES = elev.c elev.h +map_la_SOURCES = map.c map.h +env_la_SOURCES = env.c env.h +test_la_SOURCES = test.c test.h -# Fixme... -bmng_la_DEPENDENCIES = $(top_srcdir)/src/libgis.la -srtm_la_DEPENDENCIES = $(top_srcdir)/src/libgis.la -$(top_srcdir)/src/libgis.la: - ( cd ../; make libgis.la ) +noinst_LTLIBRARIES = teapot.la +teapot_la_SOURCES = \ + $(top_srcdir)/examples/plugin/teapot.c \ + $(top_srcdir)/examples/plugin/teapot.h + +test: + ( cd ../; make test )