Print this page
8115 parallel zfs mount
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libfakekernel/Makefile.com
+++ new/usr/src/lib/libfakekernel/Makefile.com
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
14 +# Copyright 2017 RackTop Systems.
14 15 #
15 16
16 17 LIBRARY = libfakekernel.a
17 18 VERS = .1
18 19
19 20 COBJS = \
20 21 cred.o \
21 22 clock.o \
22 23 cond.o \
23 24 copy.o \
24 25 kiconv.o \
25 26 kmem.o \
26 27 kmisc.o \
27 28 ksocket.o \
28 29 kstat.o \
29 30 mutex.o \
30 31 printf.o \
31 32 random.o \
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
32 33 rwlock.o \
33 34 sema.o \
34 35 taskq.o \
35 36 thread.o \
36 37 uio.o
37 38
38 39 OBJECTS= $(COBJS)
39 40
40 41 include ../../Makefile.lib
41 42
43 +# libfakekernel must be installed in the root filesystem for libzfs
44 +include ../../Makefile.rootfs
45 +
42 46 SRCDIR= ../common
43 47
44 48 LIBS = $(DYNLIB) $(LINTLIB)
45 49 SRCS= $(COBJS:%.o=$(SRCDIR)/%.c)
46 50
47 51 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
48 52
49 53 C99MODE = -xc99=%all
50 54 C99LMODE = -Xc99=%all
51 55
52 56 # Note: need our sys includes _before_ ENVCPPFLAGS, proto etc.
53 57 CPPFLAGS.first += -I../common
54 58
55 59 CFLAGS += $(CCVERBOSE)
56 60 CPPFLAGS += $(INCS) -D_REENTRANT -D_FAKE_KERNEL
57 61 CPPFLAGS += -D_FILE_OFFSET_BITS=64
58 62
59 63 # Could make this $(NOT_RELEASE_BUILD) but as the main purpose of
60 64 # this library is for debugging, let's always define DEBUG here.
61 65 CPPFLAGS += -DDEBUG
62 66
63 67 LINTCHECKFLAGS += -erroff=E_INCONS_ARG_DECL2
64 68 LINTCHECKFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
65 69 LINTCHECKFLAGS += -erroff=E_INCONS_VAL_TYPE_USED2
66 70
67 71 LDLIBS += -lumem -lcryptoutil -lsocket -lc
68 72
69 73 .KEEP_STATE:
70 74
71 75 all: $(LIBS)
72 76
73 77 lint: lintcheck
74 78
75 79 include ../../Makefile.targ
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX