diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-14 11:40:35 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-14 11:40:35 +1000 |
commit | b12d16fd003a62c564290f7b6ef44d68934823e3 (patch) | |
tree | c28595692640aec32725d9b8c9e7898e172ea3c7 /regress/Makefile | |
parent | 455813b79e1bd6e2a525d38da52a49defcc03f68 (diff) |
- (dtucker) [Makefile regress/Makefile] Fix portability issues preventing
the regression tests from running with Solaris' make. Patch from Brian
Poole (raj at cerias.purdue.edu).
Further info: Solaris' /usr/ccs/bin/make
* requires a space before "+=" (but not "=")
* does not like @for
The bit that relies on a trailing "/" on $OBJ so "rm ${OBJ}$$F works in the
current dir if OBJ isn't set is my fault. Nasty but it works.
Diffstat (limited to 'regress/Makefile')
-rw-r--r-- | regress/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/regress/Makefile b/regress/Makefile index ce876d483..c08201632 100644 --- a/regress/Makefile +++ b/regress/Makefile | |||
@@ -1,13 +1,11 @@ | |||
1 | # $OpenBSD: Makefile,v 1.24 2003/07/03 08:24:13 markus Exp $ | 1 | # $OpenBSD: Makefile,v 1.24 2003/07/03 08:24:13 markus Exp $ |
2 | 2 | ||
3 | OBJ ?= `pwd` | ||
4 | |||
5 | REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec | 3 | REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec |
6 | tests: $(REGRESS_TARGETS) | 4 | tests: $(REGRESS_TARGETS) |
7 | 5 | ||
8 | CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 | 6 | CLEANFILES += t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 |
9 | clean: | 7 | clean: |
10 | @for F in $(CLEANFILES); do rm -f $(OBJ)/$${F}; done | 8 | for F in $(CLEANFILES); do rm -f $(OBJ)$$F; done |
11 | distclean: clean | 9 | distclean: clean |
12 | 10 | ||
13 | LTESTS= connect \ | 11 | LTESTS= connect \ |
@@ -38,13 +36,13 @@ LTESTS= connect \ | |||
38 | forwarding | 36 | forwarding |
39 | 37 | ||
40 | USER!= id -un | 38 | USER!= id -un |
41 | CLEANFILES+= authorized_keys_${USER} known_hosts pidfile \ | 39 | CLEANFILES += authorized_keys_${USER} known_hosts pidfile \ |
42 | ssh_config ssh_proxy sshd_config sshd_proxy \ | 40 | ssh_config ssh_proxy sshd_config sshd_proxy \ |
43 | rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \ | 41 | rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \ |
44 | rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \ | 42 | rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \ |
45 | ls.copy remote_pid | 43 | ls.copy remote_pid |
46 | 44 | ||
47 | #LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp | 45 | #LTESTS += ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp |
48 | 46 | ||
49 | t1: | 47 | t1: |
50 | ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv | 48 | ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv |