X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=config%2FMakefile.am;h=85baae720ab2d828851c3f36f87bced2fbb85e95;hb=08afef8b846a02517828801411f8f0b2cf6530eb;hp=2238232669ac296a67ab636ca7716b8ca1eec2b1;hpb=2fba954a2ff66ea881f90bde4b3d29ed0cc5d23a;p=doldaconnect.git diff --git a/config/Makefile.am b/config/Makefile.am index 2238232..85baae7 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -1,12 +1,28 @@ -bin_PROGRAMS=locktouch tthsum +bin_PROGRAMS=locktouch tthsum dolconf libexec_PROGRAMS=speedrec speedrec_SOURCES=speedrec.c - locktouch_SOURCES=locktouch.c tthsum_SOURCES=tthsum.c +dolconf_SOURCES=dolconf.c +BUILT_SOURCES=dolconf-assistant.gtk + +AM_CPPFLAGS=-I$(top_srcdir)/include +tthsum_LDADD=$(top_srcdir)/common/libcommon.a + +dolconf.c: dolconf-assistant.desc +localedir=$(datadir)/locale +dolconf_LDFLAGS= $(shell pkg-config --libs gtk+-2.0) \ + $(shell pkg-config --libs libxml-2.0) +dolconf_CPPFLAGS= $(shell pkg-config --cflags gtk+-2.0) \ + $(shell pkg-config --cflags libxml-2.0) \ + -DLOCALEDIR=\"$(localedir)\" +dolconf_LDADD= $(top_srcdir)/common/libcommon.a + +%.gtk: %.desc $(top_srcdir)/common/makegdesc + $(top_srcdir)/common/makegdesc $< >$@ -EXTRA_DIST=doldacond.conf dc-filter dc-filtercmd +EXTRA_DIST=doldacond.conf dc-filter dc-filtercmd dolconf-assistant.desc install-data-local: $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \