Print this page
8115 parallel zfs mount
*** 22,31 ****
--- 22,32 ----
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2012 by Delphix. All rights reserved.
# Copyright 2017 Joyent, Inc.
+ # Copyright 2017 RackTop Systems.
#
PROG:sh= cd ..; basename `pwd`
SRCS= ../$(PROG).c ../zdb_il.c
OBJS= $(PROG).o zdb_il.o
*** 35,51 ****
INCS += -I../../../lib/libzpool/common
INCS += -I../../../uts/common/fs/zfs
INCS += -I../../../common/zfs
! LDLIBS += -lzpool -lumem -lnvpair -lzfs -lavl -lcmdutils
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS) -DDEBUG
# re-enable warnings that we can tolerate, which are disabled by default
# in Makefile.master
CERRWARN += -_gcc=-Wmissing-braces
--- 36,53 ----
INCS += -I../../../lib/libzpool/common
INCS += -I../../../uts/common/fs/zfs
INCS += -I../../../common/zfs
! LDLIBS += -lzpool -lumem -lnvpair -lzfs -lavl -lcmdutils -lfakekernel
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
+ CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common -D_FAKE_KERNEL
CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS) -DDEBUG
# re-enable warnings that we can tolerate, which are disabled by default
# in Makefile.master
CERRWARN += -_gcc=-Wmissing-braces