40 OBJECTS = $(AUDIOCS_OBJS:%=$(OBJS_DIR)/%)
41 LINTS = $(AUDIOCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
42 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/sparc/Makefile.sparc
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55
56 #
57 # Overrides
58 #
59 CFLAGS += $(CCVERBOSE)
60 CERRWARN += -_gcc=-Wno-uninitialized
61
62 #
63 # Depends on misc/audiosup
64 #
65 LDFLAGS += -dy -Ndrv/audio
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
80 lint: $(LINT_DEPS)
|
40 OBJECTS = $(AUDIOCS_OBJS:%=$(OBJS_DIR)/%)
41 LINTS = $(AUDIOCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
42 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43
44 #
45 # Include common rules.
46 #
47 include $(UTSBASE)/sparc/Makefile.sparc
48
49 #
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55
56 #
57 # Overrides
58 #
59 CFLAGS += $(CCVERBOSE)
60 CERRWARN += $(CNOWARN_UNINIT)
61
62 #
63 # Depends on misc/audiosup
64 #
65 LDFLAGS += -dy -Ndrv/audio
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
80 lint: $(LINT_DEPS)
|