xref: /titanic_41/usr/src/uts/intel/aac/Makefile (revision 66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# ident	"%Z%%M%	%I%	%E% SMI"
6#
7#	This makefile drives the production of the aac driver kernel module.
8#
9#	intel implementation architecture dependent
10#
11
12#
13#	Path to the base of the uts directory tree (usually /usr/src/uts).
14#
15UTSBASE	= ../..
16
17#
18#	Define the module and object file sets.
19#
20MODULE		= aac
21OBJECTS		= $(AAC_OBJS:%=$(OBJS_DIR)/%)
22LINTS		= $(AAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
23ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
24CONF_SRCDIR     = $(UTSBASE)/intel/io/aac
25
26#
27#	Include common rules.
28#
29include $(UTSBASE)/intel/Makefile.intel
30
31#
32#	Define targets
33#
34ALL_TARGET	= $(BINARY) $(CONFMOD)
35LINT_TARGET	= $(MODULE).lint
36INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
37
38#
39# 	Overrides
40#
41CFLAGS_CPP_COMMENTS = -xCC
42$(__GNUC)CFLAGS_CPP_COMMENTS =
43
44CFLAGS += $(CFLAGS_CPP_COMMENTS)
45
46#
47#	Default build targets.
48#
49#.KEEP_STATE:
50
51def:		$(DEF_DEPS)
52
53all:		$(ALL_DEPS)
54
55clean:		$(CLEAN_DEPS)
56
57clobber:	$(CLOBBER_DEPS)
58
59lint:		$(LINT_DEPS)
60
61modlintlib:	$(MODLINTLIB_DEPS)
62
63clean.lint:	$(CLEAN_LINT_DEPS)
64
65install:	$(INSTALL_DEPS)
66
67#
68#	Include common targets.
69#
70include $(UTSBASE)/intel/Makefile.targ
71