48 #
49 include $(UTSBASE)/sun4v/Makefile.sun4v
50
51 #
52 # Override defaults to build a unique, local modstubs.o.
53 #
54 MODSTUBS_DIR = $(OBJS_DIR)
55
56 CLEANFILES += $(MODSTUBS_O)
57
58 #
59 # Define targets
60 #
61 ALL_TARGET = $(BINARY)
62 LINT_TARGET = $(MODULE).lint
63 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
64
65 CFLAGS += $(CCVERBOSE)
66 CFLAGS += -D_EXTVTOC
67
68 CERRWARN += -_gcc=-Wno-uninitialized
69
70 #
71 # module dependencies
72 #
73 LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc
74
75 #
76 # Default build targets.
77 #
78 .KEEP_STATE:
79
80 def: $(DEF_DEPS)
81
82 all: $(ALL_DEPS)
83
84 clean: $(CLEAN_DEPS)
85
86 clobber: $(CLOBBER_DEPS)
87
88 lint: $(LINT_DEPS)
|
48 #
49 include $(UTSBASE)/sun4v/Makefile.sun4v
50
51 #
52 # Override defaults to build a unique, local modstubs.o.
53 #
54 MODSTUBS_DIR = $(OBJS_DIR)
55
56 CLEANFILES += $(MODSTUBS_O)
57
58 #
59 # Define targets
60 #
61 ALL_TARGET = $(BINARY)
62 LINT_TARGET = $(MODULE).lint
63 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
64
65 CFLAGS += $(CCVERBOSE)
66 CFLAGS += -D_EXTVTOC
67
68 CERRWARN += $(CNOWARN_UNINIT)
69
70 #
71 # module dependencies
72 #
73 LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc
74
75 #
76 # Default build targets.
77 #
78 .KEEP_STATE:
79
80 def: $(DEF_DEPS)
81
82 all: $(ALL_DEPS)
83
84 clean: $(CLEAN_DEPS)
85
86 clobber: $(CLOBBER_DEPS)
87
88 lint: $(LINT_DEPS)
|