summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2007-04-20 03:57:28 +0000
committerTim Shimmin <tes@sgi.com>2007-04-20 03:57:28 +0000
commitbf09e8cc4d00aba26a7f2a9f747060884b87cfd2 (patch)
tree9f0fee1c549eff3d9a91fa488ef93b320d30e384 /Makefile
parent82ad2b89c007a9d02ec27913ecb75ef1b0432937 (diff)
fixup xfstests Makefile sinch dmapi changes
Merge of master-melb:xfs-cmds:28442a by kenmcd. fixup xfstests Makefile sinch dmapi changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 63603d4e..99509ff9 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
#
TOPDIR = .
-HAVE_BUILDDEFS = $(shell test -f $(TOPDIR)/include/builddefs -a -f $(TOPDIR)/dmapi/Makefile && echo yes || echo no)
+HAVE_BUILDDEFS = $(shell test -f $(TOPDIR)/include/builddefs && echo yes || echo no)
ifeq ($(HAVE_BUILDDEFS), yes)
include $(TOPDIR)/include/builddefs
@@ -11,15 +11,16 @@ endif
TESTS = $(shell sed -n -e '/^[0-9][0-9][0-9]*/s/ .*//p' group)
CONFIGURE = configure include/builddefs include/config.h
+DMAPI_MAKEFILE = dmapi/Makefile
LSRCFILES = configure configure.in aclocal.m4 README VERSION
LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
check.log check.time
SUBDIRS = include lib ltp src m4 dmapi
-default: $(CONFIGURE) new remake check $(TESTS)
+default: $(CONFIGURE) $(DMAPI_MAKEFILE) new remake check $(TESTS)
ifeq ($(HAVE_BUILDDEFS), no)
- $(MAKE) -C . $@
+ $(MAKE) $@
else
$(SUBDIRS_MAKERULE)
endif
@@ -36,6 +37,8 @@ $(CONFIGURE):
./configure \
--libexecdir=/usr/lib \
--enable-lib64=yes
+
+$(DMAPI_MAKEFILE):
cd $(TOPDIR)/dmapi/ ; ./configure
aclocal.m4::