]> Pileus Git - grits/blob - src/Makefile.am
Converting Ridge and Radar plugins to use GObject
[grits] / src / Makefile.am
1 AM_LDFLAGS    = $(RSL_LIBS) $(GTK_LIBS)
2 AM_CFLAGS     = -Wall -Werror -Wno-unused --std=gnu99 
3 bin_PROGRAMS  = aweather wsr88ddec
4
5 BUILT_SOURCES = marshal.c marshal.h
6
7 aweather_SOURCES  = main.c \
8         marshal.c         marshal.h         \
9         aweather-gui.c    aweather-gui.h    \
10         aweather-view.c   aweather-view.h   \
11         aweather-plugin.c aweather-plugin.h \
12         data.c            data.h            \
13         location.c        location.h        \
14         plugin-radar.c    plugin-radar.h    \
15         plugin-radar-colormap.c             \
16         plugin-ridge.c    plugin-ridge.h    \
17         plugin-example.c  plugin-example.h
18 aweather_CPPFLAGS = $(RSL_CFLAGS) $(GTK_CFLAGS) -DDATADIR="\"$(datadir)\"" 
19
20 wsr88ddec         = wsr88ddec.c
21 wsr88ddec_LDADD   = -lbz2
22
23 CLEANFILES = gmon.out valgrind.out
24 MAINTAINERCLEANFILES = Makefile.in
25
26 .list.c:
27         glib-genmarshal --prefix=aweather_cclosure_marshal --body   $< > $@
28 .list.h:
29         glib-genmarshal --prefix=aweather_cclosure_marshal --header $< > $@
30
31 test: all
32         ./aweather
33
34 gdb: all
35         gdb ./aweather
36
37 ddd: all
38         ddd ./aweather
39
40 memcheck:
41         G_SLICE=always-malloc                   \
42         G_DEBUG=gc-friendly,resident-modules    \
43         valgrind --leak-check=full              \
44                  --leak-resolution=high         \
45                  --num-callers=50               \
46                  --suppressions=gtk.suppression \
47                  ./aweather                     \
48         2> valgrind.out