2 # Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
6 HAVE_BUILDDEFS
= $(shell test -f
$(TOPDIR
)/include/builddefs
&& echo yes || echo no
)
8 ifeq ($(HAVE_BUILDDEFS
), yes
)
9 include $(TOPDIR
)/include/builddefs
12 CONFIGURE
= configure
include/builddefs
include/platform_defs.h
13 LSRCFILES
= configure configure.in Makepkgs aclocal.m4 install-sh README VERSION
15 LDIRT
= config.log .dep config.status config.cache confdefs.h conftest
* \
16 Logs
/* built .census
install.
* install-dev.
* *.gz
18 SUBDIRS
= include libxfs libxlog libxcmd libhandle libdisk \
19 copy db fsck growfs io logprint mkfs quota repair rtcp \
20 m4 man doc po debian build
23 ifeq ($(HAVE_BUILDDEFS
), no
)
29 ifeq ($(HAVE_BUILDDEFS
), yes
)
32 clean: # if configure hasn't run, nothing to clean
43 --libexecdir
=/usr
/lib \
45 --includedir=/usr
/include \
46 --mandir=/usr
/share
/man \
47 --datadir=/usr
/share \
48 $$LOCAL_CONFIGURE_OPTIONS
52 aclocal
--acdir
=`pwd`/m4
--output
=$@
56 $(INSTALL
) -m
755 -d
$(PKG_DOC_DIR
)
57 $(INSTALL
) -m
644 README
$(PKG_DOC_DIR
)
62 realclean distclean: clean
63 rm -f
$(LDIRT
) $(CONFIGURE
)
64 rm -rf autom4te.cache Logs