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