1AM_CPPFLAGS =								\
2	-I$(top_srcdir)							\
3	-DG_LOG_DOMAIN=\"xfce4-taskmanager\"				\
4	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
5
6bin_PROGRAMS =								\
7	xfce4-taskmanager
8
9xfce4_taskmanager_CFLAGS =						\
10	$(CAIRO_CFLAGS)							\
11	$(LIBX11_CFLAGS)						\
12	$(LIBXMU_CFLAGS)						\
13	$(GTK3_CFLAGS)							\
14	$(WNCK_CFLAGS)							\
15	$(NULL)
16
17xfce4_taskmanager_LDADD = 						\
18	$(CAIRO_LIBS)							\
19	$(LIBX11_LIBS)						\
20	$(LIBXMU_LIBS)						\
21	$(GTK3_LIBS) 						\
22	$(WNCK_LIBS)						\
23	$(NULL)
24
25xfce4_taskmanager_SOURCES =						\
26	main.c								\
27	process-window_ui.h					\
28	process-window.c		process-window.h		\
29	process-monitor.c		process-monitor.h		\
30	process-tree-model.c		process-tree-model.h		\
31	process-tree-view.c		process-tree-view.h		\
32	process-statusbar.c		process-statusbar.h		\
33	exec-tool-button.c		exec-tool-button.h		\
34	settings-tool-button.c		settings-tool-button.h		\
35	settings-dialog_ui.h									\
36	settings-dialog.c		settings-dialog.h		\
37	settings.c			settings.h			\
38	task-manager.c			task-manager.h			\
39	$(NULL)
40
41if HAVE_WNCK
42xfce4_taskmanager_SOURCES += app-manager.c app-manager.h
43endif
44
45if OS_FREEBSD
46xfce4_taskmanager_SOURCES += task-manager-freebsd.c
47endif
48if OS_BSD
49xfce4_taskmanager_SOURCES += task-manager-bsd.c
50endif
51if OS_SOLARIS
52xfce4_taskmanager_SOURCES += task-manager-solaris.c
53endif
54if OS_LINUX
55xfce4_taskmanager_SOURCES += task-manager-linux.c
56endif
57if OS_SKEL
58xfce4_taskmanager_SOURCES += task-manager-skel.c
59endif
60
61if MAINTAINER_MODE
62BUILT_SOURCES = process-window_ui.h settings-dialog_ui.h
63process-window_ui.h: process-window.ui
64	$(AM_V_GEN) xdt-csource --static --strip-comments --strip-content --name=process_window_ui $< >$@
65settings-dialog_ui.h: settings-dialog.ui
66	$(AM_V_GEN) xdt-csource --static --strip-comments --strip-content --name=settings_dialog_ui $< >$@
67endif
68
69EXTRA_DIST = process-window.ui settings-dialog.ui
70