41 LINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
42 ROOTMODULE = $(USR_SOCK_DIR)/$(MODULE)
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/sparc/Makefile.sparc
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55
56 #
57 # lint pass one enforcement and OS version
58 #
59 CFLAGS += $(CCVERBOSE)
60
61 LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip
62 INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
63
64 #
65 # For now, disable these lint checks; maintainers should endeavor
66 # to investigate and remove these for maximum lint coverage.
67 # Please do not carry these forward to new Makefiles.
68 #
69 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
70 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
71
72 CERRWARN += -_gcc=-Wno-uninitialized
73 CERRWARN += -_gcc=-Wno-unused-label
74
75 #
76 # Default build targets.
77 #
78 .KEEP_STATE:
79
80 def: $(DEF_DEPS)
81
|
41 LINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
42 ROOTMODULE = $(USR_SOCK_DIR)/$(MODULE)
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/sparc/Makefile.sparc
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55
56 #
57 # lint pass one enforcement and OS version
58 #
59 CFLAGS += $(CCVERBOSE)
60
61 LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/ip
62 INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
63
64 #
65 # For now, disable these lint checks; maintainers should endeavor
66 # to investigate and remove these for maximum lint coverage.
67 # Please do not carry these forward to new Makefiles.
68 #
69 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
70 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
71
72 CERRWARN += -_gcc=-Wno-uninitialized
73 CERRWARN += -_gcc=-Wno-unused-label
74
75 #
76 # Default build targets.
77 #
78 .KEEP_STATE:
79
80 def: $(DEF_DEPS)
81
|