diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | src/malloc/oldmalloc/aligned_alloc.c (renamed from src/malloc/aligned_alloc.c) | 0 | ||||
-rw-r--r-- | src/malloc/oldmalloc/malloc.c (renamed from src/malloc/malloc.c) | 0 | ||||
-rw-r--r-- | src/malloc/oldmalloc/malloc_impl.h (renamed from src/malloc/malloc_impl.h) | 0 | ||||
-rw-r--r-- | src/malloc/oldmalloc/malloc_usable_size.c (renamed from src/malloc/malloc_usable_size.c) | 0 |
5 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile index bd8f5c38..3d3e3622 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,8 @@ includedir = $(prefix)/include libdir = $(prefix)/lib syslibdir = /lib -SRC_DIRS = $(addprefix $(srcdir)/,src/* crt ldso $(COMPAT_SRC_DIRS)) +MALLOC_DIR = oldmalloc +SRC_DIRS = $(addprefix $(srcdir)/,src/* src/malloc/$(MALLOC_DIR) crt ldso $(COMPAT_SRC_DIRS)) BASE_GLOBS = $(addsuffix /*.c,$(SRC_DIRS)) ARCH_GLOBS = $(addsuffix /$(ARCH)/*.[csS],$(SRC_DIRS)) BASE_SRCS = $(sort $(wildcard $(BASE_GLOBS))) diff --git a/src/malloc/aligned_alloc.c b/src/malloc/oldmalloc/aligned_alloc.c index e06c76ed..e06c76ed 100644 --- a/src/malloc/aligned_alloc.c +++ b/src/malloc/oldmalloc/aligned_alloc.c diff --git a/src/malloc/malloc.c b/src/malloc/oldmalloc/malloc.c index df3ea1be..df3ea1be 100644 --- a/src/malloc/malloc.c +++ b/src/malloc/oldmalloc/malloc.c diff --git a/src/malloc/malloc_impl.h b/src/malloc/oldmalloc/malloc_impl.h index e1cf4774..e1cf4774 100644 --- a/src/malloc/malloc_impl.h +++ b/src/malloc/oldmalloc/malloc_impl.h diff --git a/src/malloc/malloc_usable_size.c b/src/malloc/oldmalloc/malloc_usable_size.c index 672b518a..672b518a 100644 --- a/src/malloc/malloc_usable_size.c +++ b/src/malloc/oldmalloc/malloc_usable_size.c |