40
41 #
42 # Include common rules.
43 #
44 include $(UTSBASE)/intel/Makefile.intel
45
46 #
47 # Define targets
48 #
49 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
50 LINT_TARGET = $(MODULE).lint
51 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
52
53 #
54 # Overrides
55 #
56 CFLAGS += $(CCVERBOSE)
57 LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
58
59 CERRWARN += -_gcc=-Wno-switch
60 CERRWARN += -_gcc=-Wno-uninitialized
61
62 # needs work
63 SMOFF += deref_check
64
65 #
66 # Default build targets.
67 #
68 .KEEP_STATE:
69
70 def: $(DEF_DEPS)
71
72 all: $(ALL_DEPS)
73
74 clean: $(CLEAN_DEPS)
75
76 clobber: $(CLOBBER_DEPS)
77
78 lint: $(LINT_DEPS)
79
80 modlintlib: $(MODLINTLIB_DEPS)
|
40
41 #
42 # Include common rules.
43 #
44 include $(UTSBASE)/intel/Makefile.intel
45
46 #
47 # Define targets
48 #
49 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
50 LINT_TARGET = $(MODULE).lint
51 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
52
53 #
54 # Overrides
55 #
56 CFLAGS += $(CCVERBOSE)
57 LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
58
59 CERRWARN += -_gcc=-Wno-switch
60 CERRWARN += $(CNOWARN_UNINIT)
61
62 # needs work
63 SMOFF += deref_check
64
65 #
66 # Default build targets.
67 #
68 .KEEP_STATE:
69
70 def: $(DEF_DEPS)
71
72 all: $(ALL_DEPS)
73
74 clean: $(CLEAN_DEPS)
75
76 clobber: $(CLOBBER_DEPS)
77
78 lint: $(LINT_DEPS)
79
80 modlintlib: $(MODLINTLIB_DEPS)
|