~macslow/notify-osd/mouse-movement-monitor

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
124
125
NULL =

transform = s/_/-/g

INCLUDES =			\
	-I.			\
	-I$(srcdir)		\
	-I$(top_srcdir)		\
	$(NULL)

notify_osddir = $(libexecdir)

notify_osd_PROGRAMS = \
	notify-osd		\
	$(NULL)

notify_osd_sources =		\
	bubble.c		\
	defaults.c		\
	notification.c		\
	main.c			\
	observer.c		\
	stack.c			\
	dbus.c			\
	dnd.c			\
	apport.c		\
	log.c			\
	util.c			\
	timings.c		\
	stack-blur.c				\
	exponential-blur.c			\
	gaussian-blur.c				\
	raico-blur.c				\
	tile.c					\
	bubble-window.c				\
	bubble-window-accessible.c		\
	bubble-window-accessible-factory.c	\
	$(top_srcdir)/egg/egg-fixed.c		\
	$(top_srcdir)/egg/egg-units.c		\
	$(top_srcdir)/egg/egg-timeline.c	\
	$(top_srcdir)/egg/egg-timeout-pool.c	\
	$(top_srcdir)/egg/egg-alpha.c		\
	$(top_srcdir)/egg/egg-hack.c		\
	$(NULL)

notify_osd_headers =				\
	bubble.h				\
	defaults.h				\
	notification.h				\
	observer.h				\
	stack.h					\
	stack-glue.h				\
	dbus.h					\
	dnd.h					\
	log.h					\
	apport.h				\
	util.h					\
	timings.h				\
	stack-blur.h				\
	exponential-blur.h			\
	gaussian-blur.h				\
	raico-blur.h				\
	tile.h					\
	bubble-window.h				\
	bubble-window-accessible.h		\
	bubble-window-accessible-factory.h	\
	$(top_srcdir)/egg/egg-fixed.h		\
	$(top_srcdir)/egg/egg-units.h		\
	$(top_srcdir)/egg/egg-timeline.h	\
	$(top_srcdir)/egg/egg-timeout-pool.h	\
	$(top_srcdir)/egg/egg-alpha.h		\
	$(top_srcdir)/egg/egg-debug.h		\
	$(top_srcdir)/egg/egg-hack.h		\
	$(NULL)

notify_osd_SOURCES =		\
	$(notify_osd_sources)	\
	$(notify_osd_headers)	\
	$(NULL)

notify_osd_LDADD =			\
	$(X_LIBS)		\
	$(GLIB_LIBS) 		\
	$(GCONF_LIBS) 		\
	$(GTK_LIBS) 		\
	$(NOTIFY_OSD_LIBS)	\
	$(DBUS_LIBS)     	\
	$(WNCK_LIBS)     	\
	$(NULL)

notify_osd_CFLAGS = 		\
	-DDATADIR=\""$(datadir)"\" \
	$(GTK_CFLAGS) 		\
	$(NOTIFY_OSD_CFLAGS)	\
	$(GLIB_CFLAGS) 		\
	$(GCONF_CFLAGS)		\
	$(DBUS_CFLAGS)		\
	-DWNCK_I_KNOW_THIS_IS_UNSTABLE \
	$(WNCK_CFLAGS)		\
	$(INCLUDES)		\
	$(NULL)

notify_osd_LDFLAGS = 		\
	-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions \
	$(NULL)

# this comes from distutils.sysconfig.get_config_var('LINKFORSHARED')

stack-glue.h: notify-osd.xml Makefile
	$(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=stack --mode=glib-server --output=$@ $<

BUILT_SOURCES =		\
	stack-glue.h

EXTRA_DIST =		\
	notify-osd.xml	\
	dialog.c	\
	display.c	\
	$(NULL)

dist-hook:
	cd $(distdir) ; rm -f $(CLEANFILES)

DISTCLEANFILES = $(BUILT_SOURCES)