Check for xattr support in configure script.
[doldaconnect.git] / config / util / Makefile.am
CommitLineData
7df0ddad
FT
1bin_PROGRAMS=
2if DOLCONF
3bin_PROGRAMS+=dolconf
4endif
5if BASECONV
6bin_PROGRAMS+=baseconv
7else
8noinst_PROGRAMS=baseconv
9endif
10
11dolconf_SOURCES=dolconf.c
12baseconv_SOURCES=baseconv.c
13BUILT_SOURCES=dolconf-assistant.gtk dolconf-wnd.gtk
14
15AM_CPPFLAGS=-I$(top_srcdir)/include
16baseconv_LDADD=$(top_srcdir)/common/libcommon.a
17
18dolconf.c: dolconf-assistant.desc dolconf-wnd.desc
19localedir=$(datadir)/locale
b2ab3796 20dolconf_LDFLAGS= @GTK2_LIBS@
7df0ddad
FT
21dolconf_CPPFLAGS= @GTK2_CFLAGS@ \
22 -DLOCALEDIR=\"$(localedir)\"
23dolconf_LDADD= $(top_srcdir)/common/libcommon.a $(top_srcdir)/lib/libdcui.la
24
25.desc.gtk: $(top_srcdir)/common/makegdesc
b1099f1f
FT
26 target="$@"; \
27 basename="$${target%.gtk}"; \
28 $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" $< >$@
7df0ddad
FT
29
30EXTRA_DIST=dolconf-assistant.desc dolconf-wnd.desc