Print this page
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>


  52 
  53 OBJECTS= $(OBJS_COMMON) $(OBJS_SHARED)
  54 
  55 include ../../Makefile.lib
  56 
  57 # libzfs must be installed in the root filesystem for mount(1M)
  58 include ../../Makefile.rootfs
  59 
  60 LIBS=   $(DYNLIB) $(LINTLIB)
  61 
  62 SRCDIR =        ../common
  63 
  64 INCS += -I$(SRCDIR)
  65 INCS += -I../../../uts/common/fs/zfs
  66 INCS += -I../../../common/zfs
  67 INCS += -I../../libc/inc
  68 
  69 C99MODE=        -xc99=%all
  70 C99LMODE=       -Xc99=%all
  71 LDLIBS +=       -lc -lm -ldevid -lgen -lnvpair -luutil -lavl -lefi \
  72         -ladm -lidmap -ltsol -lmd -lumem
  73 CPPFLAGS +=     $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
  74 
  75 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  76         $(OBJS_SHARED:%.o=$(SRC)/common/zfs/%.c)
  77 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  78 
  79 .KEEP_STATE:
  80 
  81 all: $(LIBS)
  82 
  83 lint: lintcheck
  84 
  85 pics/%.o: ../../../common/zfs/%.c
  86         $(COMPILE.c) -o $@ $<
  87         $(POST_PROCESS_O)
  88 
  89 include ../../Makefile.targ


  52 
  53 OBJECTS= $(OBJS_COMMON) $(OBJS_SHARED)
  54 
  55 include ../../Makefile.lib
  56 
  57 # libzfs must be installed in the root filesystem for mount(1M)
  58 include ../../Makefile.rootfs
  59 
  60 LIBS=   $(DYNLIB) $(LINTLIB)
  61 
  62 SRCDIR =        ../common
  63 
  64 INCS += -I$(SRCDIR)
  65 INCS += -I../../../uts/common/fs/zfs
  66 INCS += -I../../../common/zfs
  67 INCS += -I../../libc/inc
  68 
  69 C99MODE=        -xc99=%all
  70 C99LMODE=       -Xc99=%all
  71 LDLIBS +=       -lc -lm -ldevid -lgen -lnvpair -luutil -lavl -lefi \
  72         -ladm -lidmap -ltsol -lmd -lumem -lzfs_core
  73 CPPFLAGS +=     $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
  74 
  75 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  76         $(OBJS_SHARED:%.o=$(SRC)/common/zfs/%.c)
  77 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  78 
  79 .KEEP_STATE:
  80 
  81 all: $(LIBS)
  82 
  83 lint: lintcheck
  84 
  85 pics/%.o: ../../../common/zfs/%.c
  86         $(COMPILE.c) -o $@ $<
  87         $(POST_PROCESS_O)
  88 
  89 include ../../Makefile.targ