X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2FMakefile.am;h=9b912f511b44c049b9408c4d182ee07d5536a333;hb=e1ff13276e99a6707586fe43904d5d432cdcb1fe;hp=89408488b632009e423162656474b8fa1dec62b6;hpb=f21f94748e256058ee09dfe145c06c28473695fb;p=grits diff --git a/src/Makefile.am b/src/Makefile.am index 8940848..9b912f5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,18 +1,35 @@ -AM_CPPFLAGS = -DDATADIR="\"$(datadir)\"" $(RSL_CFLAGS) $(GTK_CFLAGS) $(CURL_CFLAGS) -AM_CFLAGS = -O3 -Wall -Werror --std=gnu99 -AM_LDFLAGS = -Wl,--export-dynamic -bin_PROGRAMS = aweather +SUBDIRS = gis plugins -aweather_SOURCES = \ - aweather.c aweather.h \ - location.c location.h \ - opengl.c opengl.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) +AM_CFLAGS = -Wall -Werror -Wno-unused --std=gnu99 +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) + +wsr88ddec = wsr88ddec.c +wsr88ddec_LDFLAGS = -lbz2 + +CLEANFILES = gmon.out valgrind.out +MAINTAINERCLEANFILES = Makefile.in test: all - LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/ \ - ./aweather + ./aweather -o -d 7 -s KVNX + +gdb: all + gdb .libs/aweather + +ddd: all + ddd .libs/aweather + +memcheck: + G_SLICE=always-malloc \ + G_DEBUG=gc-friendly,resident-modules \ + valgrind --leak-check=full \ + --leak-resolution=high \ + --num-callers=100 \ + --suppressions=gtk.suppression \ + .libs/aweather \ + 2> valgrind.out