Deepak Kodihalli | a4074a9 | 2019-04-30 13:25:19 +0530 | [diff] [blame] | 1 | libpldm_includedir = $(includedir)/libpldm |
| 2 | libpldm_include_HEADERS = \ |
Tom Joseph | 4ff3c2e | 2019-04-10 12:10:19 +0530 | [diff] [blame] | 3 | base.h \ |
Sampa Misra | 0db1dfa | 2019-03-19 00:15:31 -0500 | [diff] [blame] | 4 | pldm_types.h \ |
Sampa Misra | 032bd50 | 2019-03-06 05:03:22 -0600 | [diff] [blame] | 5 | platform.h \ |
Deepak Kodihalli | c6e8fb5 | 2019-05-02 08:35:31 -0500 | [diff] [blame] | 6 | bios.h \ |
| 7 | states.h |
Deepak Kodihalli | 1b24f97 | 2019-02-01 04:09:13 -0600 | [diff] [blame] | 8 | |
| 9 | libpldm_LTLIBRARIES = libpldm.la |
| 10 | libpldmdir = ${libdir} |
| 11 | libpldm_la_SOURCES = \ |
Sampa Misra | 0db1dfa | 2019-03-19 00:15:31 -0500 | [diff] [blame] | 12 | base.c \ |
Sampa Misra | 032bd50 | 2019-03-06 05:03:22 -0600 | [diff] [blame] | 13 | platform.c \ |
| 14 | bios.c |
Jinu Joy Thomas | 7f57f44 | 2019-06-13 20:38:49 +0530 | [diff] [blame] | 15 | |
Deepak Kodihalli | da87ec6 | 2019-07-02 01:01:16 -0500 | [diff] [blame] | 16 | libpldm_la_LDFLAGS = -version-info 1:0:0 -shared |
| 17 | libpldm_la_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
| 18 | libpldm_la_LIBADD = $(CODE_COVERAGE_LIBS) |
| 19 | |
Jinu Joy Thomas | 7f57f44 | 2019-06-13 20:38:49 +0530 | [diff] [blame] | 20 | if OEM_IBM |
| 21 | libpldm_include_HEADERS += \ |
| 22 | $(top_builddir)/oem/ibm/libpldm/file_io.h |
| 23 | libpldm_la_SOURCES += \ |
| 24 | $(top_builddir)/oem/ibm/libpldm/file_io.c |
Deepak Kodihalli | da87ec6 | 2019-07-02 01:01:16 -0500 | [diff] [blame] | 25 | libpldm_la_CFLAGS += -I$(top_srcdir)/libpldm |
Jinu Joy Thomas | 7f57f44 | 2019-06-13 20:38:49 +0530 | [diff] [blame] | 26 | endif |
| 27 | |
Deepak Kodihalli | 1b24f97 | 2019-02-01 04:09:13 -0600 | [diff] [blame] | 28 | pkgconfiglibdir = ${libdir}/pkgconfig |
| 29 | pkgconfiglib_DATA = libpldm.pc |