X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgui-shell%2FMakefile.am;h=44003987dc518aad1ab00ae317e12e45c77fd6b7;hb=444e8c2819bc52a48804c125829f187177af02b4;hp=a6aa0e460c3b8886a811b96b3d8a66225a3632b7;hpb=f7a57385f5749e0bc0eb27028f609ca72e2b2dbd;p=doldaconnect.git diff --git a/clients/gui-shell/Makefile.am b/clients/gui-shell/Makefile.am index a6aa0e4..4400398 100644 --- a/clients/gui-shell/Makefile.am +++ b/clients/gui-shell/Makefile.am @@ -1,3 +1,25 @@ -bin_PROGRAMS=dolcon-launch +if GUISHELL +bin_PROGRAMS=dolcon-launch doldacond-shell +endif dolcon_launch_SOURCES=launch.c + +doldacond_shell_SOURCES=dsh.c + +EXTRA_DIST=dsh-start.desc dsh-menu.desc +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" >$@