Add build system
[zfs.git] / lib / libefi / Makefile.am
diff --git a/lib/libefi/Makefile.am b/lib/libefi/Makefile.am
new file mode 100644 (file)
index 0000000..4311793
--- /dev/null
@@ -0,0 +1,14 @@
+include $(top_srcdir)/config/Rules.am
+
+AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
+
+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