]> Pileus Git - aweather/blobdiff - src/plugins/Makefile.am
Determine site based on lat-lon location
[aweather] / src / plugins / Makefile.am
index c3718af66288ebe6a88806e14efd3f59569ee857..74587937fec5fff3481d0629474d1820a6aff077 100644 (file)
@@ -1,18 +1,22 @@
 AM_CFLAGS   = -Wall --std=gnu99  -I../
 AM_CPPFLAGS = $(GIS_CFLAGS)
-AM_LDFLAGS  = -module -avoid-version
+AM_LDFLAGS  = -module -avoid-version -no-undefined
 LIBS        = $(GIS_LIBS)
 
-plugindir = $(libdir)/gis
+pluginsdir  = $(pkglibdir)
 
-plugin_LTLIBRARIES =
+plugins_LTLIBRARIES =
 
 if HAVE_RSL
-plugin_LTLIBRARIES += radar.la
+plugins_LTLIBRARIES += radar.la
 radar_la_SOURCES = radar.c   radar.h \
        marching.c marching.h \
-       radar-colormap.c
+       radar-colormap.c \
+       ../aweather-location.c
 radar_la_LDFLAGS = $(AM_LDFLAGS) $(RSL_LIBS)
 endif
 
+test:
+       ( cd ../; make test )
+
 MAINTAINERCLEANFILES = Makefile.in