dmapi: fix build failure if libdm is provided via -ldm
authorTheodore Ts'o <tytso@mit.edu>
Thu, 21 Jul 2011 23:52:04 +0000 (19:52 -0400)
committerChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2011 14:16:18 +0000 (16:16 +0200)
commit40a566dc898d50dba45e9951bd7a5b502f95af07
tree49b5f748acda4e9d779294eb4dc936c8ce193807
parent0655d09fbf7f1970591b46066287765a2378280d
dmapi: fix build failure if libdm is provided via -ldm

The value of $(LIBDM) may be a linker specification -ldm, and not a
file.  So it's not OK to add this to the dependency, since make will
then complain that it doesn't know how to make the target -ldm.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
dmapi/src/common/cmd/Makefile
dmapi/src/sample_hsm/Makefile
dmapi/src/suite1/cmd/Makefile
dmapi/src/suite1/cmd/probe_punch_xfsctl_hole.c
dmapi/src/suite2/src/Makefile