3 AM_CFLAGS = -Wall --std=gnu99 $(GRITS_CFLAGS)
4 AM_LDFLAGS = -Wl,--export-dynamic -Wl,--no-undefined
7 AM_LDFLAGS += -Wl,--as-needed
12 bin_PROGRAMS = aweather wsr88ddec
13 aweather_SOURCES = main.c \
14 aweather-gui.c aweather-gui.h \
15 aweather-location.c aweather-location.h
17 -DHTMLDIR="\"$(DOTS)$(htmldir)\"" \
18 -DICONDIR="\"$(DOTS)$(datadir)/icons\"" \
19 -DPKGDATADIR="\"$(DOTS)$(pkgdatadir)\"" \
20 -DPLUGINSDIR="\"$(DOTS)$(pkglibdir)\""
21 aweather_LDADD = $(GRITS_LIBS)
23 wsr88ddec = wsr88ddec.c
24 wsr88ddec_LDADD = $(GLIB_LIBS) -lbz2
27 wsr88ddec_LDFLAGS = -mwindows
29 aweather_SOURCES += resource.rc
30 aweather_LDFLAGS = -mwindows
31 aweather_CPPFLAGS += -I$(top_srcdir)/lib
33 bin_PROGRAMS += aweather-dbg
34 aweather_dbg_SOURCES = $(aweather_SOURCES)
35 aweather_dbg_CPPFLAGS = $(aweather_CPPFLAGS)
36 aweather_dbg_LDADD = $(aweather_LDADD)
40 aweather_CPPFLAGS += $(MAC_CFLAGS)
41 aweather_LDADD += $(MAC_LIBS)
44 .rc.o: ../data/icons/48x48/aweather.ico
47 CLEANFILES = gmon.out valgrind.out
48 MAINTAINERCLEANFILES = Makefile.in
51 .libs/aweather -o -d 5
52 #.libs/aweather -o -d 7 -s KOUN -t '2011-02-01 10:01Z'
53 #.libs/aweather -o -d 7 -s KLSX -t '2010-12-31 17:56Z'
54 #.libs/aweather -o -d 7 -s KDGX -t '2010-12-31 23:10Z'
55 #.libs/aweather -o -d 7 -s KDGX -t '1999-05-03 23:51Z'
64 G_SLICE=always-malloc \
65 G_DEBUG=gc-friendly,resident-modules \
66 valgrind --track-origins=yes \
68 --leak-resolution=high \
70 --suppressions=gtk.suppression \
71 --suppressions=/usr/lib/valgrind/default.supp \