head	1.1;
branch	1.1.1;
access;
symbols
	LIBC_4_5_19:1.1.1.3
	LIBC_4_5_18:1.1.1.3
	LIBC_4_5_17:1.1.1.3
	LIBC_4_5_16:1.1.1.3
	LIBC_4_5_15:1.1.1.3
	LIBC_4_5_14:1.1.1.3
	LIBC_4_5_13:1.1.1.3
	LIBC_4_5_12:1.1.1.3
	LIBC_4_5_11:1.1.1.3
	LIBC_4_5_10:1.1.1.2
	LIBC_4_5_9:1.1.1.1
	LIBC_4_5_8:1.1.1.1
	LIBC_4_5_7:1.1.1.1
	LIBC:1.1.1;
locks; strict;
comment	@# @;


1.1
date	93.12.14.16.58.54;	author steinber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.14.16.58.55;	author steinber;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.01.13.12.16.49;	author steinber;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.19.16.24.25;	author steinber;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# Makefile for malloc library functions
#

include ../Makeconfig

include ../Makerules

LIB:=../$(LIB)
LIBALIAS:=../$(LIBALIAS)
LIBMCHECK=../libmcheck.a

JUMP_DIR:=../jump/$(SHLIB)
JUMP_LIB=libc

ifndef OPTFLAGS
OPTFLAGS= -O6 -fomit-frame-pointer
endif

CFLAGS = $(WFLAGS) $(OPTFLAGS) $(INC) $(XCFLAGS)
INC= -I. -I. -I. -D_default_morecore=__default_morecore \
	-D__MALLOC_0_RETURNS_NULL -D_morecore=__morecore

DIRS:=
SRC1S  = malloc.c free.c realloc.c calloc.c \
	valloc.c 
SRC2S = cfree.c

SRCS= $(SRC1S) $(SRC2S)
ASMS= $(SRCS:.c=.s)
OBJS= $(SRC1S:.c=.o)
ALIASES= $(SRC2S:.c=.o)


ifdef DEBUG

all: lib libalias libmcheck

else

all: lib libalias

endif

libmcheck: mcheck-init.o
	$(AR) uvc $(LIBMCHECK) mcheck-init.o

include ../Maketargets
@


1.1.1.1
log
@LIBC_4_5_7
@
text
@@


1.1.1.2
log
@LIBC_4_5_10
@
text
@d5 1
a5 1
override DEBUG=false
a6 1
include ../Makeconfig
d9 10
a18 1
LIBMCHECK=../debug/libmcheck.a
d20 2
a21 2
INC_CFLAGS= -I. -I. -I.
VSCFLAGS=-D_default_morecore=__default_morecore \
a22 1
BASE_CFLAGS := $(BASE_CFLAGS) $(VSCFLAGS)
a24 1

d35 3
a37 2
ifeq ($(DEBUG),true)
lib:: $(LIBMCHECK)
d39 1
a39 4
$(LIBMCHECK): mcheck-init.o
	$(RM) -f $(LIBMCHECK)
	$(AR) uvc $(LIBMCHECK) $?
	$(REALRANLIB) $(LIBMCHECK)
d41 2
d45 3
@


1.1.1.3
log
@LIBC_4_5_11
@
text
@d7 2
a8 1
TOPDIR=..
d10 1
a10 2
include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules
a11 2
LIBMCHECK=$(TOPDIR)/debug/libmcheck.a

d39 1
a39 1
include $(TOPDIR)/Maketargets
@
