X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2FMakefile.am;h=8e6f5f6eb0ef0a26f6fbe9ae80af79489b1ea670;hp=3ebba58d03ffb65696d1d619b96eae60b308d1b1;hb=edde3a80620c29e81241facfb1be9cbe3f4d9d89;hpb=becee285e152746e64b6d3984e2a7229f664062d diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 3ebba58..8e6f5f6 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -1,17 +1,25 @@ MAINTAINERCLEANFILES = Makefile.in -AM_CFLAGS = -Wall --std=gnu99 -I../ +AM_CFLAGS = -Wall --std=gnu99 -I$(top_srcdir)/src AM_CPPFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(SOUP_CFLAGS) -AM_LDFLAGS = -module -avoid-version -LIBS = $(top_srcdir)/src/libgis.la +AM_LDFLAGS = -shared -module -avoid-version -Wl,--as-needed +LIBS = $(top_srcdir)/src/libgrits.la -pluginsdir = "$(libdir)/gis" +pluginsdir = "$(libdir)/$(GRITS_SUBDIR)" -plugins_LTLIBRARIES = bmng.la srtm.la -bmng_la_SOURCES = bmng.c bmng.h -bmng_la_LIBADD = $(top_srcdir)/src/libgis.la -srtm_la_SOURCES = srtm.c srtm.h -srtm_la_LIBADD = $(top_srcdir)/src/libgis.la +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 + +if HAVE_GLUT +noinst_LTLIBRARIES = teapot.la +teapot_la_SOURCES = \ + $(top_srcdir)/examples/plugin/teapot.c \ + $(top_srcdir)/examples/plugin/teapot.h +endif test: ( cd ../; make test )