blob: b604773d7c73fe392be1693e398236debc683d11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $OpenBSD: Makefile,v 1.5 2017/12/18 19:19:08 anton Exp $
CSH= /bin/csh
REGRESS_TARGETS= filec
PROG= edit
CFLAGS+= -Wall
LDADD+= -lutil
CLEANFILES+= edit.c
edit.c: ${.CURDIR}/../ksh/edit/edit.c
@cp ${.CURDIR}/../ksh/edit/edit.c .
filec: edit
@echo '\n======== filec ========'
sh ${.CURDIR}/filec.sh ${CSH}
REGRESS_TARGETS+= env
.SUFFIXES: .in
.in:
@echo '\n======== ${@} ========'
env -i MALLOC_OPTIONS=S ${CSH} <${.CURDIR}/${@}.in 2>&1 | \
diff -u ${.CURDIR}/${@}.ok -
.include <bsd.regress.mk>
|