xref: /titanic_41/usr/src/uts/intel/cmlb/Makefile (revision 004388ebfdfe2ed7dfd2d153a876dfcc22d2c006)
1#
2# uts/intel/io/cmlb/Makefile
3#
4# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5# Use is subject to license terms.
6#
7#pragma ident	"%Z%%M%	%I%	%E% SMI"
8#
9#	This makefile drives the production of the cmlb "misc"
10#	kernel module.
11#
12#	intel architecture dependent
13#
14
15#
16#	Path to the base of the uts directory tree (usually /usr/src/uts).
17#
18UTSBASE	= ../..
19
20#
21#	Define the module and object file sets.
22#
23MODULE		= cmlb
24OBJECTS		= $(CMLB_OBJS:%=$(OBJS_DIR)/%)
25LINTS		= $(CMLB_OBJS:%.o=$(LINTS_DIR)/%.ln)
26ROOTMODULE	= $(ROOT_MISC_DIR)/$(MODULE)
27
28#
29#	Include common rules.
30#
31include $(UTSBASE)/intel/Makefile.intel
32
33#
34#	Define targets
35#
36ALL_TARGET	= $(BINARY)
37LINT_TARGET	= $(MODULE).lint
38INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
39
40#
41#	Overrides.
42#
43DEBUG_FLGS	=
44DEBUG_DEFS	+= $(DEBUG_FLGS)
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