forked from projectceladon/thermal_daemon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
97 lines (85 loc) · 2.2 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
88
89
90
91
92
93
94
95
96
97
include $(GLIB_MAKEFILE)
SUBDIRS = data
ACLOCAL_AMFLAGS =
# Global C Flags
AM_CFLAGS = ${DBUS_CFLAGS}
AM_CXXFLAGS = ${DBUS_CFLAGS}\
$(XML_CFLAGS) \
-DTDRUNDIR=\"$(tdrundir)\" \
-DTDCONFDIR=\"$(tdconfdir)\" \
-I src \
-Wreorder \
-Wsign-compare \
-Wreturn-type \
-Wunused-but-set-variable\
-Wformat\
-Wall\
-Wclobbered\
-Wempty-body\
-Wignored-qualifiers\
-Wmissing-field-initializers\
-Wtype-limits\
-Wuninitialized\
-Werror
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 = \
$(DBUS_LIBS) \
$(GLIB_LIBS) \
$(LIBNL_LIBS) \
$(LIBM) \
$(LIBDL) \
$(XML_LIBS)
BUILT_SOURCES = \
thd_dbus_interface.h
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_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_cpu_default_binding.cpp \
src/thd_cdev_backlight.cpp \
src/thd_cdev_modem.cpp \
src/thd_int3400.cpp \
src/thd_cdev_kbl_amdgpu.cpp \
src/thd_sensor_kbl_amdgpu_power.cpp \
src/thd_sensor_kbl_amdgpu_thermal.cpp \
src/thd_zone_kbl_g_mcp.cpp \
src/thd_sensor_kbl_g_mcp.cpp \
src/thd_zone_kbl_amdgpu.cpp
man5_MANS = man/thermal-conf.xml.5
man8_MANS = man/thermald.8
thd_dbus_interface.h: $(top_srcdir)/src/thd_dbus_interface.xml
$(AM_V_GEN) dbus-binding-tool --prefix=thd_dbus_interface --mode=glib-server --output=$@ $<
CLEANFILES = $(BUILT_SOURCES)