]> git.gag.com Git - fw/altos/blob - ao-tools/ao-view/Makefile.am
altos: Add MicroPeak v2.0 support to ao_log_micro
[fw/altos] / ao-tools / ao-view / Makefile.am
1 VERSION=$(shell git describe)
2
3 AO_VIEW_CFLAGS=-I$(top_srcdir)/ao-tools/lib
4 AO_VIEW_LIBS=$(top_builddir)/ao-tools/lib/libao-tools.a
5 AM_CFLAGS=$(WARN_CFLAGS) $(AO_VIEW_CFLAGS) $(GNOME_CFLAGS) $(ALSA_CFLAGS) -I$(top_srcdir)/src -DAOVIEW_VERSION=\"$(VERSION)\" @FLITE_INCS@
6
7 bin_PROGRAMS=ao-view
8
9 ao_view_DEPENDENCIES=$(AO_VIEW_LIBS)
10 ao_view_LDADD=$(GNOME_LIBS) $(FLITE_LIBS) $(ALSA_LIBS) $(AO_VIEW_LIBS) $(LIBUSB_LIBS)
11
12 ao_view_SOURCES = \
13         aoview_main.c \
14         aoview_dev_dialog.c \
15         aoview_serial.c \
16         aoview_monitor.c \
17         aoview_state.c \
18         aoview_convert.c \
19         aoview_log.c \
20         aoview_table.c \
21         aoview_util.c \
22         aoview_file.c \
23         aoview_eeprom.c \
24         aoview_voice.c \
25         aoview_replay.c \
26         aoview_label.c \
27         aoview_flite.c \
28         aoview_channel.c \
29         aoview.h
30
31 BUILT_SOURCES = aoview_glade.h
32
33 CLEANFILES = aoview_glade.h
34
35 man_MANS=ao-view.1
36
37 aoview_glade.h: aoview.glade
38         sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@