X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2FMakefile.am;h=3dd77a392be8e4728c50c91442443b65bab125aa;hb=4b9af9b0c7159f8dce5eb326211e6e099b3b34d6;hp=cd88c53eea4c393ff84fe737dc2d6b7009056bdf;hpb=3be6a9b7c6aac4fe975cbab1d9b946536dd5ddd2;p=doldaconnect.git diff --git a/clients/gtk2/Makefile.am b/clients/gtk2/Makefile.am index cd88c53..3dd77a3 100644 --- a/clients/gtk2/Makefile.am +++ b/clients/gtk2/Makefile.am @@ -1,12 +1,19 @@ +if CLI_GTK2 bin_PROGRAMS=dolcon +app_DATA=dolcon.desktop +endif -dolcon_SOURCES= main.c \ +dolcon_SOURCES= dolcon.c \ + hublist.c \ + hublist.h \ + hublist-xml.c \ + hublist-old.c \ progressbar.c \ progressbar.h EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc dolcon.desktop -BUILT_SOURCES=mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk +BUILT_SOURCES= mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk @@ -17,9 +24,11 @@ dolcon_CPPFLAGS=@GTK2_CFLAGS@ @LIBXML_CFLAGS@ \ -DLOCALEDIR=\"$(localedir)\" .desc.gtk: $(top_srcdir)/common/makegdesc - cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< | $(top_srcdir)/common/makegdesc >$@ + target="$@"; \ + basename="$${target%.gtk}"; \ + cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \ + | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@ mainwnd.desc: ../../config.h appdir=$(datadir)/applications -app_DATA=dolcon.desktop