summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector/Makefile.am
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2020-11-28 20:26:22 +0100
committerraveit65 <mate@raveit.de>2020-12-09 21:16:36 +0100
commit4cb6f915b1a91497df1b13cdab887df1bdaed101 (patch)
treeef32f9e4d6f6f75de2e15da5bff69562ac7581dc /cpufreq/src/cpufreq-selector/Makefile.am
parent66b18c097d5ae6e7bcf712820bc3e6594c8cb79a (diff)
downloadmate-applets-4cb6f915b1a91497df1b13cdab887df1bdaed101.tar.bz2
mate-applets-4cb6f915b1a91497df1b13cdab887df1bdaed101.tar.xz
cpufreq: Remove /proc/cpufreq support (Linux 2.4)
Diffstat (limited to 'cpufreq/src/cpufreq-selector/Makefile.am')
-rw-r--r--cpufreq/src/cpufreq-selector/Makefile.am17
1 files changed, 10 insertions, 7 deletions
diff --git a/cpufreq/src/cpufreq-selector/Makefile.am b/cpufreq/src/cpufreq-selector/Makefile.am
index b75a26c4..375d0371 100644
--- a/cpufreq/src/cpufreq-selector/Makefile.am
+++ b/cpufreq/src/cpufreq-selector/Makefile.am
@@ -15,11 +15,6 @@ if CPUFREQ_SELECTOR_SUID
chmod 4755 $(DESTDIR)$(bindir)/mate-cpufreq-selector
endif
-
-if HAVE_LIBCPUFREQ
-cpufreq_files=cpufreq-selector-libcpufreq.c cpufreq-selector-libcpufreq.h
-endif
-
if HAVE_POLKIT
service_files=cpufreq-selector-service.c cpufreq-selector-service.h
endif
@@ -27,13 +22,21 @@ endif
mate_cpufreq_selector_SOURCES = \
cpufreq-selector.c cpufreq-selector.h \
cpufreq-selector-sysfs.c cpufreq-selector-sysfs.h \
- cpufreq-selector-procfs.c cpufreq-selector-procfs.h \
- $(cpufreq_files) \
$(service_files) \
cpufreq-selector-factory.c cpufreq-selector-factory.h \
$(BUILT_SOURCES) \
main.c
+if HAVE_LIBCPUFREQ
+mate_cpufreq_selector_SOURCES += \
+ cpufreq-selector-libcpufreq.c \
+ cpufreq-selector-libcpufreq.h
+else
+mate_cpufreq_selector_SOURCES += \
+ cpufreq-selector-sysfs.h \
+ cpufreq-selector-sysfs.c
+endif
+
mate_cpufreq_selector_LDADD = \
$(CPUFREQ_SELECTOR_LIBS) \
$(LIBCPUFREQ_LIBS)