summaryrefslogtreecommitdiff
path: root/libxfpm/Makefile.am
blob: ecdc4030d085330c726ae8d85f3d94942663f87c (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
noinst_LTLIBRARIES = 			\
	libxfpmhal.la			\
	libxfpmhalpower.la		\
	libxfpmcommon.la

libxfpmhal_la_SOURCES =			\
	hal-manager.c			\
	hal-manager.h			\
	hal-device.c			\
	hal-device.h			\
	hal-marshal.c			\
	hal-marshal.h

libxfpmhal_la_CFLAGS =			\
	$(GLIB_CFLAGS)			\
	$(DBUS_GLIB_CFLAGS)

libxfpmhalpower_la_SOURCES =		\
	hal-power.c			\
	hal-power.h			\
	hal-battery.c			\
	hal-battery.h			\
	hal-enum.h

libxfpmhalpower_la_CFLAGS  =		\
	$(GLIB_CFLAGS)			\
	$(DBUS_GLIB_CFLAGS)

libxfpmcommon_la_SOURCES =      	\
        xfpm-string.c           	\
        xfpm-string.h           	\
        xfpm-dbus.c             	\
        xfpm-dbus.h             	\
        xfpm-popups.c           	\
        xfpm-popups.h           	\
        xfpm-common.c           	\
        xfpm-common.h			\
	xfpm-notify.c			\
	xfpm-notify.h			\
	xfpm-icons.h

libxfpmcommon_la_CFLAGS =       	\
        $(GTK_CFLAGS)           	\
        $(GLIB_CFLAGS)          	\
        $(DBUS_CFLAGS)			\
	$(LIBXFCE4UTIL_CFLAGS)		\
	$(LIBXFCEGUI4_CFLAGS)		\
	$(LIBNOTIFY_CFLAGS)

if MAINTAINER_MODE

BUILT_SOURCES =				\
	hal-marshal.c			\
	hal-marshal.h

hal-marshal.c: hal-marshal.list
	echo "#include \"hal-marshal.h\"" > $@ && \
	glib-genmarshal $< --prefix=_hal_marshal --body >> $@

hal-marshal.h: hal-marshal.list
	glib-genmarshal $< --prefix=_hal_marshal --header > $@

endif

EXTRA_DIST =				\
	hal-marshal.list

DISTCLEANFILES =			\
	$(BUILT_SOURCES)