Remove usage of gmake's % syntax.
[doldaconnect.git] / config / Makefile.am
index 3d275f0..8aa018f 100644 (file)
@@ -1,4 +1,7 @@
-bin_PROGRAMS=locktouch tthsum dolconf
+bin_PROGRAMS=locktouch tthsum
+if DOLCONF
+bin_PROGRAMS+=dolconf
+endif
 if BASECONV
 bin_PROGRAMS+=baseconv
 else
@@ -24,9 +27,9 @@ dolconf_LDFLAGS=      $(shell pkg-config --libs gtk+-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
+dolconf_LDADD=         $(top_srcdir)/common/libcommon.a $(top_srcdir)/lib/libdcui.la
 
-%.gtk: %.desc $(top_srcdir)/common/makegdesc
+.desc.gtk: $(top_srcdir)/common/makegdesc
        $(top_srcdir)/common/makegdesc $< >$@
 
 EXTRA_DIST=doldacond.conf dc-filter dc-filtercmd dolconf-assistant.desc dolconf-wnd.desc