43e6afcc267c42995f0b5843f8eb758b48dd1765
[doldaconnect.git] / clients / gui-shell / Makefile.am
1 if GUISHELL
2 bin_PROGRAMS=dolcon-launch doldacond-shell
3 app_DATA=dolcon.desktop
4 endif
5
6 dolcon_launch_SOURCES=launch.c
7
8 doldacond_shell_SOURCES=dsh.c
9
10 EXTRA_DIST=dsh-start.desc dsh-menu.desc dolcon.desktop
11 BUILT_SOURCES=dsh-start.gtk dsh-menu.gtk
12
13 dsh.c: dsh-start.gtk dsh-menu.gtk
14
15 AM_CPPFLAGS=-I$(top_srcdir)/include
16 localedir=$(datadir)/locale
17 doldacond_shell_LDADD=$(top_srcdir)/lib/libdcui.la
18 doldacond_shell_LDFLAGS= @GTK2_LIBS@ @LIBNOTIFY_LIBS@
19 doldacond_shell_CPPFLAGS=@GTK2_CFLAGS@ @LIBNOTIFY_CFLAGS@ \
20                          -DLOCALEDIR=\"$(localedir)\"
21
22 .desc.gtk: $(top_srcdir)/common/makegdesc
23         target="$@"; \
24         basename="$${target%.gtk}"; \
25         cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \
26          | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@
27
28 appdir=$(datadir)/applications