]> Pileus Git - grits/blob - src/Makefile.am
Example plugin in GObject plugin format
[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 .list.c:
24         glib-genmarshal --prefix=aweather_cclosure_marshal --body   $< > $@
25 .list.h:
26         glib-genmarshal --prefix=aweather_cclosure_marshal --header $< > $@
27
28 test: all
29         ./aweather
30
31 gdb: all
32         gdb ./aweather
33
34 ddd: all
35         ddd ./aweather
36
37 memcheck:
38         G_SLICE=always-malloc                   \
39         G_DEBUG=gc-friendly,resident-modules    \
40         valgrind --leak-check=full              \
41                  --leak-resolution=high         \
42                  --num-callers=50               \
43                  --suppressions=gtk.suppression \
44                  ./aweather                     \
45         2> memcheck.log