49 MAPFILES =
50
51 LIBS += $(DYNLIB) $(LINTLIB)
52
53 INCS += -I../common
54 INCS += -I../../../uts/common/fs/zfs
55 INCS += -I../../../uts/common/fs/zfs/lua
56 INCS += -I../../../common/zfs
57 INCS += -I../../../common
58
59 CLEANFILES += ../common/zfs.h
60 CLEANFILES += $(EXTPICS)
61
62 $(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
63 $(LINTLIB): ../common/zfs.h
64 $(LIBS): ../common/zfs.h
65
66 CSTD= $(CSTD_GNU99)
67 C99LMODE= -Xc99=%all
68
69 CFLAGS += -g $(CCVERBOSE) $(CNOGLOBAL)
70 CFLAGS64 += -g $(CCVERBOSE) $(CNOGLOBAL)
71 LDLIBS += -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd \
72 -lfakekernel
73 CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common
74 CPPFLAGS += $(INCS) -DDEBUG -D_FAKE_KERNEL
75
76 LINTFLAGS += -erroff=E_STATIC_UNUSED $(INCS)
77 LINTFLAGS64 += -erroff=E_STATIC_UNUSED $(INCS)
78
79 CERRWARN += -_gcc=-Wno-parentheses
80 CERRWARN += -_gcc=-Wno-switch
81 CERRWARN += -_gcc=-Wno-type-limits
82 CERRWARN += -_gcc=-Wno-unused-variable
83 CERRWARN += -_gcc=-Wno-empty-body
84 CERRWARN += -_gcc=-Wno-unused-function
85 CERRWARN += -_gcc=-Wno-unused-label
86
87 .KEEP_STATE:
88
89 all: $(LIBS)
90
|
49 MAPFILES =
50
51 LIBS += $(DYNLIB) $(LINTLIB)
52
53 INCS += -I../common
54 INCS += -I../../../uts/common/fs/zfs
55 INCS += -I../../../uts/common/fs/zfs/lua
56 INCS += -I../../../common/zfs
57 INCS += -I../../../common
58
59 CLEANFILES += ../common/zfs.h
60 CLEANFILES += $(EXTPICS)
61
62 $(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
63 $(LINTLIB): ../common/zfs.h
64 $(LIBS): ../common/zfs.h
65
66 CSTD= $(CSTD_GNU99)
67 C99LMODE= -Xc99=%all
68
69 CFLAGS += $(CCGDEBUG) $(CCVERBOSE) $(CNOGLOBAL)
70 CFLAGS64 += $(CCGDEBUG) $(CCVERBOSE) $(CNOGLOBAL)
71 LDLIBS += -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd \
72 -lfakekernel
73 CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common
74 CPPFLAGS += $(INCS) -DDEBUG -D_FAKE_KERNEL
75
76 LINTFLAGS += -erroff=E_STATIC_UNUSED $(INCS)
77 LINTFLAGS64 += -erroff=E_STATIC_UNUSED $(INCS)
78
79 CERRWARN += -_gcc=-Wno-parentheses
80 CERRWARN += -_gcc=-Wno-switch
81 CERRWARN += -_gcc=-Wno-type-limits
82 CERRWARN += -_gcc=-Wno-unused-variable
83 CERRWARN += -_gcc=-Wno-empty-body
84 CERRWARN += -_gcc=-Wno-unused-function
85 CERRWARN += -_gcc=-Wno-unused-label
86
87 .KEEP_STATE:
88
89 all: $(LIBS)
90
|