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
- Lines: 29
- Date:
Tue Mar 6 22:44:16 2001
- Orig file:
v2.4.2/linux/drivers/scsi/aic7xxx/aicasm/Makefile
- Orig date:
Wed Dec 31 16:00:00 1969
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)