AM_CFLAGS = -Wall --std=gnu99 -I$(top_srcdir)/src
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(SOUP_CFLAGS)
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
+AM_LDFLAGS = -shared -module -avoid-version -Wl,--as-needed
+LIBS = $(top_srcdir)/src/libgrits.la
noinst_LTLIBRARIES = teapot.la
teapot_la_SOURCES = \
$(top_srcdir)/examples/plugin/teapot.c \
$(top_srcdir)/examples/plugin/teapot.h
noinst_LTLIBRARIES = teapot.la
teapot_la_SOURCES = \
$(top_srcdir)/examples/plugin/teapot.c \
$(top_srcdir)/examples/plugin/teapot.h