summaryrefslogtreecommitdiff
path: root/shell/Makefile.am
blob: 77d1c1ac71296ee903067bc9a950359b44ae3267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
REAL_LIBSLAB_CFLAGS = -I$(top_srcdir)/libslab
REAL_LIBSLAB_LIBS = $(top_builddir)/libslab/libmate-slab.la

AM_CPPFLAGS =					\
	-I$(top_srcdir)				\
	$(WARN_CFLAGS)				\
	$(REAL_LIBSLAB_CFLAGS)			\
	$(MATECC_SHELL_CFLAGS)			\
	-DMATELOCALEDIR="\"$(datadir)/locale\""

bin_PROGRAMS = mate-control-center

mate_control_center_SOURCES =		\
	control-center.c

mate_control_center_LDADD =						\
	$(MATECC_SHELL_LIBS)						\
	$(REAL_LIBSLAB_LIBS)

sysdir = $(datadir)/applications
sys_in_files = matecc.desktop.in
sys_DATA = $(sys_in_files:.desktop.in=.desktop)
$(sys_DATA): $(sys_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@

directorydir = $(datadir)/desktop-directories
directory_in_files = matecc.directory.desktop.in
directory_DATA = $(directory_in_files:.directory.desktop.in=.directory)
$(directory_DATA): $(directory_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

menudir = $(sysconfdir)/xdg/menus
menu_DATA = matecc.menu

EXTRA_DIST = $(sys_in_files) matecc.directory.desktop.in matecc.menu

DISTCLEANFILES = $(sys_DATA) matecc.directory

-include $(top_srcdir)/git.mk