Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
| 3 | libblobcmdsdir = ${libdir}/ipmid-providers |
| 4 | libblobcmds_LTLIBRARIES = libblobcmds.la |
| 5 | libblobcmds_la_SOURCES = main.cpp \ |
| 6 | ipmi.cpp \ |
| 7 | manager.cpp \ |
| 8 | process.cpp \ |
Patrick Venture | c0f499b | 2018-09-14 17:57:42 -0700 | [diff] [blame] | 9 | crc.cpp \ |
Patrick Venture | 5100a38 | 2018-09-27 10:40:50 -0700 | [diff] [blame] | 10 | utils.cpp |
Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame] | 11 | |
| 12 | libblobcmds_la_LDFLAGS = $(SYSTEMD_LIBS) \ |
Patrick Venture | 4dc584d | 2018-09-27 15:00:46 -0700 | [diff] [blame] | 13 | $(LIBADD_DLOPEN) \ |
| 14 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 15 | -lstdc++fs \ |
Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame] | 16 | -version-info 0:0:0 -shared |
| 17 | |
Patrick Venture | 4dc584d | 2018-09-27 15:00:46 -0700 | [diff] [blame] | 18 | libblobcmds_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| 19 | $(PHOSPHOR_LOGGING_CFLAGS) |
Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame] | 20 | |
Patrick Venture | aceb4ba | 2018-09-27 14:50:37 -0700 | [diff] [blame] | 21 | nobase_include_HEADERS = \ |
| 22 | blobs-ipmid/blobs.hpp \ |
Patrick Venture | 7210b31 | 2018-10-03 14:01:35 -0700 | [diff] [blame^] | 23 | blobs-ipmid/manager.hpp \ |
| 24 | blobs-ipmid/test/blob_mock.hpp \ |
| 25 | blobs-ipmid/test/manager_mock.hpp |
Patrick Venture | aceb4ba | 2018-09-27 14:50:37 -0700 | [diff] [blame] | 26 | |
Patrick Venture | 5100a38 | 2018-09-27 10:40:50 -0700 | [diff] [blame] | 27 | # Always build but only installed if you add the item: |
| 28 | # BLOBIPMI_PROVIDER_LIBRARY += "libexample.so" |
| 29 | libexampledir = ${libdir}/blob-providers |
| 30 | libexample_LTLIBRARIES = libexample.la |
| 31 | libexample_la_SOURCES = example/example.cpp |
| 32 | libexample_la_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 33 | -version-info 0:0:0 -shared |
| 34 | libexample_la_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 35 | -flto |
| 36 | |
Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame] | 37 | SUBDIRS = . test |