summaryrefslogtreecommitdiff
path: root/panel/Makefile.am
blob: a49110d012c645b8565dc1ac5976d53709eac14c (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
# $Id$

INCLUDES = 									\
	-I$(top_srcdir)								\
	-I$(top_builddir)							\
	-DG_LOG_DOMAIN=\"xfce4-panel\"						\
	-DDATADIR=\"$(datadir)\"						\
	-DLIBDIR=\"$(libdir)/xfce4\"						\
	-DLIBEXECDIR=\"$(libexecdir)\"						\
	-DSYSCONFDIR=\"$(sysconfdir)\"						\
	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"					\
	-DDBUS_API_SUBJECT_TO_CHANGE						\
	$(PLATFORM_CPPFLAGS)

bin_PROGRAMS = 									\
	xfce4-panel
	
xfce4_panel_built_sources =							\
	panel-dbus-service-infos.h						\
	panel-dbus-client-infos.h \
	panel-marshal.h								\
	panel-marshal.c

xfce4_panel_SOURCES =								\
	$(xfce4_panel_built_sources)						\
	main.c									\
	panel-application.c							\
	panel-application.h							\
	panel-dbus-client.c							\
	panel-dbus-client.h							\
	panel-dbus-service.c							\
	panel-dbus-service.h							\
	panel-dialogs.c								\
	panel-dialogs.h								\
	panel-glue.c								\
	panel-glue.h								\
	panel-item-dialog.c							\
	panel-item-dialog.h							\
	panel-itembar.c								\
	panel-itembar.h								\
	panel-module.c								\
	panel-module.h								\
	panel-module-factory.c							\
	panel-module-factory.h							\
	panel-plugin-external.c							\
	panel-plugin-external.h							\
	panel-preferences-dialog.c						\
	panel-preferences-dialog.h						\
	panel-private.c								\
	panel-private.h								\
	panel-window.c								\
	panel-window.h

xfce4_panel_CFLAGS =								\
	$(GTK_CFLAGS)								\
	$(GMODULE_CFLAGS)							\
	$(GTHREAD_CFLAGS)							\
	$(EXO_CFLAGS)								\
	$(LIBXFCE4UTIL_CFLAGS)							\
	$(LIBXFCE4UI_CFLAGS)							\
	$(DBUS_CFLAGS)								\
	$(PLATFORM_CFLAGS)

xfce4_panel_LDFLAGS =								\
	-no-undefined								\
	$(PLATFORM_LDFLAGS)

xfce4_panel_LDADD =								\
	$(top_builddir)/libxfce4panel/libxfce4panel.la				\
	$(GTK_LIBS)								\
	$(EXO_LIBS)								\
	$(GMODULE_LIBS)								\
	$(GTHREAD_LIBS)								\
	$(LIBXFCE4UTIL_LIBS)							\
	$(LIBXFCE4UI_LIBS)							\
	$(DBUS_LIBS)

xfce4_panel_DEPENDENCIES =							\
	$(top_builddir)/libxfce4panel/libxfce4panel.la

if MAINTAINER_MODE

panel-dbus-service-infos.h: $(srcdir)/panel-dbus-service-infos.xml Makefile
	dbus-binding-tool --prefix=panel_dbus_service --mode=glib-server $< > $@

panel-dbus-client-infos.h: $(srcdir)/panel-dbus-service-infos.xml Makefile
	dbus-binding-tool --mode=glib-client $< > $@

panel-marshal.h: $(srcdir)/panel-marshal.list Makefile
	glib-genmarshal --header --prefix=panel_marshal $< > $@

panel-marshal.c: $(srcdir)/panel-marshal.list Makefile
	glib-genmarshal --body --prefix=panel_marshal $< > $@

DISTCLEANFILES =								\
	$(xfce4_panel_built_sources)

BUILT_SOURCES =									\
	$(xfce4_panel_built_sources)
endif

EXTRA_DIST =									\
	panel-dbus-service-infos.xml						\
	panel-marshal.list

# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: