diff options
Diffstat (limited to 'usr/src/uts/intel/agpgart/Makefile')
| -rw-r--r-- | usr/src/uts/intel/agpgart/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/src/uts/intel/agpgart/Makefile b/usr/src/uts/intel/agpgart/Makefile index e80b1db..eb0c20d 100644 --- a/usr/src/uts/intel/agpgart/Makefile +++ b/usr/src/uts/intel/agpgart/Makefile @@ -27,6 +27,7 @@ CONF_SRCDIR = $(UTSBASE)/intel/io/agpgart # Include common rules. # include $(UTSBASE)/intel/Makefile.intel +AGPGART_OBJS += agpgart.o agp_kstat.o # # Define targets @@ -35,9 +36,7 @@ ALL_TARGET = $(BINARY) $(SRC_CONFILE) LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-uninitialized # # For now, disable these lint checks; maintainers should endeavor @@ -67,6 +66,13 @@ clean.lint: $(CLEAN_LINT_DEPS) install: $(INSTALL_DEPS) +$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c + $(COMPILE.c) -o $@ $< + $(CTFCONVERT_O) + +$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c + @($(LHEAD) $(LINT.c) $< $(LTAIL)) + # # Include common targets. # |
