1 # $NetBSD: Makefile,v 1.28 2005/07/06 14:43:24 drochner Exp $
6 CPPFLAGS
+=-DLIBC_SCCS
-DSYSLIBC_SCCS
-D__LIBCOMPAT_SOURCE__
7 AFLAGS
+=-I
${NETBSDSRCDIR}/lib
/libc
/arch
/${MACHINE_ARCH}
9 AFLAGS
+=-nostdinc
-idirafter
${DESTDIR}/usr
/include
12 .PATH
: ${.CURDIR
}/4.1/${MACHINE_ARCH} ${.CURDIR
}/4.1 \
13 ${.CURDIR
}/4.3/${MACHINE_ARCH} ${.CURDIR
}/4.3 \
14 ${.CURDIR
}/4.4/${MACHINE_ARCH} ${.CURDIR
}/4.4 \
18 # missing: getpw.c tell.c vlimit.c vtimes.c
19 SRCS
= gtty.c ftime.c stty.c
21 .if
(${MACHINE_ARCH} == "vax")
22 # missing: (for vax) reset.s
30 # missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
31 SRCS
+= cfree.c regex.c rexec.c
35 MAN
+= re_comp
.3 rexec
.3
37 #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
38 MLINKS
+=re_comp
.3 re_exec
.3
47 SRCS
+= regerror.c regexp.c regsub.c