Created a (hopefully) sane way to install desktop data.
[doldaconnect.git] / clients / gui-shell / Makefile.am
CommitLineData
ed9135a0 1if GUISHELL
34d45a15 2bin_PROGRAMS=dolcon-launch doldacond-shell
ed9135a0 3endif
f7a57385
FT
4
5dolcon_launch_SOURCES=launch.c
ec985ce4 6
34d45a15
FT
7doldacond_shell_SOURCES=dsh.c
8
444e8c28 9EXTRA_DIST=dsh-start.desc dsh-menu.desc
34d45a15
FT
10BUILT_SOURCES=dsh-start.gtk dsh-menu.gtk
11
12dsh.c: dsh-start.gtk dsh-menu.gtk
13
ec985ce4 14AM_CPPFLAGS=-I$(top_srcdir)/include
34d45a15
FT
15localedir=$(datadir)/locale
16doldacond_shell_LDADD=$(top_srcdir)/lib/libdcui.la
17doldacond_shell_LDFLAGS= @GTK2_LIBS@ @LIBNOTIFY_LIBS@
18doldacond_shell_CPPFLAGS=@GTK2_CFLAGS@ @LIBNOTIFY_CFLAGS@ \
19 -DLOCALEDIR=\"$(localedir)\"
20
21.desc.gtk: $(top_srcdir)/common/makegdesc
22 target="$@"; \
23 basename="$${target%.gtk}"; \
24 cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \
25 | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@