-
Notifications
You must be signed in to change notification settings - Fork 118
/
Makefile.am
87 lines (74 loc) · 1.84 KB
/
Makefile.am
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
83
84
85
86
87
include $(GLIB_MAKEFILE)
SUBDIRS = . docs data
ACLOCAL_AMFLAGS =
# Global C Flags
AM_CFLAGS = ${GLIB_CFLAGS}
AM_CXXFLAGS = \
$(GLIB_CFLAGS) \
$(XML_CFLAGS) \
$(UPOWER_CFLAGS) \
$(EVDEV_CFLAGS) \
-DTDRUNDIR=\"$(tdrundir)\" \
-DTDCONFDIR=\"$(tdconfdir)\" \
$(CXXFLAGS) \
-I src
EXTRA_DIST=Makefile.glib \
thermald.pc.in
# Programs to build
sbin_PROGRAMS = thermald
# Evaluate Table Application
thermald_CPPFLAGS = \
-I@top_srcdir@/src \
-DTDLOCALEDIR=\"$(datadir)/locale\" \
-DGLIB_SUPPORT
thermald_includedir = @top_srcdir@
thermald_LDADD = \
$(GLIB_LIBS) \
$(LIBNL_LIBS) \
$(LIBM) \
$(LIBDL) \
$(XML_LIBS) \
$(UPOWER_LIBS) \
$(EVDEV_LIBS)
thermald_SOURCES = \
src/main.cpp \
src/thd_dbus_interface.cpp \
src/thd_engine.cpp \
src/thd_cdev.cpp \
src/thd_cdev_therm_sys_fs.cpp \
src/thd_engine_default.cpp \
src/thd_engine_adaptive.cpp \
src/thd_sys_fs.cpp \
src/thd_trip_point.cpp \
src/thd_zone.cpp \
src/thd_zone_cpu.cpp \
src/thd_zone_therm_sys_fs.cpp \
src/thd_zone_dynamic.cpp \
src/thd_preference.cpp \
src/thd_parse.cpp \
src/thd_sensor.cpp \
src/thd_sensor_virtual.cpp \
src/thd_kobj_uevent.cpp \
src/thd_cdev_order_parser.cpp \
src/thd_cdev_gen_sysfs.cpp \
src/thd_pid.cpp \
src/thd_zone_generic.cpp \
src/thd_cdev_cpufreq.cpp \
src/thd_cdev_rapl.cpp \
src/thd_cdev_intel_pstate_driver.cpp \
src/thd_rapl_power_meter.cpp \
src/thd_trt_art_reader.cpp \
src/thd_cdev_rapl_dram.cpp \
src/thd_cdev_backlight.cpp \
src/thd_int3400.cpp \
src/thd_sensor_rapl_power.cpp \
src/thd_zone_rapl_power.cpp \
src/thd_gddv.cpp \
thermald-resource.c \
src/thd_lzma_dec.cpp \
src/LzmaDec.c
man5_MANS = man/thermal-conf.xml.5
man8_MANS = man/thermald.8
thermald-resource.c: $(top_srcdir)/thermald-resource.gresource.xml
$(AM_V_GEN) glib-compile-resources --generate-source --sourcedir=${top_srcdir} $<
CLEANFILES = $(BUILT_SOURCES)