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