--- linux/drivers/scsi/aic7xxx/aicasm/Makefile.orig 2002-11-12 15:30:39.000000000 -0600
+++ linux/drivers/scsi/aic7xxx/aicasm/Makefile 2002-11-18 14:57:47.000000000 -0600
@@ -7,11 +7,12 @@
GENHDRS= y.tab.h aicdb.h
SRCS= ${GENSRCS} ${CSRCS}
+LIBS= -ldb
# Cleaned up by make clean
clean-files := $(GENSRCS) $(GENHDRS) y.output $(PROG)
# Override default kernel CFLAGS. This is a userland app.
-AICASM_CFLAGS:= -I/usr/include -I. -ldb
+AICASM_CFLAGS:= -I/usr/include -I.
YFLAGS= -d
NOMAN= noman
@@ -29,7 +30,7 @@
endif
$(PROG): $(SRCS) $(GENHDRS)
- $(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG)
+ $(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG) $(LIBS)
aicdb.h:
@if [ -e "/usr/include/db3/db_185.h" ]; then \
-- ----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org rct@frus.com ----------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/