blob: eb59cdf4a4227c52a694abde6760b152ce5e5149 [file] [log] [blame]
Patrick Venture33569752018-03-12 18:56:14 -07001AM_DEFAULT_SOURCE_EXT = .cpp
2
Patrick Ventureba7d1ec2018-10-17 19:04:02 -07003if HAVE_SYSTEMD
4systemdsystemunit_DATA = \
5 lpcsnoop.service
6endif
7
Patrick Venture49a18b22019-03-28 11:28:26 -07008bin_PROGRAMS = snoopd snooper
Patrick Venture33569752018-03-12 18:56:14 -07009
10snoopd_SOURCES = main.cpp
Kun Yi1c16ad82018-09-12 10:01:49 -070011snoopd_LDADD = $(SDBUSPLUS_LIBS) $(SDEVENTPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) -lpthread
12snoopd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(SDEVENTPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
Patrick Venture33569752018-03-12 18:56:14 -070013
14snooper_SOURCES = example.cpp
15snooper_LDADD = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS)
16snooper_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
17
18# Installs in $(includedir)/lpcsnoop/
19nobase_include_HEADERS = lpcsnoop/snoop.hpp lpcsnoop/snoop_listen.hpp
20
Kun Yi2ae207c2018-06-11 16:09:46 -070021SUBDIRS = . test