Commit | Line | Data |
---|---|---|
7df0ddad FT |
1 | bin_PROGRAMS= |
2 | if DOLCONF | |
3 | bin_PROGRAMS+=dolconf | |
4 | endif | |
5 | if BASECONV | |
6 | bin_PROGRAMS+=baseconv | |
7 | else | |
8 | noinst_PROGRAMS=baseconv | |
9 | endif | |
10 | ||
11 | dolconf_SOURCES=dolconf.c | |
12 | baseconv_SOURCES=baseconv.c | |
13 | BUILT_SOURCES=dolconf-assistant.gtk dolconf-wnd.gtk | |
14 | ||
15 | AM_CPPFLAGS=-I$(top_srcdir)/include | |
16 | baseconv_LDADD=$(top_srcdir)/common/libcommon.a | |
17 | ||
18 | dolconf.c: dolconf-assistant.desc dolconf-wnd.desc | |
19 | localedir=$(datadir)/locale | |
b2ab3796 | 20 | dolconf_LDFLAGS= @GTK2_LIBS@ |
7df0ddad FT |
21 | dolconf_CPPFLAGS= @GTK2_CFLAGS@ \ |
22 | -DLOCALEDIR=\"$(localedir)\" | |
23 | dolconf_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 | |
30 | EXTRA_DIST=dolconf-assistant.desc dolconf-wnd.desc |