patch-1.3.35 linux/scripts/Makefile
Next file: linux/scripts/header.tk
Previous file: linux/scripts/Configure
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Oct 15 19:08:04 1995
- Orig file:
v1.3.34/linux/scripts/Makefile
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.34/linux/scripts/Makefile linux/scripts/Makefile
@@ -0,0 +1,28 @@
+HEADER=header.tk
+TAIL=tail.tk
+
+kconfig.tk: ../arch/${ARCH}/config.in tkparse ${HEADER} ${TAIL}
+ ./tkparse < ../arch/${ARCH}/config.in > kconfig.tmp
+ cp ${HEADER} ./kconfig.tk
+ cat kconfig.tmp >> kconfig.tk
+ rm -f kconfig.tmp
+ cat ${TAIL} >> kconfig.tk
+ chmod 755 kconfig.tk
+
+
+tkparse: tkparse.o tkcond.o tkgen.o
+ ${HOSTCC} -o tkparse tkparse.o tkcond.o tkgen.o
+
+tkparse.o: tkparse.c tkparse.h
+ $(HOSTCC) $(HOSTCFLAGS) -c -o tkparse.o tkparse.c
+
+tkcond.o: tkcond.c tkparse.h
+ $(HOSTCC) $(HOSTCFLAGS) -c -o tkcond.o tkcond.c
+
+tkgen.o: tkgen.c tkparse.h
+ $(HOSTCC) $(HOSTCFLAGS) -c -o tkgen.o tkgen.c
+
+clean:
+ rm -f kconfig.tk *.o parse
+
+include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this