1 bin_PROGRAMS=locktouch tthsum dolconf
2 noinst_PROGRAMS=baseconv
3 libexec_PROGRAMS=speedrec
5 speedrec_SOURCES=speedrec.c
6 locktouch_SOURCES=locktouch.c
7 tthsum_SOURCES=tthsum.c
8 dolconf_SOURCES=dolconf.c
9 baseconv_SOURCES=baseconv.c
10 BUILT_SOURCES=dolconf-assistant.gtk dolconf-wnd.gtk
12 AM_CPPFLAGS=-I$(top_srcdir)/include
13 tthsum_LDADD=$(top_srcdir)/common/libcommon.a
14 baseconv_LDADD=$(top_srcdir)/common/libcommon.a
16 dolconf.c: dolconf-assistant.desc dolconf-wnd.desc
17 localedir=$(datadir)/locale
18 dolconf_LDFLAGS= $(shell pkg-config --libs gtk+-2.0) \
19 $(shell pkg-config --libs libxml-2.0)
20 dolconf_CPPFLAGS= $(shell pkg-config --cflags gtk+-2.0) \
21 $(shell pkg-config --cflags libxml-2.0) \
22 -DLOCALEDIR=\"$(localedir)\"
23 dolconf_LDADD= $(top_srcdir)/common/libcommon.a
25 %.gtk: %.desc $(top_srcdir)/common/makegdesc
26 $(top_srcdir)/common/makegdesc $< >$@
28 EXTRA_DIST=doldacond.conf dc-filter dc-filtercmd dolconf-assistant.desc dolconf-wnd.desc
31 $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
32 for file in doldacond.conf; do \
33 if [ ! -e $(DESTDIR)$(sysconfdir)/$$file ]; then \
34 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(sysconfdir)/$$file; \
37 for file in dc-filter dc-filtercmd; do \
38 if [ ! -e $(DESTDIR)$(sysconfdir)/$$file ]; then \
39 $(INSTALL) $(srcdir)/$$file $(DESTDIR)$(sysconfdir)/$$file; \