summaryrefslogtreecommitdiff
path: root/libwindow-settings/Makefile.am
blob: 5db5493709047bc19c82bb19a378217d94e8883f (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
WM_MODULE_DIR=$(libdir)/window-manager-settings

AM_CPPFLAGS = 								\
	-DMATELOCALEDIR="\"$(datadir)/locale\""				\
	-DG_LOG_DOMAIN=\"capplet-common\"				\
	-DMATE_WM_PROPERTY_PATH=\"$(datadir)/mate/wm-properties\"	\
	-DMATE_WINDOW_MANAGER_MODULE_PATH=\""$(WM_MODULE_DIR)"\"	\
	-I$(top_srcdir)/						\
	$(WARN_CFLAGS)							\
	@CAPPLET_CFLAGS@						\
	-DMARCO_THEME_DIR=\""$(datadir)/themes"\"

lib_LTLIBRARIES = libmate-window-settings.la

libmate_window_settings_la_LDFLAGS = 	\
	-export_dynamic			\
	-no-undefined			\
        -version-info 1:0:0

libmate_window_settings_la_LIBADD = $(MATECC_LIBS)

libmate_window_settings_la_SOURCES = \
	mate-window-manager.c	\
	mate-window-manager.h	\
	mate-wm-manager.c	\
	mate-wm-manager.h

libmate_window_settingsincludedir = $(includedir)/mate-window-settings-2.0

libmate_window_settingsinclude_HEADERS =	\
	mate-window-manager.h			\
	mate-wm-manager.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mate-window-settings-2.0.pc

EXTRA_DIST = 					\
	mate-window-settings-2.0.pc.in

wms_flags = -export_dynamic -avoid-version -module
wmsdir = $(WM_MODULE_DIR)

wms_LTLIBRARIES =			\
	libmarco.la

libmarco_la_SOURCES = 		\
	marco-window-manager.c	\
	marco-window-manager.h

libmarco_la_LDFLAGS = $(wms_flags)
libmarco_la_LIBADD = 		\
	$(MATECC_LIBS)			\
	libmate-window-settings.la

-include $(top_srcdir)/git.mk