summaryrefslogtreecommitdiff
path: root/cpufreq/src/Makefile.am
blob: af5982f900eb43878520c1778a5bc7b5e1bf4dc5 (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
if BUILD_CPUFREQ_SELECTOR
selector_SUBDIR = cpufreq-selector
endif

SUBDIRS = $(selector_SUBDIR)

AM_CPPFLAGS = \
	-DCPUFREQ_MENU_UI_DIR=\""$(datadir)/mate/ui"\" 	\
	$(MATE_APPLETS4_CFLAGS)

if HAVE_DBUS
AM_CPPFLAGS += $(DBUS_CFLAGS)
endif

libexec_PROGRAMS = mate-cpufreq-applet

if HAVE_LIBCPUFREQ
cpufreq_files=cpufreq-monitor-libcpufreq.c    cpufreq-monitor-libcpufreq.h
endif

mate_cpufreq_applet_SOURCES =  \
	cpufreq-applet.c        	cpufreq-applet.h        	\
	cpufreq-utils.c			cpufreq-utils.h			\
	cpufreq-prefs.c         	cpufreq-prefs.h         	\
	cpufreq-selector.c		cpufreq-selector.h		\
	cpufreq-popup.c                 cpufreq-popup.h			\
	cpufreq-monitor.c       	cpufreq-monitor.h	      	\
	cpufreq-monitor-factory.c	cpufreq-monitor-factory.h	\
	cpufreq-monitor-procfs.c	cpufreq-monitor-procfs.h	\
	cpufreq-monitor-sysfs.c	        cpufreq-monitor-sysfs.h	        \
	$(cpufreq_files)						\
	cpufreq-monitor-cpuinfo.c       cpufreq-monitor-cpuinfo.h

mate_cpufreq_applet_CFLAGS =		\
	${WARN_CFLAGS}

mate_cpufreq_applet_LDADD =		\
	$(MATE_APPLETS4_LIBS)   	\
	$(LIBCPUFREQ_LIBS)

if HAVE_DBUS
mate_cpufreq_applet_LDADD += $(DBUS_LIBS)
endif

-include $(top_srcdir)/git.mk