-bin_PROGRAMS = aweather wsr88ddec
-aweather_SOURCES = main.c \
- aweather-gui.c aweather-gui.h \
- aweather-location.c aweather-location.h
-aweather_CPPFLAGS = -DDATADIR="\"$(datadir)\"" $(SOUP_CFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS)
-aweather_LDADD = gis/libgis.la $(SOUP_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
+# Library
+BUILT_SOURCES = gis-marshal.c gis-marshal.h
+lib_LTLIBRARIES = libgis.la
+gis_includedir = $(includedir)/gis
+gis_include_HEADERS = \
+ gis.h \
+ gis-world.h \
+ gis-view.h \
+ gis-prefs.h \
+ gis-opengl.h \
+ gis-plugin.h \
+ gis-data.h \
+ gis-tile.h \
+ gis-wms.h \
+ gpqueue.h \
+ roam.h
+libgis_la_SOURCES = \
+ gis-world.c gis-world.h \
+ gis-view.c gis-view.h \
+ gis-prefs.c gis-prefs.h \
+ gis-opengl.c gis-opengl.h \
+ gis-plugin.c gis-plugin.h \
+ gis-marshal.c gis-marshal.h \
+ gis-data.c gis-data.h \
+ gis-tile.c gis-tile.h \
+ gis-wms.c gis-wms.h \
+ roam.c roam.h \
+ gpqueue.c gpqueue.h
+libgis_la_CPPFLAGS = $(AM_CPPFLAGS) \
+ -DPKGDATADIR="\"$(datadir)/gis\"" -DPLUGINSDIR="\"$(libdir)/gis\""
+libgis_la_LIBADD = $(AM_LDADD)