54
55 # not linted
56 SMATCH=off
57
58 CSTD = $(CSTD_GNU99)
59
60 # lint does not like unused _umem_*_init
61 LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
62
63 # function argument declared inconsistently
64 LINTFLAGS += -xerroff=E_INCONS_ARG_DECL2
65 # value type used inconsistently
66 LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_USED2
67 # value type declared inconsistently
68 LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_DECL2
69 # argument used inconsistently
70 LINTFLAGS += -xerroff=E_INCONS_ARG_USED2
71
72 CERRWARN += -_gcc=-Wno-unused-variable
73 CERRWARN += -_gcc=-Wno-switch
74 CERRWARN += -_gcc=-Wno-uninitialized
75 CERRWARN += -_gcc=-Wno-address
76
77 LDLIBS += -lsocket -lnsl -lzfs -lsec -lndmp -lmd5 -lnvpair -lumem -lbsm -lgen -lcmdutils -linetutil
78
79 OBJS= \
80 $(NDMP_DIR)/ndmp_xdr.o \
81 $(NDMP_OBJ:%.o=$(NDMP_DIR)/%.o) $(TLM_OBJ:%.o=$(TLM_DIR)/%.o)
82
83 NDMP_OBJ = \
84 ndmpd_callbacks.o \
85 ndmpd_chkpnt.o \
86 ndmpd_comm.o \
87 ndmpd_config.o \
88 ndmpd_connect.o \
89 ndmpd_data.o \
90 ndmpd_door.o \
91 ndmpd_dtime.o \
92 ndmpd_fhistory.o \
93 ndmpd_handler.o \
94 ndmpd_log.o \
|
54
55 # not linted
56 SMATCH=off
57
58 CSTD = $(CSTD_GNU99)
59
60 # lint does not like unused _umem_*_init
61 LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
62
63 # function argument declared inconsistently
64 LINTFLAGS += -xerroff=E_INCONS_ARG_DECL2
65 # value type used inconsistently
66 LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_USED2
67 # value type declared inconsistently
68 LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_DECL2
69 # argument used inconsistently
70 LINTFLAGS += -xerroff=E_INCONS_ARG_USED2
71
72 CERRWARN += -_gcc=-Wno-unused-variable
73 CERRWARN += -_gcc=-Wno-switch
74 CERRWARN += $(CNOWARN_UNINIT)
75 CERRWARN += -_gcc=-Wno-address
76
77 LDLIBS += -lsocket -lnsl -lzfs -lsec -lndmp -lmd5 -lnvpair -lumem -lbsm -lgen -lcmdutils -linetutil
78
79 OBJS= \
80 $(NDMP_DIR)/ndmp_xdr.o \
81 $(NDMP_OBJ:%.o=$(NDMP_DIR)/%.o) $(TLM_OBJ:%.o=$(TLM_DIR)/%.o)
82
83 NDMP_OBJ = \
84 ndmpd_callbacks.o \
85 ndmpd_chkpnt.o \
86 ndmpd_comm.o \
87 ndmpd_config.o \
88 ndmpd_connect.o \
89 ndmpd_data.o \
90 ndmpd_door.o \
91 ndmpd_dtime.o \
92 ndmpd_fhistory.o \
93 ndmpd_handler.o \
94 ndmpd_log.o \
|