98 UNIX_DIR = .
99
100 #
101 # Overrides
102 #
103 CLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \
104 $(OBJS_DIR)/vers.c $(OBJS_DIR)/vers.o \
105 $(CPU_OBJ) $(CPULIB) \
106 $(DTRACESTUBS_O) $(DTRACESTUBS)
107
108 CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN)
109 CLEANLINTFILES += $(LINT_LIB)
110
111 #
112 # lint pass one enforcement
113 # Turn on doubleword alignment for 64 bit counter timer registers
114 #
115 CFLAGS += $(CCVERBOSE) -dalign
116
117 CERRWARN += -_gcc=-Wno-parentheses
118 CERRWARN += -_gcc=-Wno-uninitialized
119 CERRWARN += -_gcc=-Wno-char-subscripts
120 CERRWARN += -_gcc=-Wno-unused-variable
121 CERRWARN += -_gcc=-Wno-unused-function
122 CERRWARN += -_gcc=-Wno-unused-label
123 CERRWARN += -_gcc=-Wno-type-limits
124 CERRWARN += -_gcc=-Wno-clobbered
125 CERRWARN += -_gcc=-Wno-empty-body
126 CERRWARN += -_gcc=-Wno-unused-value
127 CERRWARN += -_gcc=-Wno-switch
128
129 #
130 # Default build targets.
131 #
132 .KEEP_STATE:
133
134 all: $(ALL_DEPS)
135
136 def: $(DEF_DEPS)
137
138 clean: $(CLEAN_DEPS)
|
98 UNIX_DIR = .
99
100 #
101 # Overrides
102 #
103 CLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \
104 $(OBJS_DIR)/vers.c $(OBJS_DIR)/vers.o \
105 $(CPU_OBJ) $(CPULIB) \
106 $(DTRACESTUBS_O) $(DTRACESTUBS)
107
108 CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN)
109 CLEANLINTFILES += $(LINT_LIB)
110
111 #
112 # lint pass one enforcement
113 # Turn on doubleword alignment for 64 bit counter timer registers
114 #
115 CFLAGS += $(CCVERBOSE) -dalign
116
117 CERRWARN += -_gcc=-Wno-parentheses
118 CERRWARN += $(CNOWARN_UNINIT)
119 CERRWARN += -_gcc=-Wno-char-subscripts
120 CERRWARN += -_gcc=-Wno-unused-variable
121 CERRWARN += -_gcc=-Wno-unused-function
122 CERRWARN += -_gcc=-Wno-unused-label
123 CERRWARN += -_gcc=-Wno-type-limits
124 CERRWARN += -_gcc=-Wno-clobbered
125 CERRWARN += -_gcc=-Wno-empty-body
126 CERRWARN += -_gcc=-Wno-unused-value
127 CERRWARN += -_gcc=-Wno-switch
128
129 #
130 # Default build targets.
131 #
132 .KEEP_STATE:
133
134 all: $(ALL_DEPS)
135
136 def: $(DEF_DEPS)
137
138 clean: $(CLEAN_DEPS)
|