diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am index e7fdbd09d8..d1178dc0a7 100644 --- a/cmd/zpool/Makefile.am +++ b/cmd/zpool/Makefile.am @@ -22,6 +22,7 @@ zpool_SOURCES = \ zpool_LDADD = \ $(top_builddir)/lib/libspl/libspl.la \ $(top_builddir)/lib/libavl/libavl.la \ + $(top_builddir)/lib/libefi/libefi.la \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libunicode/libunicode.la \ $(top_builddir)/lib/libuutil/libuutil.la \ diff --git a/lib/Makefile.am b/lib/Makefile.am index 46382dc189..2de0227878 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1 +1 @@ -SUBDIRS = libavl libnvpair libunicode libuutil libzfs libzpool +SUBDIRS = libavl libefi libnvpair libunicode libuutil libzfs libzpool diff --git a/lib/libefi/Makefile.am b/lib/libefi/Makefile.am new file mode 100644 index 0000000000..79849ad26d --- /dev/null +++ b/lib/libefi/Makefile.am @@ -0,0 +1,12 @@ +include $(top_srcdir)/config/Rules.am + +DEFAULT_INCLUDES += \ + -I${top_srcdir}/lib/libefi/include \ + -I${top_srcdir}/lib/libspl/include + +lib_LTLIBRARIES = libefi.la + +libefi_la_SOURCES = \ + ${top_srcdir}/lib/libefi/rdwr_efi.c \ + ${top_srcdir}/lib/libefi/include/sys/efi_partition.h \ + ${top_srcdir}/lib/libefi/include/sys/uuid.h