Makefile.am 1.83 KB
Newer Older
1
AM_CPPFLAGS =								\
2
	-I$(top_srcdir)							\
3
4
	-DG_LOG_DOMAIN=\"xfce4-taskmanager\"				\
	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
Johannes Zellner's avatar
   
Johannes Zellner committed
5

6
7
bin_PROGRAMS =								\
	xfce4-taskmanager
Johannes Zellner's avatar
Johannes Zellner committed
8

9
xfce4_taskmanager_CFLAGS =						\
10
	$(CAIRO_CFLAGS)							\
11
12
	$(LIBX11_CFLAGS)						\
	$(LIBXMU_CFLAGS)						\
Andre Miranda's avatar
Andre Miranda committed
13
14
	$(GTK3_CFLAGS)							\
	$(WNCK_CFLAGS)							\
15
	$(LIBXFCE4UI_CFLAGS)				\
Mike Massonnet's avatar
Mike Massonnet committed
16
17
	$(NULL)

18
xfce4_taskmanager_LDADD = 						\
19
	$(CAIRO_LIBS)							\
20
21
	$(LIBX11_LIBS)						\
	$(LIBXMU_LIBS)						\
Andre Miranda's avatar
Andre Miranda committed
22
23
	$(GTK3_LIBS) 						\
	$(WNCK_LIBS)						\
24
	$(LIBXFCE4UI_LIBS)			\
Mike Massonnet's avatar
Mike Massonnet committed
25
	$(NULL)
Johannes Zellner's avatar
Johannes Zellner committed
26

27
28
xfce4_taskmanager_SOURCES =						\
	main.c								\
Andre Miranda's avatar
Andre Miranda committed
29
	process-window_ui.h					\
30
	process-window.c		process-window.h		\
31
	process-monitor.c		process-monitor.h		\
32
	process-tree-model.c		process-tree-model.h		\
33
	process-tree-view.c		process-tree-view.h		\
Mike Massonnet's avatar
Mike Massonnet committed
34
	process-statusbar.c		process-statusbar.h		\
35
	settings-tool-button.c		settings-tool-button.h		\
Andre Miranda's avatar
Andre Miranda committed
36
	settings-dialog_ui.h									\
37
	settings-dialog.c		settings-dialog.h		\
38
	settings.c			settings.h			\
39
	task-manager.c			task-manager.h			\
40
41
	$(NULL)

Mike Massonnet's avatar
Mike Massonnet committed
42
43
44
45
if HAVE_WNCK
xfce4_taskmanager_SOURCES += app-manager.c app-manager.h
endif

Mike Massonnet's avatar
Mike Massonnet committed
46
47
48
if OS_FREEBSD
xfce4_taskmanager_SOURCES += task-manager-freebsd.c
endif
49
50
51
52
53
54
55
56
57
if OS_BSD
xfce4_taskmanager_SOURCES += task-manager-bsd.c
endif
if OS_SOLARIS
xfce4_taskmanager_SOURCES += task-manager-solaris.c
endif
if OS_LINUX
xfce4_taskmanager_SOURCES += task-manager-linux.c
endif
58
59
60
if OS_SKEL
xfce4_taskmanager_SOURCES += task-manager-skel.c
endif
61

62
if MAINTAINER_MODE
Andre Miranda's avatar
Andre Miranda committed
63
BUILT_SOURCES = process-window_ui.h settings-dialog_ui.h
64
process-window_ui.h: process-window.ui
65
	$(AM_V_GEN) xdt-csource --static --strip-comments --strip-content --name=process_window_ui $< >$@
66
settings-dialog_ui.h: settings-dialog.ui
67
	$(AM_V_GEN) xdt-csource --static --strip-comments --strip-content --name=settings_dialog_ui $< >$@
68
69
endif

Andre Miranda's avatar
Andre Miranda committed
70
EXTRA_DIST = process-window.ui settings-dialog.ui