diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-07-02 13:11:35 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-07-02 13:11:35 +0000 |
commit | c23c55f262f680ebb2cf8f2c0e23cbadb7642fe9 (patch) | |
tree | bc20a7039975df48fc44bd00abbebe16ea027f2d /regress/usr.bin | |
parent | a761a96c13df2b48b1f1bb77eb4e4d3091dc08f7 (diff) |
recent libtool has some alternate invocation mode
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/libtool/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile index e8ff3f8234f..500d43f8677 100644 --- a/regress/usr.bin/libtool/Makefile +++ b/regress/usr.bin/libtool/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.4 2012/07/02 12:58:53 espie Exp $ +# $OpenBSD: Makefile,v 1.5 2012/07/02 13:11:34 espie Exp $ REGRESS_TARGETS = test-compile-0 test-link-0 test-install-0 \ test-run-0 test-link-1 test-install-1 test-run-1 \ test-link-2 test-link-3 test-run-2 test-run-3 \ - error-0 error-1 error-2 + error-0 error-1 error-2 test-alternate-0 LIBTOOL ?= /usr/bin/libtool @@ -46,6 +46,11 @@ error-2: touch dummy.c if ${LIBTOOL} --mode=compile --tag=@ ${CC} -c -o dummy.lo dummy.c; then exit 1; fi +test-alternate-0: + touch dummy.c + ${LIBTOOL} compile ${CC} -c -o dummy.lo dummy.c + ${LIBTOOL} comp ${CC} -c -o dummy.lo dummy.c + ${DEST}/bin/p1: ${DEST}/lib/liba.la ${DEST}/bin/p2: ${DEST}/lib/liba0.la ${DEST}/lib/liba1.la |