Move usb scanning code to ao-tools library
[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=$(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.h
29
30 BUILT_SOURCES = aoview_glade.h
31
32 CLEANFILES = aoview_glade.h
33
34 man_MANS=ao-view.1
35
36 aoview_glade.h: aoview.glade
37         sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@