about summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 4df874d722..3e9f6eae39 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -42,6 +42,10 @@ all: # Make this the default target; it will be defined in Rules.
 
 include ../Makeconfig
 
+ifeq ($(versioning),yes)
+routines += oldiofopen oldfreopen
+endif
+
 CPPFLAGS-.o += -DIO_DEBUG
 
 ifneq (,$(filter %REENTRANT, $(defines)))
@@ -54,6 +58,10 @@ endif
 aux	:=								      \
 	fileops genops stdfiles stdio strops
 
+ifeq ($(versioning),yes)
+aux	+= oldfileops oldstdfiles
+endif
+
 distribute := iolibio.h libioP.h strfile.h Banner
 
 include ../Rules