aweather-gui.c aweather-gui.h \
aweather-location.c aweather-location.h
aweather_CPPFLAGS = \
+ -DBROWSER="\"$(browser)\"" \
+ -DHTMLDIR="\"$(dots)$(htmldir)\"" \
-DPKGDATADIR="\"$(dots)$(pkgdatadir)\"" \
-DPLUGINSDIR="\"$(dots)$(pkglibdir)\""
aweather_LDADD = $(GIS_LIBS)
AM_LDFLAGS += -mwindows
aweather_SOURCES += resource.rc
dots = ..
+browser = "open"
+else
+browser = "xdg-open"
endif
.rc.o: ../data/aweather.ico