combine malloc, free, and realloc into one file, because that's what

libc does, and we don't want things to get screwed up at link-time.
This commit is contained in:
cgd 1993-10-26 06:52:16 +00:00
parent 842069a9cb
commit 47850d1d3b
2 changed files with 16 additions and 2 deletions

View File

@ -1,9 +1,11 @@
# $Id: Makefile,v 1.1 1993/09/23 21:10:40 cgd Exp $
# $Id: Makefile,v 1.2 1993/10/26 06:52:16 cgd Exp $
CFLAGS+= -I${.CURDIR}
LIB= gnumalloc
SRCS+= malloc.c free.c cfree.c realloc.c calloc.c morecore.c
SRCS+= combined.c
#SRCS+= malloc.c free.c realloc.c
SRCS+= cfree.c calloc.c morecore.c
SRCS+= memalign.c valloc.c mcheck.c mtrace.c mstats.c vm-limit.c
SRCS+= ralloc.c
NOMAN= noman

View File

@ -0,0 +1,12 @@
/*
* this file (combined.c) is malloc.c, free.c, and realloc.c, combined into
* one file, because the malloc.o in libc defined malloc, realloc, and free,
* and libc sometimes invokes realloc, which can greatly confuse things
* in the linking process...
*
* $Id: combined.c,v 1.1 1993/10/26 06:52:17 cgd Exp $
*/
#include "malloc.c"
#include "free.c"
#include "realloc.c"