61 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
62 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
63
64 #
65 # Define targets
66 #
67 ALL_TARGET = $(BINARY)
68 LINT_TARGET = $(MODULE).lint
69 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
70
71 #
72 # Overrides and depends_on
73 #
74 MODSTUBS_DIR = $(OBJS_DIR)
75 $(MODSTUBS_O) := AS_CPPFLAGS += -DUFS_MODULE
76 CLEANFILES += $(MODSTUBS_O)
77 CFLAGS += $(CCVERBOSE)
78 LDFLAGS += -dy -Nfs/specfs -Nmisc/fssnap_if
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += -_gcc=-Wno-uninitialized
82 CERRWARN += -_gcc=-Wno-type-limits
83 CERRWARN += -_gcc=-Wno-unused-label
84
85 #
86 # Default build targets.
87 #
88 .KEEP_STATE:
89
90 def: $(DEF_DEPS)
91
92 all: $(ALL_DEPS)
93
94 clean: $(CLEAN_DEPS)
95
96 clobber: $(CLOBBER_DEPS)
97
98 lint: $(LINT_DEPS)
99
100 modlintlib: $(MODLINTLIB_DEPS)
101
|
61 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
62 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
63
64 #
65 # Define targets
66 #
67 ALL_TARGET = $(BINARY)
68 LINT_TARGET = $(MODULE).lint
69 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
70
71 #
72 # Overrides and depends_on
73 #
74 MODSTUBS_DIR = $(OBJS_DIR)
75 $(MODSTUBS_O) := AS_CPPFLAGS += -DUFS_MODULE
76 CLEANFILES += $(MODSTUBS_O)
77 CFLAGS += $(CCVERBOSE)
78 LDFLAGS += -dy -Nfs/specfs -Nmisc/fssnap_if
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += $(CNOWARN_UNINIT)
82 CERRWARN += -_gcc=-Wno-type-limits
83 CERRWARN += -_gcc=-Wno-unused-label
84
85 #
86 # Default build targets.
87 #
88 .KEEP_STATE:
89
90 def: $(DEF_DEPS)
91
92 all: $(ALL_DEPS)
93
94 clean: $(CLEAN_DEPS)
95
96 clobber: $(CLOBBER_DEPS)
97
98 lint: $(LINT_DEPS)
99
100 modlintlib: $(MODLINTLIB_DEPS)
101
|