-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile.am
75 lines (61 loc) · 1.48 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
## Process this file with automake to generate Makefile.in
include $(GLIB_MAKEFILE)
SUBDIRS = . data tools
ACLOCAL_AMFLAGS = -I m4
# Global C Flags
AM_CFLAGS = \
${GLIB_CFLAGS} \
$(XML_CFLAGS) \
-DTDRUNDIR=\"$(lpmd_rundir)\" \
-DTDCONFDIR=\"$(lpmd_confdir)\" \
$(UPOWER_CFLAGS) \
$(CFLAGS) \
$(libnl30_CFLAGS)\
$(libnlgenl30_CFLAGS) \
$(SYSTEMD_CFLAGS) \
-I src
EXTRA_DIST=Makefile.glib \
intel_lpmd.pc.in
# Programs to build
sbin_PROGRAMS = intel_lpmd
intel_lpmd_CPPFLAGS = \
-I@top_srcdir@/src \
-I@top_srcdir@/src/include \
-I@top_srcdir@/src/wlt_proxy/include \
-DTDLOCALEDIR=\"$(datadir)/locale\" \
-DGLIB_SUPPORT
intel_lpmd_includedir = @top_srcdir@
intel_lpmd_LDADD = \
$(GLIB_LIBS) \
$(LIBNL_LIBS) \
$(LIBM) \
-lm \
$(LIBDL) \
$(XML_LIBS) \
$(UPOWER_LIBS) \
$(libnlgenl30_LIBS) \
$(SYSTEMD_LIBS)
BUILT_SOURCES = \
lpmd-resource.c
intel_lpmd_SOURCES = \
src/lpmd_main.c \
src/lpmd_proc.c \
src/lpmd_dbus_server.c \
src/lpmd_config.c \
src/lpmd_cpu.c \
src/lpmd_helpers.c \
src/lpmd_hfi.c \
src/lpmd_irq.c \
src/lpmd_socket.c \
src/lpmd_util.c \
src/wlt_proxy/wlt_proxy.c \
src/wlt_proxy/spike_mgmt.c \
src/wlt_proxy/state_machine.c \
src/wlt_proxy/state_util.c \
src/wlt_proxy/state_manager.c \
lpmd-resource.c
man8_MANS = man/intel_lpmd.8
man5_MANS = man/intel_lpmd_config.xml.5
lpmd-resource.c: $(top_srcdir)/lpmd-resource.gresource.xml
$(AM_V_GEN) glib-compile-resources --generate-source lpmd-resource.gresource.xml
CLEANFILES = $(BUILT_SOURCES)