Created a (hopefully) sane way to install desktop data.
[doldaconnect.git] / clients / gtk2 / Makefile.am
... / ...
CommitLineData
1if CLI_GTK2
2bin_PROGRAMS=dolcon
3endif
4
5dolcon_SOURCES= dolcon.c \
6 dolcon.h \
7 hublist.c \
8 hublist.h \
9 hublist-xml.c \
10 hublist-old.c \
11 progressbar.c \
12 progressbar.h
13
14EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc
15
16BUILT_SOURCES= mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
17
18main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
19
20localedir=$(datadir)/locale
21dolcon_LDFLAGS= @GTK2_LIBS@ @LIBXML_LIBS@ -lbz2
22dolcon_LDADD=$(top_srcdir)/lib/libdcui.la $(top_srcdir)/common/libhttp.a
23dolcon_CPPFLAGS=@GTK2_CFLAGS@ @LIBXML_CFLAGS@ \
24 -DLOCALEDIR=\"$(localedir)\"
25
26.desc.gtk: $(top_srcdir)/common/makegdesc
27 target="$@"; \
28 basename="$${target%.gtk}"; \
29 cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \
30 | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@
31
32mainwnd.desc: ../../config.h