Makefile (7014882c) Makefile (0aaef2f5)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 24 unchanged lines hidden (view full) ---

33#
34UTSBASE = ../..
35
36#
37# Define the module and object file sets.
38#
39MODULE = audio1575
40OBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 24 unchanged lines hidden (view full) ---

33#
34UTSBASE = ../..
35
36#
37# Define the module and object file sets.
38#
39MODULE = audio1575
40OBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%)
41LINTS = $(AUDIO1575_OBJS:%.o=$(LINTS_DIR)/%.ln)
42ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43
44#
45# Include common rules.
46#
47include $(UTSBASE)/intel/Makefile.intel
48
49#
50# Depends on drv/audio and misc/ac97
51#
52LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
53
54CERRWARN += -_gcc=-Wno-switch
55
56#
57# Define targets
58#
59ALL_TARGET = $(BINARY)
41ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
42
43#
44# Include common rules.
45#
46include $(UTSBASE)/intel/Makefile.intel
47
48#
49# Depends on drv/audio and misc/ac97
50#
51LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
52
53CERRWARN += -_gcc=-Wno-switch
54
55#
56# Define targets
57#
58ALL_TARGET = $(BINARY)
60LINT_TARGET = $(MODULE).lint
61INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
62
63#
64# Default build targets.
65#
66.KEEP_STATE:
67
68def: $(DEF_DEPS)
69
70all: $(ALL_DEPS)
71
72clean: $(CLEAN_DEPS)
73
74clobber: $(CLOBBER_DEPS)
75
59INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
60
61#
62# Default build targets.
63#
64.KEEP_STATE:
65
66def: $(DEF_DEPS)
67
68all: $(ALL_DEPS)
69
70clean: $(CLEAN_DEPS)
71
72clobber: $(CLOBBER_DEPS)
73
76lint: $(LINT_DEPS)
77
78modlintlib: $(MODLINTLIB_DEPS)
79
80clean.lint: $(CLEAN_LINT_DEPS)
81
82install: $(INSTALL_DEPS)
83
84#
85# Include common targets.
86#
87include $(UTSBASE)/intel/Makefile.targ
74install: $(INSTALL_DEPS)
75
76#
77# Include common targets.
78#
79include $(UTSBASE)/intel/Makefile.targ