summaryrefslogtreecommitdiff
path: root/usr/src/lib/libbe/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libbe/Makefile.com')
-rw-r--r--usr/src/lib/libbe/Makefile.com16
1 files changed, 9 insertions, 7 deletions
diff --git a/usr/src/lib/libbe/Makefile.com b/usr/src/lib/libbe/Makefile.com
index c51e6b50a5..f1c828194c 100644
--- a/usr/src/lib/libbe/Makefile.com
+++ b/usr/src/lib/libbe/Makefile.com
@@ -24,13 +24,14 @@
#
# Copyright 2012 OmniTI Computer Consulting, Inc. All rights reserved.
# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2016 Toomas Soome <tsoome@me.com>
#
-LIBRARY= libbe.a
-VERS= .1
+LIBRARY= libbe.a
+VERS= .1
-OBJECTS= \
+OBJECTS= \
be_activate.o \
be_create.o \
be_list.o \
@@ -44,13 +45,14 @@ include ../../Makefile.lib
LIBS= $(DYNLIB) $(LINTLIB)
-SRCDIR= ../common
+SRCDIR= ../common
-INCS += -I$(SRCDIR) -I$(SRC)/cmd/boot/common
+INCS += -I$(SRCDIR) -I$(SRC)/cmd/boot/common -I$(SRC)/common/ficl
-C99MODE= $(C99_ENABLE)
+C99MODE= $(C99_ENABLE)
-LDLIBS += -lzfs -linstzones -luuid -lnvpair -lc -lgen -ldevinfo -lefi
+LDLIBS += -lficl-sys -lzfs -linstzones -luuid -lnvpair -lc -lgen
+LDLIBS += -ldevinfo -lefi
CPPFLAGS += $(INCS)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized