summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/agptarget/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/agptarget/Makefile')
-rw-r--r--usr/src/uts/intel/agptarget/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/src/uts/intel/agptarget/Makefile b/usr/src/uts/intel/agptarget/Makefile
index 8cf479a..74bda0e 100644
--- a/usr/src/uts/intel/agptarget/Makefile
+++ b/usr/src/uts/intel/agptarget/Makefile
@@ -30,8 +30,7 @@ LDFLAGS += -dy -Nmisc/busra
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
-
-CERRWARN += -_gcc=-Wno-uninitialized
+AGPTARGET_OBJS += agptarget.o
#
# Define targets
@@ -61,6 +60,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.
#