if SYS_WIN
AM_LDFLAGS += -no-undefined
-dots = ..
endif
if !SYS_MAC
AM_LDFLAGS += -Wl,--as-needed
alert.c alert.h \
alert-info.c alert-info.h
alert_la_CPPFLAGS = \
- -DPKGDATADIR="\"$(dots)$(pkgdatadir)\""
+ -DPKGDATADIR="\"$(DOTS)$(pkgdatadir)\""
alert_la_LIBADD = $(GRITS_LIBS)
+if HAVE_GPSD
+plugins_LTLIBRARIES += gps.la
+gps_la_SOURCES = \
+ gps-plugin.c gps-plugin.h
+gps_la_CPPFLAGS = \
+ -DPKGDATADIR="\"$(DOTS)$(pkgdatadir)\"" \
+ -I$(top_srcdir)/src
+gps_la_LIBADD = $(GPSD_LIBS) $(GRITS_LIBS)
+endif
+
if HAVE_RSL
plugins_LTLIBRARIES += radar.la
radar_la_SOURCES = \
../aweather-location.c \
../aweather-location.h
radar_la_CPPFLAGS = \
- -DPKGDATADIR="\"$(dots)$(pkgdatadir)\"" \
+ -DPKGDATADIR="\"$(DOTS)$(pkgdatadir)\"" \
-I$(top_srcdir)/src
radar_la_LIBADD = $(RSL_LIBS) $(GRITS_LIBS)
endif