Patrick Venture | 3356975 | 2018-03-12 18:56:14 -0700 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
Patrick Venture | ba7d1ec | 2018-10-17 19:04:02 -0700 | [diff] [blame] | 3 | if HAVE_SYSTEMD |
| 4 | systemdsystemunit_DATA = \ |
| 5 | lpcsnoop.service |
| 6 | endif |
| 7 | |
Patrick Venture | 49a18b2 | 2019-03-28 11:28:26 -0700 | [diff] [blame] | 8 | bin_PROGRAMS = snoopd snooper |
Patrick Venture | 3356975 | 2018-03-12 18:56:14 -0700 | [diff] [blame] | 9 | |
Benjamin Fair | 938c0e4 | 2020-04-01 17:44:46 -0700 | [diff] [blame] | 10 | if ENABLE_7SEG |
| 11 | if HAVE_SYSTEMD |
Benjamin Fair | ad2a08c | 2020-04-07 12:57:58 -0700 | [diff] [blame] | 12 | systemdsystemunit_DATA += postcode-7seg@.service |
Benjamin Fair | 938c0e4 | 2020-04-01 17:44:46 -0700 | [diff] [blame] | 13 | endif # HAVE_SYSTEMD |
| 14 | |
| 15 | bin_PROGRAMS += postcode_7seg |
| 16 | |
| 17 | postcode_7seg_SOURCES = 7seg.cpp |
| 18 | postcode_7seg_LDADD = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) -lstdc++fs |
| 19 | postcode_7seg_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
| 20 | |
| 21 | udevrulesdir = $(UDEVRULESDIR) |
| 22 | udevrules_DATA = 80-7seg.rules |
| 23 | endif # ENABLE_7SEG |
| 24 | |
Patrick Venture | 3356975 | 2018-03-12 18:56:14 -0700 | [diff] [blame] | 25 | snoopd_SOURCES = main.cpp |
Kun Yi | 1c16ad8 | 2018-09-12 10:01:49 -0700 | [diff] [blame] | 26 | snoopd_LDADD = $(SDBUSPLUS_LIBS) $(SDEVENTPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) -lpthread |
| 27 | snoopd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(SDEVENTPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
Patrick Venture | 3356975 | 2018-03-12 18:56:14 -0700 | [diff] [blame] | 28 | |
| 29 | snooper_SOURCES = example.cpp |
| 30 | snooper_LDADD = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 31 | snooper_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
| 32 | |
| 33 | # Installs in $(includedir)/lpcsnoop/ |
| 34 | nobase_include_HEADERS = lpcsnoop/snoop.hpp lpcsnoop/snoop_listen.hpp |
| 35 | |
Kun Yi | 2ae207c | 2018-06-11 16:09:46 -0700 | [diff] [blame] | 36 | SUBDIRS = . test |