X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgui-shell%2FMakefile.am;h=43e6afcc267c42995f0b5843f8eb758b48dd1765;hb=ed9135a09f5afb91efbd26b77dea23f1b63a9788;hp=c826a0a7e4b876a8f571b04011e1d20d8f29978d;hpb=ec985ce41d011a94bbddfe225508538f8559f9b8;p=doldaconnect.git diff --git a/clients/gui-shell/Makefile.am b/clients/gui-shell/Makefile.am index c826a0a..43e6afc 100644 --- a/clients/gui-shell/Makefile.am +++ b/clients/gui-shell/Makefile.am @@ -1,5 +1,28 @@ -bin_PROGRAMS=dolcon-launch +if GUISHELL +bin_PROGRAMS=dolcon-launch doldacond-shell +app_DATA=dolcon.desktop +endif dolcon_launch_SOURCES=launch.c +doldacond_shell_SOURCES=dsh.c + +EXTRA_DIST=dsh-start.desc dsh-menu.desc dolcon.desktop +BUILT_SOURCES=dsh-start.gtk dsh-menu.gtk + +dsh.c: dsh-start.gtk dsh-menu.gtk + AM_CPPFLAGS=-I$(top_srcdir)/include +localedir=$(datadir)/locale +doldacond_shell_LDADD=$(top_srcdir)/lib/libdcui.la +doldacond_shell_LDFLAGS= @GTK2_LIBS@ @LIBNOTIFY_LIBS@ +doldacond_shell_CPPFLAGS=@GTK2_CFLAGS@ @LIBNOTIFY_CFLAGS@ \ + -DLOCALEDIR=\"$(localedir)\" + +.desc.gtk: $(top_srcdir)/common/makegdesc + target="$@"; \ + basename="$${target%.gtk}"; \ + cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \ + | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@ + +appdir=$(datadir)/applications