INSTALL=$(EMHOME)/modules/install
COMPARE=$(EMHOME)/modules/compare
INCLUDES = -I. -I$(HDIR)
+AR = ar
CFLAGS = -O $(INCLUDES)
all: liballoc.a
liballoc.a: $(OBJECTS)
- ar cr liballoc.a $(OBJECTS)
+ $(AR) cr liballoc.a $(OBJECTS)
-sh -c 'ranlib liballoc.a'
install: all
/* The memory allocation routines offered in this file are:
char *Malloc(n) : allocate n bytes
-
- This file imports routines from "system".
*/
-#include <system.h>
#include "in_all.h"
#include "alloc.h"
/* The memory allocation routines offered in this file are:
char *Realloc(ptr, n) : reallocate buffer to n bytes
-
- This file imports routines from "system".
*/
-#include <system.h>
#include "in_all.h"
#include "alloc.h"
char *Salloc(str, n) : allocate n bytes, initialized with the string
str
-
- This file imports routines from "system".
*/
-#include <system.h>
#include "in_all.h"
#include "alloc.h"
/* The memory allocation routines offered in this file are:
char *Srealloc(ptr, n) : reallocate buffer to n bytes
-
- This file imports routines from "system".
*/
-#include <system.h>
#include "in_all.h"
#include "alloc.h"
~em/modules/h/alloc.h
~em/modules/lib/liballoc.a
.fi
+.SH "MODULES USED"
+system(3)
.SH "SEE ALSO"
malloc(3)
.SH DIAGNOSTICS