summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/lib/libzdoor/Makefile.com17
1 files changed, 3 insertions, 14 deletions
diff --git a/usr/src/lib/libzdoor/Makefile.com b/usr/src/lib/libzdoor/Makefile.com
index 139c1e117c..09bde0f1b4 100644
--- a/usr/src/lib/libzdoor/Makefile.com
+++ b/usr/src/lib/libzdoor/Makefile.com
@@ -22,10 +22,6 @@
# Use is subject to license terms.
#
-LIBRARY = libpapi-common.a
-VERS = .0
-OBJECTS = attribute.o common.o library.o list.o misc.o status.o uri.o
-
LIBRARY= libzdoor.a
VERS= .1
OBJECTS= zdoor.o \
@@ -39,16 +35,9 @@ include ../../Makefile.rootfs
SRCDIR = ../common
SRCS = $(OBJECTS:%.o=$(SRCDIR)/%.c)
-LIBS = $(DYNLIB)
-
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-
-CFLAGS += $(CCVERBOSE)
-CPPFLAGS += -I$(SRCDIR)
-
-CERRWARN += -_gcc=-Wno-switch
-
-MAPFILES = $(SRCDIR)/mapfile
+CPPFLAGS += -I$(SRCDIR) -D_REENTRANT -D_FILE_OFFSET_BITS=64
+LIBS = $(DYNLIB) $(LINTLIB)
+LDLIBS += -lc -lzonecfg -lcontract
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)