head	1.32;
access;
symbols
	netbsd-11-0-RC4:1.32
	netbsd-11-0-RC3:1.32
	netbsd-11-0-RC2:1.32
	netbsd-11-0-RC1:1.32
	perseant-exfatfs-base-20250801:1.32
	netbsd-11:1.32.0.44
	netbsd-11-base:1.32
	netbsd-10-1-RELEASE:1.32
	perseant-exfatfs-base-20240630:1.32
	perseant-exfatfs:1.32.0.42
	perseant-exfatfs-base:1.32
	netbsd-8-3-RELEASE:1.32
	netbsd-9-4-RELEASE:1.32
	netbsd-10-0-RELEASE:1.32
	netbsd-10-0-RC6:1.32
	netbsd-10-0-RC5:1.32
	netbsd-10-0-RC4:1.32
	netbsd-10-0-RC3:1.32
	netbsd-10-0-RC2:1.32
	netbsd-10-0-RC1:1.32
	netbsd-10:1.32.0.40
	netbsd-10-base:1.32
	netbsd-9-3-RELEASE:1.32
	cjep_sun2x-base1:1.32
	cjep_sun2x:1.32.0.38
	cjep_sun2x-base:1.32
	cjep_staticlib_x-base1:1.32
	netbsd-9-2-RELEASE:1.32
	cjep_staticlib_x:1.32.0.36
	cjep_staticlib_x-base:1.32
	netbsd-9-1-RELEASE:1.32
	phil-wifi-20200421:1.32
	phil-wifi-20200411:1.32
	is-mlppp:1.32.0.34
	is-mlppp-base:1.32
	phil-wifi-20200406:1.32
	netbsd-8-2-RELEASE:1.32
	netbsd-9-0-RELEASE:1.32
	netbsd-9-0-RC2:1.32
	netbsd-9-0-RC1:1.32
	phil-wifi-20191119:1.32
	netbsd-9:1.32.0.32
	netbsd-9-base:1.32
	phil-wifi-20190609:1.32
	netbsd-8-1-RELEASE:1.32
	netbsd-8-1-RC1:1.32
	pgoyette-compat-merge-20190127:1.32
	pgoyette-compat-20190127:1.32
	pgoyette-compat-20190118:1.32
	pgoyette-compat-1226:1.32
	pgoyette-compat-1126:1.32
	pgoyette-compat-1020:1.32
	pgoyette-compat-0930:1.32
	pgoyette-compat-0906:1.32
	netbsd-7-2-RELEASE:1.32
	pgoyette-compat-0728:1.32
	netbsd-8-0-RELEASE:1.32
	phil-wifi:1.32.0.30
	phil-wifi-base:1.32
	pgoyette-compat-0625:1.32
	netbsd-8-0-RC2:1.32
	pgoyette-compat-0521:1.32
	pgoyette-compat-0502:1.32
	pgoyette-compat-0422:1.32
	netbsd-8-0-RC1:1.32
	pgoyette-compat-0415:1.32
	pgoyette-compat-0407:1.32
	pgoyette-compat-0330:1.32
	pgoyette-compat-0322:1.32
	pgoyette-compat-0315:1.32
	netbsd-7-1-2-RELEASE:1.32
	pgoyette-compat:1.32.0.28
	pgoyette-compat-base:1.32
	netbsd-7-1-1-RELEASE:1.32
	matt-nb8-mediatek:1.32.0.26
	matt-nb8-mediatek-base:1.32
	perseant-stdc-iso10646:1.32.0.24
	perseant-stdc-iso10646-base:1.32
	netbsd-8:1.32.0.22
	netbsd-8-base:1.32
	prg-localcount2-base3:1.32
	prg-localcount2-base2:1.32
	prg-localcount2-base1:1.32
	prg-localcount2:1.32.0.20
	prg-localcount2-base:1.32
	pgoyette-localcount-20170426:1.32
	bouyer-socketcan-base1:1.32
	pgoyette-localcount-20170320:1.32
	netbsd-7-1:1.32.0.18
	netbsd-7-1-RELEASE:1.32
	netbsd-7-1-RC2:1.32
	netbsd-7-nhusb-base-20170116:1.32
	bouyer-socketcan:1.32.0.16
	bouyer-socketcan-base:1.32
	pgoyette-localcount-20170107:1.32
	netbsd-7-1-RC1:1.32
	pgoyette-localcount-20161104:1.32
	netbsd-7-0-2-RELEASE:1.32
	localcount-20160914:1.32
	netbsd-7-nhusb:1.32.0.14
	netbsd-7-nhusb-base:1.32
	pgoyette-localcount-20160806:1.32
	pgoyette-localcount-20160726:1.32
	pgoyette-localcount:1.32.0.12
	pgoyette-localcount-base:1.32
	netbsd-7-0-1-RELEASE:1.32
	netbsd-7-0:1.32.0.10
	netbsd-7-0-RELEASE:1.32
	netbsd-7-0-RC3:1.32
	netbsd-7-0-RC2:1.32
	netbsd-7-0-RC1:1.32
	netbsd-5-2-3-RELEASE:1.28
	netbsd-5-1-5-RELEASE:1.28
	netbsd-6-0-6-RELEASE:1.30
	netbsd-6-1-5-RELEASE:1.30
	netbsd-7:1.32.0.8
	netbsd-7-base:1.32
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.30.6.1
	netbsd-6-1-4-RELEASE:1.30
	netbsd-6-0-5-RELEASE:1.30
	tls-earlyentropy:1.32.0.6
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-6-1-3-RELEASE:1.30
	netbsd-6-0-4-RELEASE:1.30
	netbsd-5-2-2-RELEASE:1.28
	netbsd-5-1-4-RELEASE:1.28
	netbsd-6-1-2-RELEASE:1.30
	netbsd-6-0-3-RELEASE:1.30
	netbsd-5-2-1-RELEASE:1.28
	netbsd-5-1-3-RELEASE:1.28
	netbsd-6-1-1-RELEASE:1.30
	riastradh-drm2-base2:1.32
	riastradh-drm2-base1:1.32
	riastradh-drm2:1.32.0.2
	riastradh-drm2-base:1.32
	netbsd-6-1:1.30.0.14
	netbsd-6-0-2-RELEASE:1.30
	netbsd-6-1-RELEASE:1.30
	netbsd-6-1-RC4:1.30
	netbsd-6-1-RC3:1.30
	agc-symver:1.32.0.4
	agc-symver-base:1.32
	netbsd-6-1-RC2:1.30
	netbsd-6-1-RC1:1.30
	yamt-pagecache-base8:1.31
	netbsd-5-2:1.28.0.38
	netbsd-6-0-1-RELEASE:1.30
	yamt-pagecache-base7:1.31
	netbsd-5-2-RELEASE:1.28
	netbsd-5-2-RC1:1.28
	matt-nb6-plus-nbase:1.30
	yamt-pagecache-base6:1.31
	netbsd-6-0:1.30.0.12
	netbsd-6-0-RELEASE:1.30
	netbsd-6-0-RC2:1.30
	tls-maxphys:1.31.0.2
	tls-maxphys-base:1.32
	matt-nb6-plus:1.30.0.10
	matt-nb6-plus-base:1.30
	netbsd-6-0-RC1:1.30
	yamt-pagecache-base5:1.31
	yamt-pagecache-base4:1.31
	netbsd-6:1.30.0.8
	netbsd-6-base:1.30
	netbsd-5-1-2-RELEASE:1.28
	netbsd-5-1-1-RELEASE:1.28
	yamt-pagecache-base3:1.30
	yamt-pagecache-base2:1.30
	yamt-pagecache:1.30.0.6
	yamt-pagecache-base:1.30
	cherry-xenmp:1.30.0.4
	cherry-xenmp-base:1.30
	bouyer-quota2-nbase:1.30
	bouyer-quota2:1.30.0.2
	bouyer-quota2-base:1.30
	matt-mips64-premerge-20101231:1.30
	matt-nb5-mips64-premerge-20101231:1.28
	matt-nb5-pq3:1.28.0.36
	matt-nb5-pq3-base:1.28
	netbsd-5-1:1.28.0.34
	netbsd-5-1-RELEASE:1.28
	netbsd-5-1-RC4:1.28
	matt-nb5-mips64-k15:1.28
	netbsd-5-1-RC3:1.28
	netbsd-5-1-RC2:1.28
	netbsd-5-1-RC1:1.28
	netbsd-5-0-2-RELEASE:1.28
	matt-nb5-mips64-premerge-20091211:1.28
	matt-premerge-20091211:1.29
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.28
	matt-nb4-mips64-k7-u2a-k9b:1.28
	matt-nb5-mips64-u1-k1-k5:1.28
	matt-nb5-mips64:1.28.0.32
	netbsd-5-0-1-RELEASE:1.28
	jym-xensuspend-nbase:1.29
	netbsd-5-0:1.28.0.30
	netbsd-5-0-RELEASE:1.28
	netbsd-5-0-RC4:1.28
	netbsd-5-0-RC3:1.28
	netbsd-5-0-RC2:1.28
	jym-xensuspend:1.28.0.28
	jym-xensuspend-base:1.29
	netbsd-5-0-RC1:1.28
	netbsd-5:1.28.0.26
	netbsd-5-base:1.28
	matt-mips64-base2:1.28
	matt-mips64:1.28.0.24
	mjf-devfs2:1.28.0.22
	mjf-devfs2-base:1.28
	netbsd-4-0-1-RELEASE:1.28
	wrstuden-revivesa-base-3:1.28
	wrstuden-revivesa-base-2:1.28
	wrstuden-fixsa-newbase:1.28
	wrstuden-revivesa-base-1:1.28
	yamt-pf42-base4:1.28
	yamt-pf42-base3:1.28
	hpcarm-cleanup-nbase:1.28
	yamt-pf42-baseX:1.28
	yamt-pf42-base2:1.28
	wrstuden-revivesa:1.28.0.20
	wrstuden-revivesa-base:1.28
	yamt-pf42:1.28.0.18
	yamt-pf42-base:1.28
	keiichi-mipv6:1.28.0.16
	keiichi-mipv6-base:1.28
	matt-armv6-nbase:1.28
	matt-armv6-prevmlocking:1.28
	wrstuden-fixsa-base-1:1.28
	netbsd-4-0:1.28.0.14
	netbsd-4-0-RELEASE:1.28
	cube-autoconf:1.28.0.12
	cube-autoconf-base:1.28
	netbsd-4-0-RC5:1.28
	netbsd-4-0-RC4:1.28
	netbsd-4-0-RC3:1.28
	netbsd-4-0-RC2:1.28
	netbsd-4-0-RC1:1.28
	matt-armv6:1.28.0.10
	matt-armv6-base:1.28
	matt-mips64-base:1.28
	hpcarm-cleanup:1.28.0.8
	hpcarm-cleanup-base:1.28
	netbsd-3-1-1-RELEASE:1.27.2.1
	netbsd-3-0-3-RELEASE:1.27.2.1
	wrstuden-fixsa:1.28.0.6
	wrstuden-fixsa-base:1.28
	abandoned-netbsd-4-base:1.28
	abandoned-netbsd-4:1.28.0.2
	netbsd-3-1:1.27.2.1.0.4
	netbsd-3-1-RELEASE:1.27.2.1
	netbsd-3-0-2-RELEASE:1.27.2.1
	netbsd-3-1-RC4:1.27.2.1
	netbsd-3-1-RC3:1.27.2.1
	netbsd-3-1-RC2:1.27.2.1
	netbsd-3-1-RC1:1.27.2.1
	netbsd-4:1.28.0.4
	netbsd-4-base:1.28
	netbsd-3-0-1-RELEASE:1.27.2.1
	netbsd-3-0:1.27.2.1.0.2
	netbsd-3-0-RELEASE:1.27.2.1
	netbsd-3-0-RC6:1.27.2.1
	netbsd-3-0-RC5:1.27.2.1
	netbsd-3-0-RC4:1.27.2.1
	netbsd-3-0-RC3:1.27.2.1
	netbsd-3-0-RC2:1.27.2.1
	netbsd-3-0-RC1:1.27.2.1
	netbsd-2-0-3-RELEASE:1.26
	netbsd-2-1:1.26.0.6
	netbsd-2-1-RELEASE:1.26
	netbsd-2-1-RC6:1.26
	netbsd-2-1-RC5:1.26
	netbsd-2-1-RC4:1.26
	netbsd-2-1-RC3:1.26
	netbsd-2-1-RC2:1.26
	netbsd-2-1-RC1:1.26
	netbsd-2-0-2-RELEASE:1.26
	netbsd-3:1.27.0.2
	netbsd-3-base:1.27
	netbsd-2-0-1-RELEASE:1.26
	netbsd-2:1.26.0.4
	netbsd-2-base:1.26
	netbsd-2-0-RELEASE:1.26
	netbsd-2-0-RC5:1.26
	netbsd-2-0-RC4:1.26
	netbsd-2-0-RC3:1.26
	netbsd-2-0-RC2:1.26
	netbsd-2-0-RC1:1.26
	netbsd-2-0:1.26.0.2
	netbsd-2-0-base:1.26
	netbsd-1-6-PATCH002-RELEASE:1.25
	netbsd-1-6-PATCH002:1.25
	netbsd-1-6-PATCH002-RC4:1.25
	netbsd-1-6-PATCH002-RC3:1.25
	netbsd-1-6-PATCH002-RC2:1.25
	netbsd-1-6-PATCH002-RC1:1.25
	netbsd-1-6-PATCH001:1.25
	netbsd-1-6-PATCH001-RELEASE:1.25
	netbsd-1-6-PATCH001-RC3:1.25
	netbsd-1-6-PATCH001-RC2:1.25
	netbsd-1-6-PATCH001-RC1:1.25
	fvdl_fs64_base:1.26
	netbsd-1-6-RELEASE:1.25
	netbsd-1-6-RC3:1.25
	netbsd-1-6-RC2:1.25
	netbsd-1-6-RC1:1.25
	netbsd-1-6:1.25.0.6
	netbsd-1-6-base:1.25
	netbsd-1-5-PATCH003:1.25
	netbsd-1-5-PATCH002:1.25
	netbsd-1-5-PATCH001:1.25
	netbsd-1-5-RELEASE:1.25
	netbsd-1-5-BETA2:1.25
	netbsd-1-5-BETA:1.25
	netbsd-1-4-PATCH003:1.21
	netbsd-1-5-ALPHA2:1.25
	netbsd-1-5:1.25.0.4
	netbsd-1-5-base:1.25
	minoura-xpg4dl:1.25.0.2
	minoura-xpg4dl-base:1.25
	netbsd-1-4-PATCH002:1.21
	wrstuden-devbsize-19991221:1.24
	wrstuden-devbsize:1.24.0.4
	wrstuden-devbsize-base:1.24
	comdex-fall-1999:1.24.0.2
	comdex-fall-1999-base:1.24
	netbsd-1-4-PATCH001:1.21
	netbsd-1-4-RELEASE:1.21
	netbsd-1-4:1.21.0.2
	netbsd-1-4-base:1.21
	netbsd-1-3-PATCH003:1.17.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.17.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.17.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.17.2.1
	netbsd-1-3-PATCH002:1.17.2.1
	netbsd-1-3-PATCH001:1.17.2.1
	lite-2:1.1.1.1
	netbsd-1-3-RELEASE:1.17.2.1
	netbsd-1-3-BETA:1.17.2.1
	netbsd-1-3:1.17.0.2
	netbsd-1-3-base:1.17
	netbsd-1-2-PATCH001:1.15
	netbsd-1-2-RELEASE:1.15
	netbsd-1-2-BETA:1.15
	netbsd-1-2:1.15.0.6
	netbsd-1-2-base:1.15
	netbsd-1-1-PATCH001:1.15
	netbsd-1-1-RELEASE:1.15
	netbsd-1-1:1.15.0.2
	netbsd-1-1-base:1.15
	netbsd-1-0-PATCH06:1.11
	netbsd-1-0-PATCH05:1.11
	netbsd-1-0-PATCH04:1.11
	netbsd-1-0-PATCH03:1.11
	netbsd-1-0-PATCH02:1.11
	netbsd-1-0-PATCH1:1.11
	netbsd-1-0-PATCH0:1.11
	netbsd-1-0-RELEASE:1.11
	netbsd-1-0:1.11.0.2
	netbsd-1-0-base:1.11
	lite-1:1.1.1.1
	CSRG:1.1.1
	netbsd-0-9-RELEASE:1.2
	netbsd-0-9-BETA:1.2
	netbsd-0-9-ALPHA2:1.2
	netbsd-0-9-ALPHA:1.2
	netbsd-0-9:1.2.0.2
	netbsd-0-9-base:1.2
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2;
locks; strict;
comment	@# @;


1.32
date	2013.02.07.20.15.07;	author christos;	state Exp;
branches;
next	1.31;

1.31
date	2012.03.21.10.08.30;	author matt;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2010.03.22.01.29.30;	author mrg;	state Exp;
branches
	1.30.6.1;
next	1.29;

1.29
date	2009.02.14.13.52.51;	author abs;	state Exp;
branches;
next	1.28;

1.28
date	2005.07.06.14.43.24;	author drochner;	state Exp;
branches
	1.28.28.1;
next	1.27;

1.27
date	2004.04.18.04.31.51;	author lukem;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2002.08.19.09.41.29;	author lukem;	state Exp;
branches;
next	1.25;

1.25
date	2000.02.19.18.51.30;	author mycroft;	state Exp;
branches;
next	1.24;

1.24
date	99.08.22.12.43.51;	author kleink;	state Exp;
branches;
next	1.23;

1.23
date	99.08.12.21.00.05;	author tron;	state Exp;
branches;
next	1.22;

1.22
date	99.08.11.13.14.20;	author lukem;	state Exp;
branches;
next	1.21;

1.21
date	99.02.13.02.54.30;	author lukem;	state Exp;
branches;
next	1.20;

1.20
date	98.09.14.20.25.03;	author tv;	state Exp;
branches;
next	1.19;

1.19
date	98.03.19.17.51.04;	author tv;	state Exp;
branches;
next	1.18;

1.18
date	97.10.22.23.33.05;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	97.10.20.15.49.39;	author christos;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	97.10.16.23.02.45;	author christos;	state Exp;
branches;
next	1.15;

1.15
date	95.09.07.07.17.53;	author jtc;	state Exp;
branches;
next	1.14;

1.14
date	94.12.22.17.57.02;	author jtc;	state Exp;
branches;
next	1.13;

1.13
date	94.12.22.09.49.15;	author cgd;	state Exp;
branches;
next	1.12;

1.12
date	94.12.16.10.01.23;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	94.07.06.04.08.28;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	94.05.21.05.20.25;	author cgd;	state Exp;
branches;
next	1.9;

1.9
date	94.05.19.06.23.50;	author jtc;	state Exp;
branches;
next	1.8;

1.8
date	94.05.19.06.20.17;	author jtc;	state Exp;
branches;
next	1.7;

1.7
date	94.05.06.06.49.32;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	94.02.07.18.29.53;	author jtc;	state Exp;
branches;
next	1.5;

1.5
date	94.01.15.19.31.32;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.10.05.21.55.45;	author pk;	state Exp;
branches;
next	1.3;

1.3
date	93.08.02.17.50.04;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.03.23.19.20.18;	author nate;	state Exp;
branches;
next	1.1;

1.1
date	93.03.23.10.15.14;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.31.2.1
date	2013.02.25.00.27.55;	author tls;	state Exp;
branches;
next	;

1.30.6.1
date	2012.04.17.00.05.27;	author yamt;	state Exp;
branches;
next	1.30.6.2;

1.30.6.2
date	2014.05.22.11.36.55;	author yamt;	state Exp;
branches;
next	;
commitid	HJV5p3BoaVY5KwBx;

1.28.28.1
date	2009.05.13.19.18.28;	author jym;	state Exp;
branches;
next	;

1.27.2.1
date	2005.08.04.17.33.09;	author tron;	state Exp;
branches;
next	;

1.17.2.1
date	97.11.09.01.00.17;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.06.06.25.27;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.32
log
@Don't provide 2 versions of __compat_regerror() (the other one comes
from 4.3/regex.c via symbol renaming). Anyway this one did nada, so
no great loss :-)
@
text
@#	$NetBSD: Makefile,v 1.31 2012/03/21 10:08:30 matt Exp $

.include <bsd.own.mk>

WARNS=	2

LIB=	compat
CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__
AFLAGS+=-I${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
.if defined(DESTDIR)
AFLAGS+=-nostdinc -isystem ${DESTDIR}/usr/include
.endif

.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
	${.CURDIR}/regexp

# compat 4.1 sources
# missing: getpw.c tell.c vlimit.c vtimes.c
SRCS=	gtty.c ftime.c stty.c

.if (${MACHINE_ARCH} == "vax")
# missing: (for vax) reset.s
.endif

MAN+=	ftime.3 stty.3

MLINKS+=stty.3 gtty.3

# compat 4.3 sources
# missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
SRCS+=	cfree.c regex.c rexec.c
SRCS+=	ruserpass.c

# missing: ecvt.0
MAN+=	re_comp.3 rexec.3

#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
MLINKS+=re_comp.3 re_exec.3


# compat 4.4 sources
SRCS+=	cuserid.c
MAN+=	cuserid.3


# regexp sources
SRCS+=	regexp.c regsub.c
MAN+=	regexp.3

.include <bsd.lib.mk>
@


1.31
log
@These directories don't handle WARNS=5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2010/03/22 01:29:30 mrg Exp $
d49 1
a49 1
SRCS+=	regerror.c regexp.c regsub.c
@


1.31.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2012/03/21 10:08:30 matt Exp $
d49 1
a49 1
SRCS+=	regexp.c regsub.c
@


1.30
log
@convert -idirafter to -isystem, as recommended by cgd in PR 11843.
most of the list in that PR were already done.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2009/02/14 13:52:51 abs Exp $
d5 2
@


1.30.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2010/03/22 01:29:30 mrg Exp $
a4 2
WARNS=	2

@


1.30.6.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30.6.1 2012/04/17 00:05:27 yamt Exp $
d49 1
a49 1
SRCS+=	regexp.c regsub.c
@


1.29
log
@Convert more MACHINE tests to MACHINE_ARCH
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2005/07/06 14:43:24 drochner Exp $
d9 1
a9 1
AFLAGS+=-nostdinc -idirafter ${DESTDIR}/usr/include
@


1.28
log
@Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2004/04/18 04:31:51 lukem Exp $
d21 1
a21 1
.if (${MACHINE} == "vax")
@


1.28.28.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2009/02/14 13:52:51 abs Exp $
d21 1
a21 1
.if (${MACHINE_ARCH} == "vax")
@


1.27
log
@Append to AFLAGS rather than setting AINC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2002/08/19 09:41:29 lukem Exp $
d31 2
a32 2
SRCS+=	cfree.c lsearch.c regex.c rexec.c
SRCS+=	insque.c remque.c ruserpass.c
d35 1
a35 1
MAN+=	insque.3 lsearch.3 re_comp.3 rexec.3
a37 2
MLINKS+=insque.3 remque.3
MLINKS+=lsearch.3 lfind.3
@


1.27.2.1
log
@Pull up revision 1.28 (requested by drochner in ticket #632):
Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
@
text
@d1 1
a1 1
#	$NetBSD$
d31 2
a32 2
SRCS+=	cfree.c regex.c rexec.c
SRCS+=	ruserpass.c
d35 1
a35 1
MAN+=	re_comp.3 rexec.3
d38 2
@


1.26
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.25 2000/02/19 18:51:30 mycroft Exp $
d7 1
a7 1
AINC=	-I${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
d9 1
a9 1
AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
@


1.25
log
@Build a PIC version of this -- but not yet a shlib, due to some obscure lossage
-- so that it can be linked into another shlib as needed.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.24 1999/08/22 12:43:51 kleink Exp $
d7 1
a7 1
AINC=	-I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
@


1.24
log
@G/C the manual pages for getpw(3), vlimit(3) and vtimes(3).  Although stated
in the manuals, these interfaces don't actually exist in libcompat and it isn't
likely that anyone needs nor actually implementents them; in fact,
<sys/vlimit.h> was removed recently.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 1999/08/12 21:00:05 tron Exp $
a8 1
MKPIC=	no
@


1.23
log
@Undo last commit. As pointed out by John Darrow on "regex.c" wasn't listed
twice in "SRCS", it were "regex.c" and "rexec.c".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1999/08/11 13:14:20 lukem Exp $
d24 1
a24 1
MAN+=	ftime.3 getpw.3 stty.3 vlimit.3 vtimes.3
@


1.22
log
@why have regex.c twice in SRCS ?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1999/02/13 02:54:30 lukem Exp $
d30 1
a30 1
SRCS+=	cfree.c lsearch.c regex.c
@


1.21
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1998/09/14 20:25:03 tv Exp $
d30 1
a30 1
SRCS+=	cfree.c lsearch.c regex.c rexec.c
@


1.20
log
@__RENAME() the libcompat regexp routines so they will not be used by
programs that want -lcompat but use POSIX regex.  Inspired by
<david@@mono.org> in PR bin/1849.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1998/03/19 17:51:04 tv Exp $
d9 1
a9 1
NOPIC=	nopic
@


1.19
log
@Add a ruserpass() function to make rexec happy.  PR 901 (that's not a typo).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1997/10/22 23:33:05 lukem Exp $
d4 1
a4 1
CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
@


1.18
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/10/20 15:49:39 christos Exp $
d31 1
a31 1
SRCS+=	insque.c remque.c
@


1.17
log
@Moved timezone, swapon and getdirentries back to libc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1997/10/16 23:02:45 christos Exp $
d4 1
a4 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
@


1.17.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1997/10/22 23:33:05 lukem Exp $
d4 1
a4 1
CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
@


1.16
log
@Add timezone, swapon, getdirentries
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1995/09/07 07:17:53 jtc Exp $
d43 2
a44 2
SRCS+=	cuserid.c getdirentries.c swapon.c timezone.c
MAN+=	cuserid.3 getdirentries.3 swapon.3 timezone.3
@


1.15
log
@Don't bother with a m68k assembly version of insque/remque.  Gcc
generates the pretty much the same code (I believe it is exactly
the same except for stack frame setup) as the generic C version.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1994/12/22 17:57:02 jtc Exp $
d43 2
a44 2
SRCS+=	cuserid.c
MAN+=	cuserid.3
@


1.14
log
@fix typo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1994/12/22 09:49:15 cgd Exp $
a30 4

.if	(${MACHINE_ARCH} == "m68k")
SRCS+=	insque.S remque.S
.else
a31 1
.endif
@


1.13
log
@specify man pages the new way.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 19942/16 10:01:23 mycroft Exp $
d56 1
a56 1
<bsd.lib.m
@


1.12
log
@.s -> .S
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1994/07/06 04:08:28 mycroft Exp $
d24 1
a24 1
MAN3+=	ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0
d39 1
a39 1
MAN3+=	insque.0 lsearch.0 re_comp.0 rexec.0
d49 1
a49 1
MAN3+=	cuserid.0
d54 1
a54 1
MAN3+=	regexp.0
d56 1
a56 1
.include <bsd.lib.mk>
@


1.11
log
@Do something more intelligent when compiling into ${DESTDIR}.  Also fix bogus
definition of AINC.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1994/05/21 05:20:25 cgd Exp $
d33 1
a33 1
SRCS+=	insque.s remque.s
@


1.10
log
@make stty and gtty real function stubs (they're now gone from ioctl_compat.h).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1994/05/19 06:23:50 jtc Exp $
d5 4
a8 1
AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH}
@


1.9
log
@Remove links to regexp(3) manpage, as they overwrite the links with the
same name to the regex(3) manpage, which is the preferred regular expression
API.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1994/05/19 06:20:17 jtc Exp $
d14 2
a15 2
# missing: getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
SRCS=	ftime.c
@


1.8
log
@Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1994/05/06 06:49:32 cgd Exp $
d40 1
a50 1

a51 3

MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
	regexp.3 regerror.3
@


1.7
log
@patch up
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1994/02/07 18:29:53 jtc Exp $
d42 1
d45 2
@


1.6
log
@Don't install manpage links to regexp(3), they overwrite the links
to regex(3).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1994/01/15 19:31:32 cgd Exp $
d8 1
a8 1
.PATH:  ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
d10 1
d14 10
a23 1
SRCS+=	ftime.c
d26 2
a27 1
SRCS+=	insque.c regex.c remque.c
d29 5
a33 1
MAN3+=	insque.0
d35 4
d40 4
d49 3
@


1.5
log
@actually commit the changes i made the other day to the Makefile
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1993/10/05 21:55:45 pk Exp $
a25 3

MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
	regexp.3 regerror.3
@


1.4
log
@PIC: don't bother.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1993/08/02 17:50:04 mycroft Exp $
d4 2
a5 1
SRCS=	ftime.c regex.c
d7 22
a28 2
	 
CFLAGS+= -I. -I${.CURDIR} -DNDEBUG
@


1.3
log
@Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
@
text
@d1 1
a1 1
#	$Id: $
d5 1
@


1.2
log
@Changed Makefile to include the new regex.c package
@
text
@d1 3
a3 1
LIB=compat
@


1.1
log
@added libcompat for compatibility routines, like ftime, etc.
@
text
@d2 1
a2 1
SRCS=	ftime.c
@


1.1.1.1
log
@update
@
text
@a0 2
#	@@(#)Makefile	8.1 (Berkeley) 6/4/93

d2 3
a4 53
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
AINC=	-I${.CURDIR}/../libc/${MACHINE}

.PATH:	${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \
	${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3 \
	${.CURDIR}/4.4/${MACHINE} ${.CURDIR}/4.4 \
	${.CURDIR}/regexp

# compat 4.1 sources
SRCS=	ftime.c getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c

.if (${MACHINE} == "vax")
SRCS+=	reset.s
.endif

MAN3+=	ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0

MLINKS+=stty.3 gtty.3

# compat 4.3 sources
SRCS+=	cfree.c ecvt.c gcvt.c lsearch.c regex.c rexec.c sibuf.c sobuf.c \
	strout.c

.if	(${MACHINE} == "hp300" || ${MACHINE} == "luna68k")
SRCS+=	insque.s remque.s
.elif	(${MACHINE} == "i386")
SRCS+=	insque.c remque.c
.elif	(${MACHINE} == "mips")
SRCS+=	insque.c remque.c
.elif	(${MACHINE} == "sparc")
SRCS+=	insque.c remque.c
.elif	(${MACHINE} == "tahoe")
SRCS+=	nargs.s insque.s remque.s
.elif	(${MACHINE} == "vax")
SRCS+=	nargs.s insque.s remque.s
.endif

MAN3+=	ecvt.0 insque.0 lsearch.0 re_comp.0 rexec.0

MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
MLINKS+=insque.3 remque.3
MLINKS+=re_comp.3 re_exec.3

# compat 4.4 sources
SRCS+=	cuserid.c

# regexp sources
SRCS+=	regerror.c regexp.c regsub.c

MAN3+=	regexp.0

MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
	regexp.3 regerror.3
@
