Created a (hopefully) sane way to install desktop data.
[doldaconnect.git] / clients / gui-shell / Makefile.am
... / ...
CommitLineData
1if GUISHELL
2bin_PROGRAMS=dolcon-launch doldacond-shell
3endif
4
5dolcon_launch_SOURCES=launch.c
6
7doldacond_shell_SOURCES=dsh.c
8
9EXTRA_DIST=dsh-start.desc dsh-menu.desc
10BUILT_SOURCES=dsh-start.gtk dsh-menu.gtk
11
12dsh.c: dsh-start.gtk dsh-menu.gtk
13
14AM_CPPFLAGS=-I$(top_srcdir)/include
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" >$@