summaryrefslogtreecommitdiff
path: root/capplets/appearance/Makefile.am
blob: 7b44070c89b6e29da99a3e5f2c88c7ec066a31d5 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
SUBDIRS = data

BUILT_SOURCES = mate-appearance-properties-resources.h mate-appearance-properties-resources.c

# This is used in MATECC_CAPPLETS_CFLAGS
cappletname = appearance

bin_PROGRAMS = mate-appearance-properties

nodist_mate_appearance_properties_SOURCES = \
	$(BUILT_SOURCES)
mate_appearance_properties_SOURCES = \
	appearance.h \
	appearance-desktop.c \
	appearance-desktop.h \
	appearance-font.c \
	appearance-font.h \
	appearance-main.c \
	appearance-themes.c \
	appearance-themes.h \
	appearance-style.c \
	appearance-style.h \
	appearance-ui.c \
	appearance-ui.h \
	appearance-support.c \
	appearance-support.h \
	mate-wp-info.c \
	mate-wp-info.h \
	mate-wp-item.c \
	mate-wp-item.h \
	mate-wp-xml.c \
	mate-wp-xml.h \
	theme-installer.c \
	theme-installer.h \
	theme-save.c \
	theme-save.h \
	theme-util.c \
	theme-util.h

AM_CFLAGS = -DMATE_DESKTOP_USE_UNSTABLE_API

mate_appearance_properties_LDADD = \
	$(top_builddir)/libwindow-settings/libmate-window-settings.la \
	$(top_builddir)/capplets/common/libcommon.la \
	$(MATECC_CAPPLETS_LIBS) \
	$(FONT_CAPPLET_LIBS) \
	$(MARCO_LIBS)
mate_appearance_properties_LDFLAGS = -export-dynamic

pixmapdir = $(pkgdatadir)/pixmaps
wallpaperdir = $(datadir)/mate-background-properties
backgrounddir = $(datadir)/backgrounds

AM_CPPFLAGS = \
	$(MARCO_CFLAGS) \
	$(MATECC_CAPPLETS_CFLAGS) \
	$(FONT_CAPPLET_CFLAGS) \
	-DMATECC_DATA_DIR="\"$(pkgdatadir)\"" \
	-DMATECC_PIXMAP_DIR="\"$(pixmapdir)\"" \
	-DWALLPAPER_DATADIR="\"$(wallpaperdir)\"" \
	-DBACKGROUND_DATADIR="\"$(backgrounddir)\""

mate-appearance-properties-resources.h mate-appearance-properties-resources.c: org.mate.mcc.appearance.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.appearance.gresource.xml)
	$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name appearance $<

CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(BUILT_SOURCES)
EXTRA_DIST = org.mate.mcc.appearance.gresource.xml

-include $(top_srcdir)/git.mk