patch-1.3.39 linux/versions.mk
Next file: linux/Makefile
Previous file: linux/scripts/tkparse.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Thu Jan 1 02:00:00 1970
- Orig file:
v1.3.38/linux/versions.mk
- Orig date:
Sun Sep 3 12:27:06 1995
diff -u --recursive --new-file v1.3.38/linux/versions.mk linux/versions.mk
@@ -1,31 +0,0 @@
-ifdef CONFIG_MODVERSIONS
-TOPINCL := $(TOPDIR)/include/linux
-
-# Uses SYMTAB_OBJS
-# Separate the object into "normal" objects and "exporting" objects
-# Exporting objects are: all objects that define symbol tables
-#
-# Add dependence on $(SYMTAB_OBJS) to the main target
-#
-
-.SUFFIXES: .ver
-
-.c.ver:
- @if [ ! -x /sbin/genksyms ]; then echo "Please read: README.modules"; fi
- $(CC) $(CFLAGS) -E -DCONFIG_MODVERSIONS -D__GENKSYMS__ $< | /sbin/genksyms -w $(TOPINCL)/modules
- @ln -sf $(TOPINCL)/modules/$@ .
-
-$(SYMTAB_OBJS): $(TOPINCL)/modversions.h
- $(CC) $(CFLAGS) -DEXPORT_SYMTAB -c $(@:.o=.c)
-
-$(SYMTAB_OBJS:.o=.ver): $(TOPINCL)/autoconf.h
-
-$(TOPINCL)/modversions.h: $(SYMTAB_OBJS:.o=.ver)
- @echo updating $(TOPINCL)/modversions.h
- @(cd $(TOPINCL)/modules; for f in *.ver;\
- do echo "#include <linux/modules/$${f}>"; done) \
- > $(TOPINCL)/modversions.h
-
-fastdep: $(TOPINCL)/modversions.h
-
-endif
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