forked from intel/intel-lpmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
62 lines (50 loc) · 1.18 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
include $(GLIB_MAKEFILE)
SUBDIRS = . data tools
ACLOCAL_AMFLAGS =
# Global C Flags
AM_CFLAGS = \
${DBUS_CFLAGS} \
$(XML_CFLAGS) \
-DTDRUNDIR=\"$(lpmd_rundir)\" \
-DTDCONFDIR=\"$(lpmd_confdir)\" \
$(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 \
-DTDLOCALEDIR=\"$(datadir)/locale\" \
-DGLIB_SUPPORT
intel_lpmd_includedir = @top_srcdir@
intel_lpmd_LDADD = \
$(DBUS_LIBS) \
$(GLIB_LIBS) \
$(LIBNL_LIBS) \
$(LIBM) \
$(LIBDL) \
$(XML_LIBS) \
$(libnlgenl30_LIBS) \
$(SYSTEMD_LIBS)
BUILT_SOURCES = \
intel_lpmd_dbus_interface.h
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
man8_MANS = man/intel_lpmd.8
man5_MANS = man/intel_lpmd_config.xml.5
intel_lpmd_dbus_interface.h: $(top_srcdir)/src/intel_lpmd_dbus_interface.xml
$(AM_V_GEN) dbus-binding-tool --prefix=dbus_interface --mode=glib-server --output=$@ $<
CLEANFILES = $(BUILT_SOURCES)