2 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # uts/intel/amd64_gart/Makefile
8 #ident "%Z%%M% %I% %E% SMI"
10 # This makefile drives the framework of agp protocol
11 # (amd64_gart) kernel module.
14 # Path to the base of the uts directory tree (usually /usr/src/uts).
19 # Define the module and object file sets.
22 OBJECTS
= $(AMD64GART_OBJS
:%=$(OBJS_DIR
)/%)
23 LINTS
= $(AMD64GART_OBJS
:%.o
=$(LINTS_DIR
)/%.ln
)
24 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
27 # Include common rules.
29 include $(UTSBASE
)/intel
/Makefile.intel
34 ALL_TARGET
= $(BINARY
)
35 LINT_TARGET
= $(MODULE
).lint
36 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
)
39 # Default build targets.
49 clobber: $(CLOBBER_DEPS
)
53 modlintlib
: $(MODLINTLIB_DEPS
)
55 clean.lint
: $(CLEAN_LINT_DEPS
)
57 install: $(INSTALL_DEPS
)
60 # Include common targets.
62 include $(UTSBASE
)/intel
/Makefile.targ