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