Added sat-monitor python satellite monitor
[gregoa/zavai.git] / src / Makefile.am
1 VFLAGS=-g --pkg gee-1.0 --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg posix --pkg libwnck-1.0
2
3 #zavai: $(SOURCES)
4 #       valac -o zavai $(VFLAGS) $^
5 #
6 #C: $(SOURCES)
7 #       valac -C $(VFLAGS) $^
8 #
9 ##zavai: $(SOURCES:.vala=.vala.o)
10 ##      echo $<
11 ##      gcc $(LDFLAGS) -o zavai $*
12 ##
13 ##%.vala.o: %.vala
14 ##      valac $(VFLAGS) -c $<
15
16 AM_CPPFLAGS = \
17         -I$(top_srcdir) \
18         $(GLIB_CFLAGS) \
19         $(DBUS_CFLAGS) \
20         $(GEE_CFLAGS) \
21         $(GTK_CFLAGS) \
22         $(WNCK_CFLAGS) \
23         -DWNCK_I_KNOW_THIS_IS_UNSTABLE
24
25 BUILT_SOURCES = zavai.vala.stamp
26
27 bin_PROGRAMS = zavai
28
29 bin_SCRIPTS = sat-monitor
30
31 zavai_VALASOURCES = \
32         log.vala \
33         config.vala \
34         registry.vala \
35         gps.vala \
36         app.vala \
37         app_keyboard.vala \
38         app_wm.vala \
39         app_gps.vala \
40         app_debug.vala \
41         zavai.vala
42
43 zavai_SOURCES = \
44         zavai.vala.stamp \
45         $(zavai_VALASOURCES:.vala=.c) \
46         $(zavai_VALASOURCES:.vala=.h)
47
48 zavai.vapi zavai.vala.stamp: $(zavai_VALASOURCES)
49         $(VALAC) -C --basedir $(top_srcdir) $(VFLAGS) $^
50         touch $@
51
52 zavai_LDADD = \
53         $(GLIB_LIBS) \
54         $(DBUS_LIBS) \
55         $(GEE_LIBS) \
56         $(GTK_LIBS) \
57         $(WNCK_LIBS)
58
59 #vapidir = $(datadir)/vala/vapi
60
61 #dist_vapi_DATA = \
62 #       gee-1.0.vapi \
63 #       $(NULL)
64
65 EXTRA_DIST = sat-monitor
66 #$(libgee_la_VALASOURCES) gee-1.0.vapi gee.vala.stamp