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 \ |
| 23 | blobs-ipmid/manager.hpp |
| 24 | |
Patrick Venture | 5100a38 | 2018-09-27 10:40:50 -0700 | [diff] [blame^] | 25 | # Always build but only installed if you add the item: |
| 26 | # BLOBIPMI_PROVIDER_LIBRARY += "libexample.so" |
| 27 | libexampledir = ${libdir}/blob-providers |
| 28 | libexample_LTLIBRARIES = libexample.la |
| 29 | libexample_la_SOURCES = example/example.cpp |
| 30 | libexample_la_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 31 | -version-info 0:0:0 -shared |
| 32 | libexample_la_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 33 | -flto |
| 34 | |
Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame] | 35 | SUBDIRS = . test |