38
39 #
40 # Include common rules.
41 #
42 include $(UTSBASE)/sparc/Makefile.sparc
43
44 #
45 # Define targets
46 #
47 ALL_TARGET = $(BINARY)
48 LINT_TARGET = $(MODULE).lint
49 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
50
51 #
52 # Overrides.
53 #
54 CFLAGS += $(CCVERBOSE)
55 $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
56 $(RELEASE_BUILD)COPTIMIZE = -xO5
57 LDFLAGS += -dy -N misc/mac
58 INC_PATH += -I$(UTSBASE)/common/io/bpf
59
60 #
61 # For now, disable these lint checks; maintainers should endeavor
62 # to investigate and remove these for maximum lint coverage.
63 # Please do not carry these forward to new Makefiles.
64 #
65 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
66 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
67 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
68 LINTTAGS += -erroff=E_STATIC_UNUSED
69
70 CERRWARN += -_gcc=-Wno-uninitialized
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
|
38
39 #
40 # Include common rules.
41 #
42 include $(UTSBASE)/sparc/Makefile.sparc
43
44 #
45 # Define targets
46 #
47 ALL_TARGET = $(BINARY)
48 LINT_TARGET = $(MODULE).lint
49 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
50
51 #
52 # Overrides.
53 #
54 CFLAGS += $(CCVERBOSE)
55 $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
56 $(RELEASE_BUILD)COPTIMIZE = -xO5
57 LDFLAGS += -dy -N misc/mac
58
59 #
60 # For now, disable these lint checks; maintainers should endeavor
61 # to investigate and remove these for maximum lint coverage.
62 # Please do not carry these forward to new Makefiles.
63 #
64 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
65 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
66 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
67 LINTTAGS += -erroff=E_STATIC_UNUSED
68
69 CERRWARN += -_gcc=-Wno-uninitialized
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
|