patch-2.4.3 linux/drivers/scsi/aic7xxx/aicasm/Makefile

Next file: linux/drivers/scsi/aic7xxx/aicasm/aicasm.c
Previous file: linux/drivers/scsi/aic7xxx/aic7xxx_seq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/scsi/aic7xxx/aicasm/Makefile linux/drivers/scsi/aic7xxx/aicasm/Makefile
@@ -0,0 +1,28 @@
+PROG=	aicasm
+
+CSRCS=	aicasm.c aicasm_symbol.c
+GENSRCS= aicasm_gram.c aicasm_scan.c
+
+GENHDRS=	y.tab.h
+
+SRCS=	${GENSRCS} ${CSRCS}
+CLEANFILES= ${GENSRCS} ${GENHDRS} y.output
+# Override default kernel CFLAGS.  This is a userland app.
+AICASM_CFLAGS:= -I/usr/include -ldb1
+YFLAGS= -d
+
+NOMAN=	noman
+
+ifdef DEBUG
+CFLAGS+= -DDEBUG -g
+YFLAGS+= -t -v
+LFLAGS= -d
+endif
+
+.SUFFIXES= .l .y .c
+
+$(PROG): $(SRCS)
+	$(HOSTCC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG)
+
+clean:
+	rm -f $(CLEANFILES) $(PROG)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)