39 OBJECTS = $(RTLS_OBJS:%=$(OBJS_DIR)/%)
40 LINTS = $(RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
41 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43 #
44 # Include common rules.
45 #
46 include $(UTSBASE)/sparc/Makefile.sparc
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
61 #
62 # Driver depends on Mac
63 #
64 LDFLAGS += -dy -N misc/mac -N misc/mii
65
66 #
67 # Default build targets.
68 #
69 .KEEP_STATE:
70
71 def: $(DEF_DEPS)
72
73 all: $(ALL_DEPS)
74
75 clean: $(CLEAN_DEPS)
76
77 clobber: $(CLOBBER_DEPS)
78
79 lint: $(LINT_DEPS)
|
39 OBJECTS = $(RTLS_OBJS:%=$(OBJS_DIR)/%)
40 LINTS = $(RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
41 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43 #
44 # Include common rules.
45 #
46 include $(UTSBASE)/sparc/Makefile.sparc
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
61 #
62 # Driver depends on Mac
63 #
64 LDFLAGS += -dy -N misc/mac -N misc/mii
65
66 #
67 # Default build targets.
68 #
69 .KEEP_STATE:
70
71 def: $(DEF_DEPS)
72
73 all: $(ALL_DEPS)
74
75 clean: $(CLEAN_DEPS)
76
77 clobber: $(CLOBBER_DEPS)
78
79 lint: $(LINT_DEPS)
|