Module Name: src Committed By: christos Date: Fri Jan 6 20:27:19 UTC 2017
Modified Files: src/tools/dbsym: Makefile src/tools/mdsetimage: Makefile Log Message: handle the case where we don't have the files built yet To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tools/dbsym/Makefile cvs rdiff -u -r1.12 -r1.13 src/tools/mdsetimage/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/dbsym/Makefile diff -u src/tools/dbsym/Makefile:1.10 src/tools/dbsym/Makefile:1.11 --- src/tools/dbsym/Makefile:1.10 Fri Jan 6 12:22:51 2017 +++ src/tools/dbsym/Makefile Fri Jan 6 15:27:19 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2017/01/06 17:22:51 christos Exp $ +# $NetBSD: Makefile,v 1.11 2017/01/06 20:27:19 christos Exp $ NOMAN= # defined @@ -16,7 +16,9 @@ IBERTYDIR= ${TOOLCHAINOBJ}/build/libiber LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile .if exists(${LDMAKEFILE}) -HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no +HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no +.else +HAVE_LIBDL= no .endif .if ${HAVE_LIBDL} != "no" Index: src/tools/mdsetimage/Makefile diff -u src/tools/mdsetimage/Makefile:1.12 src/tools/mdsetimage/Makefile:1.13 --- src/tools/mdsetimage/Makefile:1.12 Fri Jan 6 12:22:51 2017 +++ src/tools/mdsetimage/Makefile Fri Jan 6 15:27:19 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2017/01/06 17:22:51 christos Exp $ +# $NetBSD: Makefile,v 1.13 2017/01/06 20:27:19 christos Exp $ NOMAN= # defined @@ -17,7 +17,9 @@ IBERTYDIR= ${TOOLCHAINOBJ}/build/libiber LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile .if exists(${LDMAKEFILE}) -HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no +HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no +.else +HAVE_LIBDL= no .endif .if ${HAVE_LIBDL} != "no"