head	1.17;
access;
symbols
	netbsd-9-5-RELEASE:1.17
	netbsd-11-0-RELEASE:1.17
	netbsd-11-0-RC7:1.17
	netbsd-11-0-RC6:1.17
	netbsd-11-0-RC5:1.17
	netbsd-11-0-RC4:1.17
	netbsd-11-0-RC3:1.17
	netbsd-11-0-RC2:1.17
	netbsd-11-0-RC1:1.17
	perseant-exfatfs-base-20250801:1.17
	netbsd-11:1.17.0.38
	netbsd-11-base:1.17
	netbsd-10-1-RELEASE:1.17
	perseant-exfatfs-base-20240630:1.17
	perseant-exfatfs:1.17.0.36
	perseant-exfatfs-base:1.17
	netbsd-8-3-RELEASE:1.17
	netbsd-9-4-RELEASE:1.17
	netbsd-10-0-RELEASE:1.17
	netbsd-10-0-RC6:1.17
	netbsd-10-0-RC5:1.17
	netbsd-10-0-RC4:1.17
	netbsd-10-0-RC3:1.17
	netbsd-10-0-RC2:1.17
	netbsd-10-0-RC1:1.17
	netbsd-10:1.17.0.34
	netbsd-10-base:1.17
	netbsd-9-3-RELEASE:1.17
	cjep_sun2x-base1:1.17
	cjep_sun2x:1.17.0.32
	cjep_sun2x-base:1.17
	cjep_staticlib_x-base1:1.17
	netbsd-9-2-RELEASE:1.17
	cjep_staticlib_x:1.17.0.30
	cjep_staticlib_x-base:1.17
	netbsd-9-1-RELEASE:1.17
	phil-wifi-20200421:1.17
	phil-wifi-20200411:1.17
	is-mlppp:1.17.0.28
	is-mlppp-base:1.17
	phil-wifi-20200406:1.17
	netbsd-8-2-RELEASE:1.17
	netbsd-9-0-RELEASE:1.17
	netbsd-9-0-RC2:1.17
	netbsd-9-0-RC1:1.17
	phil-wifi-20191119:1.17
	netbsd-9:1.17.0.26
	netbsd-9-base:1.17
	phil-wifi-20190609:1.17
	netbsd-8-1-RELEASE:1.17
	netbsd-8-1-RC1:1.17
	pgoyette-compat-merge-20190127:1.17
	pgoyette-compat-20190127:1.17
	pgoyette-compat-20190118:1.17
	pgoyette-compat-1226:1.17
	pgoyette-compat-1126:1.17
	pgoyette-compat-1020:1.17
	pgoyette-compat-0930:1.17
	pgoyette-compat-0906:1.17
	netbsd-7-2-RELEASE:1.17
	pgoyette-compat-0728:1.17
	netbsd-8-0-RELEASE:1.17
	phil-wifi:1.17.0.24
	phil-wifi-base:1.17
	pgoyette-compat-0625:1.17
	netbsd-8-0-RC2:1.17
	pgoyette-compat-0521:1.17
	pgoyette-compat-0502:1.17
	pgoyette-compat-0422:1.17
	netbsd-8-0-RC1:1.17
	pgoyette-compat-0415:1.17
	pgoyette-compat-0407:1.17
	pgoyette-compat-0330:1.17
	pgoyette-compat-0322:1.17
	pgoyette-compat-0315:1.17
	netbsd-7-1-2-RELEASE:1.17
	pgoyette-compat:1.17.0.22
	pgoyette-compat-base:1.17
	netbsd-7-1-1-RELEASE:1.17
	matt-nb8-mediatek:1.17.0.20
	matt-nb8-mediatek-base:1.17
	perseant-stdc-iso10646:1.17.0.18
	perseant-stdc-iso10646-base:1.17
	netbsd-8:1.17.0.16
	netbsd-8-base:1.17
	prg-localcount2-base3:1.17
	prg-localcount2-base2:1.17
	prg-localcount2-base1:1.17
	prg-localcount2:1.17.0.14
	prg-localcount2-base:1.17
	pgoyette-localcount-20170426:1.17
	bouyer-socketcan-base1:1.17
	pgoyette-localcount-20170320:1.17
	netbsd-7-1:1.17.0.12
	netbsd-7-1-RELEASE:1.17
	netbsd-7-1-RC2:1.17
	netbsd-7-nhusb-base-20170116:1.17
	bouyer-socketcan:1.17.0.10
	bouyer-socketcan-base:1.17
	pgoyette-localcount-20170107:1.17
	netbsd-7-1-RC1:1.17
	pgoyette-localcount-20161104:1.17
	netbsd-7-0-2-RELEASE:1.17
	localcount-20160914:1.17
	netbsd-7-nhusb:1.17.0.8
	netbsd-7-nhusb-base:1.17
	pgoyette-localcount-20160806:1.17
	pgoyette-localcount-20160726:1.17
	pgoyette-localcount:1.17.0.6
	pgoyette-localcount-base:1.17
	netbsd-7-0-1-RELEASE:1.17
	netbsd-7-0:1.17.0.4
	netbsd-7-0-RELEASE:1.17
	netbsd-7-0-RC3:1.17
	netbsd-7-0-RC2:1.17
	netbsd-7-0-RC1:1.17
	netbsd-5-2-3-RELEASE:1.14
	netbsd-5-1-5-RELEASE:1.14
	netbsd-6-0-6-RELEASE:1.16
	netbsd-6-1-5-RELEASE:1.16
	netbsd-7:1.17.0.2
	netbsd-7-base:1.17
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.16
	netbsd-6-1-4-RELEASE:1.16
	netbsd-6-0-5-RELEASE:1.16
	tls-earlyentropy:1.16.0.18
	tls-earlyentropy-base:1.16
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-6-1-3-RELEASE:1.16
	netbsd-6-0-4-RELEASE:1.16
	netbsd-5-2-2-RELEASE:1.14
	netbsd-5-1-4-RELEASE:1.14
	netbsd-6-1-2-RELEASE:1.16
	netbsd-6-0-3-RELEASE:1.16
	netbsd-5-2-1-RELEASE:1.14
	netbsd-5-1-3-RELEASE:1.14
	netbsd-6-1-1-RELEASE:1.16
	riastradh-drm2-base2:1.16
	riastradh-drm2-base1:1.16
	riastradh-drm2:1.16.0.12
	riastradh-drm2-base:1.16
	netbsd-6-1:1.16.0.16
	netbsd-6-0-2-RELEASE:1.16
	netbsd-6-1-RELEASE:1.16
	netbsd-6-1-RC4:1.16
	netbsd-6-1-RC3:1.16
	agc-symver:1.16.0.14
	agc-symver-base:1.16
	netbsd-6-1-RC2:1.16
	netbsd-6-1-RC1:1.16
	yamt-pagecache-base8:1.16
	netbsd-5-2:1.14.0.18
	netbsd-6-0-1-RELEASE:1.16
	yamt-pagecache-base7:1.16
	netbsd-5-2-RELEASE:1.14
	netbsd-5-2-RC1:1.14
	matt-nb6-plus-nbase:1.16
	yamt-pagecache-base6:1.16
	netbsd-6-0:1.16.0.10
	netbsd-6-0-RELEASE:1.16
	netbsd-6-0-RC2:1.16
	tls-maxphys:1.16.0.8
	tls-maxphys-base:1.17
	matt-nb6-plus:1.16.0.6
	matt-nb6-plus-base:1.16
	netbsd-6-0-RC1:1.16
	yamt-pagecache-base5:1.16
	yamt-pagecache-base4:1.16
	netbsd-6:1.16.0.4
	netbsd-6-base:1.16
	netbsd-5-1-2-RELEASE:1.14
	netbsd-5-1-1-RELEASE:1.14
	yamt-pagecache-base3:1.16
	yamt-pagecache-base2:1.16
	yamt-pagecache:1.16.0.2
	yamt-pagecache-base:1.16
	cherry-xenmp:1.14.0.16
	cherry-xenmp-base:1.14
	bouyer-quota2-nbase:1.14
	bouyer-quota2:1.14.0.14
	bouyer-quota2-base:1.14
	matt-mips64-premerge-20101231:1.14
	matt-nb5-mips64-premerge-20101231:1.14
	matt-nb5-pq3:1.14.0.12
	matt-nb5-pq3-base:1.14
	netbsd-5-1:1.14.0.10
	netbsd-5-1-RELEASE:1.14
	netbsd-5-1-RC4:1.14
	matt-nb5-mips64-k15:1.14
	netbsd-5-1-RC3:1.14
	netbsd-5-1-RC2:1.14
	netbsd-5-1-RC1:1.14
	netbsd-5-0-2-RELEASE:1.14
	matt-nb5-mips64-premerge-20091211:1.14
	matt-premerge-20091211:1.14
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.14
	matt-nb4-mips64-k7-u2a-k9b:1.14
	matt-nb5-mips64-u1-k1-k5:1.14
	matt-nb5-mips64:1.14.0.8
	netbsd-5-0-1-RELEASE:1.14
	jym-xensuspend-nbase:1.14
	netbsd-5-0:1.14.0.6
	netbsd-5-0-RELEASE:1.14
	netbsd-5-0-RC4:1.14
	netbsd-5-0-RC3:1.14
	netbsd-5-0-RC2:1.14
	jym-xensuspend:1.14.0.4
	jym-xensuspend-base:1.14
	netbsd-5-0-RC1:1.14
	netbsd-5:1.14.0.2
	netbsd-5-base:1.14
	matt-mips64-base2:1.13
	matt-mips64:1.12.0.20
	mjf-devfs2:1.13.0.10
	mjf-devfs2-base:1.13
	netbsd-4-0-1-RELEASE:1.12
	wrstuden-revivesa-base-3:1.13
	wrstuden-revivesa-base-2:1.13
	wrstuden-fixsa-newbase:1.12
	wrstuden-revivesa-base-1:1.13
	yamt-pf42-base4:1.13
	yamt-pf42-base3:1.13
	hpcarm-cleanup-nbase:1.13
	yamt-pf42-baseX:1.13
	yamt-pf42-base2:1.13
	wrstuden-revivesa:1.13.0.8
	wrstuden-revivesa-base:1.13
	yamt-pf42:1.13.0.6
	yamt-pf42-base:1.13
	keiichi-mipv6:1.13.0.4
	keiichi-mipv6-base:1.13
	matt-armv6-nbase:1.13
	matt-armv6-prevmlocking:1.12
	wrstuden-fixsa-base-1:1.12
	netbsd-4-0:1.12.0.18
	netbsd-4-0-RELEASE:1.12
	cube-autoconf:1.13.0.2
	cube-autoconf-base:1.13
	netbsd-4-0-RC5:1.12
	netbsd-4-0-RC4:1.12
	netbsd-4-0-RC3:1.12
	netbsd-4-0-RC2:1.12
	netbsd-4-0-RC1:1.12
	matt-armv6:1.12.0.16
	matt-armv6-base:1.13
	matt-mips64-base:1.12
	hpcarm-cleanup:1.12.0.14
	hpcarm-cleanup-base:1.13
	netbsd-3-1-1-RELEASE:1.12
	netbsd-3-0-3-RELEASE:1.12
	wrstuden-fixsa:1.12.0.12
	wrstuden-fixsa-base:1.12
	abandoned-netbsd-4-base:1.12
	abandoned-netbsd-4:1.12.0.6
	netbsd-3-1:1.12.0.8
	netbsd-3-1-RELEASE:1.12
	netbsd-3-0-2-RELEASE:1.12
	netbsd-3-1-RC4:1.12
	netbsd-3-1-RC3:1.12
	netbsd-3-1-RC2:1.12
	netbsd-3-1-RC1:1.12
	netbsd-4:1.12.0.10
	netbsd-4-base:1.12
	netbsd-3-0-1-RELEASE:1.12
	netbsd-3-0:1.12.0.4
	netbsd-3-0-RELEASE:1.12
	netbsd-3-0-RC6:1.12
	netbsd-3-0-RC5:1.12
	netbsd-3-0-RC4:1.12
	netbsd-3-0-RC3:1.12
	netbsd-3-0-RC2:1.12
	netbsd-3-0-RC1:1.12
	netbsd-2-0-3-RELEASE:1.11
	netbsd-2-1:1.11.0.6
	netbsd-2-1-RELEASE:1.11
	netbsd-2-1-RC6:1.11
	netbsd-2-1-RC5:1.11
	netbsd-2-1-RC4:1.11
	netbsd-2-1-RC3:1.11
	netbsd-2-1-RC2:1.11
	netbsd-2-1-RC1:1.11
	netbsd-2-0-2-RELEASE:1.11
	netbsd-3:1.12.0.2
	netbsd-3-base:1.12
	netbsd-2-0-1-RELEASE:1.11
	netbsd-2:1.11.0.4
	netbsd-2-base:1.11
	netbsd-2-0-RELEASE:1.11
	netbsd-2-0-RC5:1.11
	netbsd-2-0-RC4:1.11
	netbsd-2-0-RC3:1.11
	netbsd-2-0-RC2:1.11
	netbsd-2-0-RC1:1.11
	netbsd-2-0:1.11.0.2
	netbsd-2-0-base:1.11
	netbsd-1-6-PATCH002-RELEASE:1.9.2.1
	netbsd-1-6-PATCH002:1.9.2.1
	netbsd-1-6-PATCH002-RC4:1.9.2.1
	netbsd-1-6-PATCH002-RC3:1.9.2.1
	netbsd-1-6-PATCH002-RC2:1.9.2.1
	netbsd-1-6-PATCH002-RC1:1.9.2.1
	netbsd-1-6-PATCH001:1.9.2.1
	netbsd-1-6-PATCH001-RELEASE:1.9.2.1
	netbsd-1-6-PATCH001-RC3:1.9.2.1
	netbsd-1-6-PATCH001-RC2:1.9.2.1
	netbsd-1-6-PATCH001-RC1:1.9.2.1
	fvdl_fs64_base:1.11
	netbsd-1-6-RELEASE:1.9
	netbsd-1-6-RC3:1.9
	netbsd-1-6-RC2:1.9
	netbsd-1-6-RC1:1.9
	netbsd-1-6:1.9.0.2
	netbsd-1-6-base:1.9
	netbsd-1-5-PATCH003:1.6
	netbsd-1-5-PATCH002:1.6
	netbsd-1-5-PATCH001:1.6
	netbsd-1-5-RELEASE:1.6
	netbsd-1-5-BETA2:1.6
	netbsd-1-5-BETA:1.6
	netbsd-1-4-PATCH003:1.5
	netbsd-1-5-ALPHA2:1.6
	netbsd-1-5:1.6.0.8
	netbsd-1-5-base:1.6
	minoura-xpg4dl:1.6.0.6
	minoura-xpg4dl-base:1.6
	netbsd-1-4-PATCH002:1.5
	wrstuden-devbsize-19991221:1.6
	wrstuden-devbsize:1.6.0.4
	wrstuden-devbsize-base:1.6
	comdex-fall-1999:1.6.0.2
	comdex-fall-1999-base:1.6
	netbsd-1-4-PATCH001:1.5
	netbsd-1-4-RELEASE:1.5
	netbsd-1-4:1.5.0.2
	netbsd-1-4-base:1.5
	netbsd-1-3-PATCH003:1.3.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.3.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.3.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.3.2.1
	netbsd-1-3-PATCH002:1.3.2.1
	netbsd-1-3-PATCH001:1.3.2.1
	netbsd-1-3-RELEASE:1.3.2.1
	netbsd-1-3-BETA:1.3.2.1
	netbsd-1-3:1.3.0.2
	netbsd-1-3-base:1.3
	cjs-build-against-obj-dir:1.2.0.2;
locks; strict;
comment	@# @;


1.17
date	2014.08.10.23.25.49;	author matt;	state Exp;
branches;
next	1.16;
commitid	nUOYsVLDom8Q5SLx;

1.16
date	2011.10.27.19.56.50;	author christos;	state Exp;
branches
	1.16.8.1;
next	1.15;

1.15
date	2011.10.27.17.18.09;	author christos;	state Exp;
branches;
next	1.14;

1.14
date	2008.10.26.07.28.49;	author mrg;	state Exp;
branches;
next	1.13;

1.13
date	2007.11.13.10.22.15;	author he;	state Exp;
branches;
next	1.12;

1.12
date	2004.04.18.04.31.51;	author lukem;	state Exp;
branches
	1.12.16.1;
next	1.11;

1.11
date	2002.09.14.21.18.20;	author thorpej;	state Exp;
branches;
next	1.10;

1.10
date	2002.08.19.09.41.33;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	2001.11.13.18.55.00;	author tv;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2001.01.08.08.30.00;	author itojun;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.04.09.00.24;	author itojun;	state Exp;
branches;
next	1.6;

1.6
date	99.08.21.03.28.54;	author sommerfeld;	state Exp;
branches;
next	1.5;

1.5
date	99.02.24.15.10.16;	author drochner;	state Exp;
branches;
next	1.4;

1.4
date	97.10.23.02.58.54;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	97.05.31.21.21.50;	author cjs;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	97.05.30.21.47.34;	author cjs;	state Exp;
branches;
next	1.1;

1.1
date	97.05.18.20.14.21;	author kleink;	state Exp;
branches;
next	;

1.16.8.1
date	2014.08.20.00.02.20;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.12.16.1
date	2008.01.09.01.36.28;	author matt;	state Exp;
branches;
next	;

1.9.2.1
date	2002.12.01.11.59.03;	author he;	state Exp;
branches;
next	;

1.3.2.1
date	97.11.09.01.00.47;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.17
log
@MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU
@
text
@#	$NetBSD: Makefile,v 1.16 2011/10/27 19:56:50 christos Exp $

LIB=	posix

.include <bsd.own.mk>

# This library replaces routines in libc; no sense in warning about it.
LLIBS=

CPPFLAGS+=-D_REENTRANT -I${NETBSDSRCDIR}/lib/libc/include
CPPFLAGS+=-I${NETBSDSRCDIR}/sys

.include "${.CURDIR}/../libc/libcincludes.mk"

AFLAGS+=-I${ARCHDIR}

.if ${LIBC_MACHINE_ARCH} == "powerpc64"
# XXX: How come it does not resolve from libc?
.PATH.c: ${NETBSDSRCDIR}/lib/libc/gen
SRCS+= _errno.c
.endif

.include "${.CURDIR}/sys/Makefile.inc"

.include <bsd.lib.mk>
@


1.16
log
@remove second _errno.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2011/10/27 17:18:09 christos Exp $
d17 1
a17 1
.if ${MACHINE_ARCH} == "powerpc64"
@


1.16.8.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 1
a17 1
.if ${LIBC_MACHINE_ARCH} == "powerpc64"
@


1.15
log
@HACK: Include _errno.c here for powerpc64 build. Otherwise __errno does not
resolve. Why?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2008/10/26 07:28:49 mrg Exp $
a23 1
SRCS+=_errno.c
@


1.14
log
@use libc/libcincludes.mk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2007/11/13 10:22:15 he Exp $
d17 6
d24 1
@


1.13
log
@Need to point to sys/ for includes to pick up <sys/lwpctl.h> for
the lint stubs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2004/04/18 04:31:51 lukem Exp $
d12 2
a13 9
.if exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH})
ARCHDIR=	${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
.elif exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU})
ARCHDIR=	${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU}
.else
.BEGIN:
	@@echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
	@@false
.endif
@


1.12
log
@Append to AFLAGS rather than setting AINC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/09/14 21:18:20 thorpej Exp $
d11 1
@


1.12.16.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
CPPFLAGS+=-I${NETBSDSRCDIR}/sys
@


1.11
log
@Set LLIBS to nothing; no sense in warning about the routines from
libc that we know we are replacing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/08/19 09:41:33 lukem Exp $
d21 1
a21 1
AINC=	-I${ARCHDIR}
@


1.10
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/11/13 18:55:00 tv Exp $
d6 3
@


1.9
log
@Update to match libc's new .S build rules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2001/01/08 08:30:00 itojun Exp $
d7 5
a11 5
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
.if exists(${.CURDIR}/../libc/arch/${MACHINE_ARCH})
ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_ARCH}
.elif exists(${.CURDIR}/../libc/arch/${MACHINE_CPU})
ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_CPU}
@


1.9.2.1
log
@Pull up revision 1.11 (via patch, requested by thorpej in ticket #817):
  Set LLIBS to nothing; no sense in warning about routines from
  libc that we know we are replacing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/11/13 18:55:00 tv Exp $
a5 3

# This library replaces routines in libc; no sense in warning about it.
LLIBS=
@


1.8
log
@use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2001/01/04 09:00:24 itojun Exp $
a18 3
.if defined(DESTDIR)
AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
.endif
@


1.7
log
@sh3 split
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1999/08/21 03:28:54 sommerfeld Exp $
d8 4
a11 4
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
ARCHDIR=	${.CURDIR}/../libc/arch/mips
.elif ${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb"
ARCHDIR=	${.CURDIR}/../libc/arch/sh3
d13 3
a15 1
ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_ARCH}
d17 1
@


1.6
log
@Fix build with DESTDIR set in mk.conf..
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1999/02/24 15:10:16 drochner Exp $
d10 2
@


1.5
log
@make this build again after the mips->mipse? transition
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1997/10/23 02:58:54 lukem Exp $
d4 2
@


1.4
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1997/05/31 21:21:50 cjs Exp $
d6 6
a11 1
AINC=	-I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
@


1.3
log
@Back out BUILDDIR and NOINSTALL changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1997/05/18 20:14:21 kleink Exp $
d5 1
a5 1
CFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
@


1.3.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1997/10/23 02:58:54 lukem Exp $
d5 1
a5 1
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
@


1.2
log
@DESTDIR -> BUILDDIR
@
text
@a2 2
.include <bsd.own.mk>	# for BUILDDIR

d7 2
a8 2
.if defined(BUILDDIR)
AINC+=	-nostdinc -idirafter ${BUILDDIR}/usr/include
@


1.1
log
@Add POSIX compatibility library.
@
text
@d1 3
a3 1
#	$NetBSD$
d9 2
a10 2
.if defined(DESTDIR)
AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
@
