Commit | Line | Data |
---|---|---|
f7b314dc | 1 | if CLI_GTK2 |
d3372da9 | 2 | bin_PROGRAMS=dolcon |
ed9135a0 | 3 | endif |
d3372da9 | 4 | |
79e4db3e | 5 | dolcon_SOURCES= dolcon.c \ |
118cba31 | 6 | dolcon.h \ |
0d04e87e FT |
7 | hublist.c \ |
8 | hublist.h \ | |
9 | hublist-xml.c \ | |
dbdb91fa | 10 | hublist-old.c |
d3372da9 | 11 | |
444e8c28 | 12 | EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc |
d3372da9 | 13 | |
4dda7bfa | 14 | BUILT_SOURCES= mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk |
d3372da9 | 15 | |
fc107818 | 16 | main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk |
d3372da9 | 17 | |
18 | localedir=$(datadir)/locale | |
9e5a735c | 19 | dolcon_LDFLAGS= @GTK2_LIBS@ @LIBXML_LIBS@ -lbz2 |
7989fee6 | 20 | dolcon_LDADD=$(top_srcdir)/lib/libdcui.la $(top_srcdir)/common/libhttp.a |
3be6a9b7 | 21 | dolcon_CPPFLAGS=@GTK2_CFLAGS@ @LIBXML_CFLAGS@ \ |
89d3e6ce | 22 | -DLOCALEDIR=\"$(localedir)\" |
d3372da9 | 23 | |
753cbd04 | 24 | .desc.gtk: $(top_srcdir)/common/makegdesc |
4dda7bfa FT |
25 | target="$@"; \ |
26 | basename="$${target%.gtk}"; \ | |
27 | cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \ | |
28 | | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@ | |
d3372da9 | 29 | |
30 | mainwnd.desc: ../../config.h |