summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: a20fe8addcf6781a96d1874f9160780a043b96ef (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
AM_DEFAULT_SOURCE_EXT = .cpp

noinst_LTLIBRARIES = libfan.la
libfan_la_LDFLAGS = -static
libfan_la_LIBADD = \
	$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
	$(PHOSPHOR_LOGGING_LIBS) \
	$(SDBUSPLUS_LIBS) \
	$(SDEVENTPLUS_LIBS)
libfan_la_CXXFLAGS = \
	$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
	$(PHOSPHOR_LOGGING_CFLAGS) \
	$(SDBUSPLUS_CFLAGS) \
	$(SDEVENTPLUS_CFLAGS) -flto
libfan_la_SOURCES = \
	utility.cpp \
	timer.cpp

SUBDIRS = . test sdevent/test evdevpp/test

if WANT_PRESENCE
SUBDIRS += presence
endif
if WANT_CONTROL
SUBDIRS += control
endif
if WANT_COOLING_TYPE
SUBDIRS += cooling-type
endif
if WANT_MONITOR
SUBDIRS += monitor
endif
OpenPOWER on IntegriCloud