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