summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2008-05-05 06:24:38 +0000
committerTim Shimmin <tes@sgi.com>2008-05-05 06:24:38 +0000
commit946e45ce9fd8b3fbba0d79e93899bb1b8ee55498 (patch)
treee40919cf086c26de1132d82008760f4bb5e17ba1 /Makefile
parentf7e9207c9d3941df31413b7d476cf16fb8306686 (diff)
automake doesn't have "default" target but uses "all" target instead
Merge of master-melb:xfs-cmds:31021a by kenmcd. automake doesn't have "default" target but uses "all" target instead
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 99509ff9..0a0fc279 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
+# Copyright (c) 2000-2008 Silicon Graphics, Inc. All Rights Reserved.
#
TOPDIR = .
@@ -16,13 +16,16 @@ 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
+SUBDIRS = include lib ltp src m4
default: $(CONFIGURE) $(DMAPI_MAKEFILE) new remake check $(TESTS)
ifeq ($(HAVE_BUILDDEFS), no)
$(MAKE) $@
else
$(SUBDIRS_MAKERULE)
+ # automake doesn't always support "default" target
+ # so do dmapi make explicitly with "all"
+ cd $(TOPDIR)/dmapi; make all
endif
ifeq ($(HAVE_BUILDDEFS), yes)