37 #
38 MODULE = audioens
39 OBJECTS = $(AUDIOENS_OBJS:%=$(OBJS_DIR)/%)
40 LINTS = $(AUDIOENS_OBJS:%.o=$(LINTS_DIR)/%.ln)
41 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43 #
44 # Include common rules.
45 #
46 include $(UTSBASE)/intel/Makefile.intel
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
54
55 LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
56
57 CERRWARN += -_gcc=-Wno-uninitialized
58
59 #
60 # Default build targets.
61 #
62 .KEEP_STATE:
63
64 def: $(DEF_DEPS)
65
66 all: $(ALL_DEPS)
67
68 clean: $(CLEAN_DEPS)
69
70 clobber: $(CLOBBER_DEPS)
71
72 lint: $(LINT_DEPS)
73
74 modlintlib: $(MODLINTLIB_DEPS)
75
76 clean.lint: $(CLEAN_LINT_DEPS)
77
|
37 #
38 MODULE = audioens
39 OBJECTS = $(AUDIOENS_OBJS:%=$(OBJS_DIR)/%)
40 LINTS = $(AUDIOENS_OBJS:%.o=$(LINTS_DIR)/%.ln)
41 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43 #
44 # Include common rules.
45 #
46 include $(UTSBASE)/intel/Makefile.intel
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
54
55 LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
56
57 CERRWARN += $(CNOWARN_UNINIT)
58
59 #
60 # Default build targets.
61 #
62 .KEEP_STATE:
63
64 def: $(DEF_DEPS)
65
66 all: $(ALL_DEPS)
67
68 clean: $(CLEAN_DEPS)
69
70 clobber: $(CLOBBER_DEPS)
71
72 lint: $(LINT_DEPS)
73
74 modlintlib: $(MODLINTLIB_DEPS)
75
76 clean.lint: $(CLEAN_LINT_DEPS)
77
|