- aweather-gui.c aweather-gui.h \
- aweather-view.c aweather-view.h \
- location.c location.h \
- plugin-radar.c plugin-radar.h \
- plugin-ridge.c plugin-ridge.h \
- plugin-example.c plugin-example.h
-aweather_LDADD = $(RSL_LIBS) $(GTK_LIBS) $(CURL_LIBS)
+ aweather-gui.c aweather-gui.h \
+ aweather-location.c aweather-location.h
+aweather_CPPFLAGS = \
+ -DHTMLDIR="\"$(DOTS)$(htmldir)\"" \
+ -DICONDIR="\"$(DOTS)$(datadir)/icons\"" \
+ -DPKGDATADIR="\"$(DOTS)$(pkgdatadir)\"" \
+ -DPLUGINSDIR="\"$(DOTS)$(pkglibdir)\""
+aweather_LDADD = $(GRITS_LIBS)
+
+wsr88ddec = wsr88ddec.c
+wsr88ddec_LDADD = $(GLIB_LIBS) -lbz2
+
+if SYS_WIN
+wsr88ddec_LDFLAGS = -mwindows
+
+aweather_SOURCES += resource.rc
+aweather_LDFLAGS = -mwindows
+aweather_CPPFLAGS += -I$(top_srcdir)/lib