summaryrefslogtreecommitdiff
path: root/libgnome-control-center-extension/Makefile.am
blob: fde871bb6aa7dfb79628ba5e31f11ae202c280ae (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
NULL =

INCLUDES =						\
	-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""				\
	-DGNOMELOCALEDIR="\"$(datadir)/locale\""			\
	-DLIBEXECDIR="\"$(libexecdir)\""				\
	-DGTK_ENGINE_DIR="\"$(GTK_ENGINE_DIR)\"" 			\
	-DINSTALL_PREFIX=\"$(prefix)\"					\
	-I$(top_srcdir)							\
	-I$(top_srcdir)/libwindow-settings				\
	-DPIXMAP_DIR=\""$(datadir)/gnome-control-center/pixmaps"\"	\
	$(CAPPLET_CFLAGS)						\
	$(DBUS_CFLAGS)							\
	$(GNOME_DESKTOP_CFLAGS)						\
	$(WINDOW_MANAGER_CFLAGS)						\
	$(GSD_DBUS_CFLAGS)						\
	$(GIO_CFLAGS)
	$(EXTENSION_COMMON_CFLAGS)			\
	$(NULL)

lib_LTLIBRARIES = libgnome-control-center-extension.la

libgnome_control_center_extension_include_HEADERS =	\
	cc-page.h					\
	cc-panel.h					\
	cc-shell.h					\
	$(NULL)

libgnome_control_center_extension_la_SOURCES =		\
	cc-page.h					\
	cc-page.c					\
	cc-panel.h					\
	cc-panel.c					\
	$(NULL)

#        -version-info @GNOME_CONTROL_CENTER_EXTENSION_VERSION_INFO@
libgnome_control_center_extension_la_LDFLAGS =		\
        -no-undefined					\
        $(NULL)

libgnome_control_center_extension_la_LIBADD = 		\
	libcommon.la					\
	$(EXTENSION_COMMON_CFLAGS)			\
	$(NULL)

libgnome_control_center_extension_la_LIBTOOLFLAGS = --tag=disable-static

libgnome_control_center_extension_includedir = $(includedir)/gnome-control-center-1/libgnome-control-center-extension

libexec_PROGRAMS = cc-theme-thumbnailer-helper

cc_theme_thumbnailer_helper_SOURCES =	\
	cc-theme-thumbnailer-slave.c	\
	cc-theme-thumbnailer-slave.h	\
	cc-theme-thumbnailer-helper.c	\
	$(NULL)

cc_theme_thumbnailer_helper_LDADD = 	\
	$(WINDOW_MANAGER_LIBS)		\
	$(GNOMECC_CAPPLETS_LIBS)	\
	$(NULL)

noinst_LTLIBRARIES = libcommon.la

libcommon_la_SOURCES = \
	activate-settings-daemon.c	\
	activate-settings-daemon.h	\
	capplet-stock-icons.c		\
	capplet-stock-icons.h		\
	capplet-util.c			\
	capplet-util.h			\
	file-transfer-dialog.c		\
	file-transfer-dialog.h		\
	gconf-property-editor.c		\
	gconf-property-editor.h		\
	gconf-property-editor-marshal.c	\
	gconf-property-editor-marshal.h \
	gnome-theme-apply.c		\
	gnome-theme-apply.h 		\
	gnome-theme-info.c		\
	gnome-theme-info.h		\
	gtkrc-utils.c			\
	gtkrc-utils.h			\
	cc-theme-thumbnailer.c		\
	cc-theme-thumbnailer.h		\
	theme-thumbnail.c		\
	theme-thumbnail.h		\
	wm-common.c			\
	wm-common.h

libcommon_la_LIBADD =							\
	$(top_builddir)/libwindow-settings/libgnome-window-settings.la  \
	$(WINDOW_MANAGER_LIBS)						\
	$(DBUS_LIBS)							\
	$(GNOME_DESKTOP_LIBS)						\
	$(GIO_LIBS)

libcommon_la_LDFLAGS = -export-dynamic -no-undefined -avoid-version

gnome_theme_test_SOURCES = \
	gnome-theme-test.c

gnome_theme_test_LDADD = 						\
	libcommon.la							\
	$(GNOMECC_CAPPLETS_LIBS)

noinst_PROGRAMS = \
	gnome-theme-test

pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA=libgnome-control-center-extension.pc

EXTRA_DIST =					\
        libgnome-control-center-extension.pc.in	\
        $(NULL)

AM_CPPFLAGS =							\
	-DGNOMELOCALEDIR="\"$(datadir)/locale\""		\
	-DEXTENSION_DIR="\"$(libdir)/control-center-1/extensions\""					\
	-DUIDIR="\"$(uidir)\""					\
	-DMENUDIR="\"$(menudir)\""

-include $(top_srcdir)/git.mk