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