Make mddriver static.
Submitted by: jkh
This commit is contained in:
parent
5c06a7a368
commit
5fb32aaddf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2487
@ -66,13 +66,13 @@ md5.ref:
|
||||
beforeinstall: md2.ref md4.ref md5.ref md2.3 md4.3 md5.3
|
||||
@${ECHO} if any of these test fail, the code produces wrong results
|
||||
@${ECHO} and should NOT be used.
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -DMD=2 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
|
||||
${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=2 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
|
||||
./mddriver | cmp md2.ref -
|
||||
@${ECHO} MD2 passed test
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -DMD=4 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
|
||||
${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=4 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
|
||||
./mddriver | cmp md4.ref -
|
||||
@${ECHO} MD4 passed test
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -DMD=5 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
|
||||
${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=5 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
|
||||
./mddriver | cmp md5.ref -
|
||||
@${ECHO} MD5 passed test
|
||||
-rm -f mddriver
|
||||
|
Loading…
Reference in New Issue
Block a user