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

SUBDIRS = $(selector_SUBDIR)

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

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)

-include $(top_srcdir)/git.mk