head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.18
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.16
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.6
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.14
	netbsd-10-base:1.6
	netbsd-9-3-RELEASE:1.6
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.12
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.6
	cjep_staticlib_x:1.6.0.10
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.6
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.8
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.6
	netbsd-9:1.6.0.6
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.6.0.4
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	pgoyette-compat:1.6.0.2
	pgoyette-compat-base:1.6
	matt-nb8-mediatek:1.5.0.12
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.10
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.8
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.6
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	bouyer-socketcan:1.5.0.4
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	pgoyette-localcount-20161104:1.5
	localcount-20160914:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.2
	pgoyette-localcount-base:1.5;
locks; strict;
comment	@# @;


1.6
date	2018.02.02.01.02.40;	author mrg;	state Exp;
branches;
next	1.5;
commitid	gEW0HzHL87R8LdpA;

1.5
date	2016.05.04.17.17.00;	author christos;	state Exp;
branches;
next	1.4;
commitid	WSZh6QgBC2DRHb5z;

1.4
date	2016.05.04.14.39.49;	author christos;	state Exp;
branches;
next	1.3;
commitid	Z1GAoqo6kDlRPa5z;

1.3
date	2016.01.15.15.14.02;	author christos;	state Exp;
branches;
next	1.2;
commitid	MI8L3DyfrPeWy2Ry;

1.2
date	2016.01.14.02.43.50;	author christos;	state Exp;
branches;
next	1.1;
commitid	L3UZULfzsEwyrQQy;

1.1
date	2016.01.13.21.56.38;	author christos;	state Exp;
branches;
next	;
commitid	LqkqcrHbcXh1ROQy;


desc
@@


1.6
log
@convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
@
text
@#	$NetBSD: Makefile,v 1.5 2016/05/04 17:17:00 christos Exp $

NOMAN=	# defined
.include <bsd.init.mk>

LIB=	gnumalloc
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


CPPFLAGS+= -I${DIST} -I${.CURDIR} -DSTDC_HEADERS -DHAVE_STDLIB_H -DHAVE_UNISTD_H

.if ${HAVE_GCC:U0} >= 5
COPTS+=-fno-builtin-malloc
.endif

.PATH: ${DIST}

.include <bsd.lib.mk>
@


1.5
log
@limit to gcc, requested by joerg.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2016/05/04 14:39:49 christos Exp $
d16 1
a16 1
.if ${HAVE_GCC:U0} >= 53
@


1.4
log
@prevent gcc from combining memset+malloc -> calloc inside calloc so that
we end up calling ourselves recursively.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2016/01/15 15:14:02 christos Exp $
d15 2
d18 1
@


1.3
log
@we have unistd.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2016/01/14 02:43:50 christos Exp $
d15 1
@


1.2
log
@we want a lint library
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2016/01/13 21:56:38 christos Exp $
d14 1
a14 1
CPPFLAGS+= -I${DIST} -I${.CURDIR} -DSTDC_HEADERS -DHAVE_STDLIB_H
@


1.1
log
@merge changes, add build glue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2004/06/30 03:26:27 jmc Exp $
a2 1
NOLINT=
@

