summaryrefslogtreecommitdiff
path: root/cpufreq/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq/src/Makefile.am')
-rw-r--r--cpufreq/src/Makefile.am40
1 files changed, 40 insertions, 0 deletions
diff --git a/cpufreq/src/Makefile.am b/cpufreq/src/Makefile.am
new file mode 100644
index 00000000..db5679d0
--- /dev/null
+++ b/cpufreq/src/Makefile.am
@@ -0,0 +1,40 @@
+if BUILD_CPUFREQ_SELECTOR
+selector_SUBDIR = cpufreq-selector
+endif
+
+SUBDIRS = $(selector_SUBDIR)
+
+INCLUDES = \
+ -DCPUFREQ_MENU_UI_DIR=\""$(datadir)/mate-2.0/ui"\" \
+ $(MATE_APPLETS3_CFLAGS) \
+ $(LIBGLADE_CFLAGS) \
+ $(DBUS_CFLAGS)
+
+libexec_PROGRAMS = cpufreq-applet
+
+if HAVE_LIBCPUFREQ
+cpufreq_files=cpufreq-monitor-libcpufreq.c cpufreq-monitor-libcpufreq.h
+endif
+
+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
+
+cpufreq_applet_LDADD = \
+ $(MATE_APPLETS3_LIBS) \
+ $(LIBGLADE_LIBS) \
+ $(LIBCPUFREQ_LIBS) \
+ $(DBUS_LIBS)
+
+
+
+-include $(top_srcdir)/git.mk