e0cd068c8fbc656ab347aa0d131d207d544fe629
[fw/altos] / ao-view / Makefile.am
1 VERSION=$(shell git describe)
2
3 AM_CFLAGS=$(GNOME_CFLAGS) $(ALSA_CFLAGS) -I$(top_srcdir)/src -DAOVIEW_VERSION=\"$(VERSION)\" @FLITE_INCS@
4
5 bin_PROGRAMS=ao-view
6
7 ao_view_LDADD=$(GNOME_LIBS) $(FLITE_LIBS) $(ALSA_LIBS)
8
9 ao_view_SOURCES = \
10         aoview_main.c \
11         aoview_dev.c \
12         aoview_dev_dialog.c \
13         aoview_serial.c \
14         aoview_monitor.c \
15         aoview_state.c \
16         aoview_convert.c \
17         aoview_log.c \
18         aoview_table.c \
19         aoview_util.c \
20         aoview_file.c \
21         aoview_eeprom.c \
22         aoview_voice.c \
23         aoview_replay.c \
24         aoview_label.c \
25         aoview_flite.c \
26         aoview.h
27
28 BUILT_SOURCES = aoview_glade.h
29
30 CLEANFILES = aoview_glade.h
31
32 aoview_glade.h: aoview.glade
33         sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@