39 OBJECTS = $(ATGE_OBJS:%=$(OBJS_DIR)/%)
40 LINTS = $(ATGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
41 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43 #
44 # Include common rules.
45 #
46 include $(UTSBASE)/intel/Makefile.intel
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
54
55 #
56 # Overrides
57 #
58
59 CERRWARN += -_gcc=-Wno-uninitialized
60 CERRWARN += -_gcc=-Wno-switch
61
62 #
63 # Driver depends on GLD
64 #
65 LDFLAGS += -dy -N misc/mac -Nmisc/mii
66
67 #
68 # Default build targets.
69 #
70 .KEEP_STATE:
71
72 def: $(DEF_DEPS)
73
74 all: $(ALL_DEPS)
75
76 clean: $(CLEAN_DEPS)
77
78 clobber: $(CLOBBER_DEPS)
79
|
39 OBJECTS = $(ATGE_OBJS:%=$(OBJS_DIR)/%)
40 LINTS = $(ATGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
41 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43 #
44 # Include common rules.
45 #
46 include $(UTSBASE)/intel/Makefile.intel
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
54
55 #
56 # Overrides
57 #
58
59 CERRWARN += $(CNOWARN_UNINIT)
60 CERRWARN += -_gcc=-Wno-switch
61
62 #
63 # Driver depends on GLD
64 #
65 LDFLAGS += -dy -N misc/mac -Nmisc/mii
66
67 #
68 # Default build targets.
69 #
70 .KEEP_STATE:
71
72 def: $(DEF_DEPS)
73
74 all: $(ALL_DEPS)
75
76 clean: $(CLEAN_DEPS)
77
78 clobber: $(CLOBBER_DEPS)
79
|