blob: 8324fe9e3cb4e1d630766f67e4e547c7923df93d (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
if BUILD_CPUFREQ_SELECTOR
selector_SUBDIR = cpufreq-selector
endif
SUBDIRS = $(selector_SUBDIR)
AM_CPPFLAGS = \
$(MATE_APPLETS4_CFLAGS)
cpufreq_libdir= $(pkglibdir)
cpufreq_lib_LTLIBRARIES=libmatecpufreqapplet.la
libmatecpufreqapplet_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir) \
-DGTK_BUILDERDIR=\""$(pkgdatadir)/builder"\" \
-DCPUFREQ_RESOURCE_PATH=\""/org/mate/mate-applets/cpufreq/"\" \
$(NULL)
libmatecpufreqapplet_la_CFLAGS = \
$(MATE_APPLETS4_CFLAGS) \
$(GIO_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
$(NULL)
libmatecpufreqapplet_la_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-resources.c \
cpufreq-resources.h \
$(NULL)
libmatecpufreqapplet_la_LDFLAGS = \
-module -avoid-version \
$(WARN_LDFLAGS) \
$(AM_LDFLAGS) \
$(NULL)
libmatecpufreqapplet_la_LIBADD = \
$(MATE_APPLETS4_LIBS) \
$(LIBCPUFREQ_LIBS) \
$(NULL)
if HAVE_LIBCPUFREQ
libmatecpufreqapplet_la_SOURCES += \
cpufreq-monitor-libcpufreq.c \
cpufreq-monitor-libcpufreq.h \
$(NULL)
else
libmatecpufreqapplet_la_SOURCES += \
cpufreq-monitor-cpuinfo.c \
cpufreq-monitor-cpuinfo.h \
cpufreq-monitor-sysfs.c \
cpufreq-monitor-sysfs.h \
$(NULL)
endif
cpufreq-resources.c: $(top_srcdir)/cpufreq/data/cpufreq-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/cpufreq/data --generate-dependencies $(top_srcdir)/cpufreq/data/cpufreq-resources.gresource.xml)
$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/cpufreq/data --generate --c-name cpufreq $<
cpufreq-resources.h: $(top_srcdir)/cpufreq/data/cpufreq-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/cpufreq/data --generate-dependencies $(top_srcdir)/cpufreq/data/cpufreq-resources.gresource.xml)
$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/cpufreq/data --generate --c-name cpufreq $<
CLEANFILES = \
cpufreq-resources.c \
cpufreq-resources.h \
$(NULL)
-include $(top_srcdir)/git.mk
|