|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# This program is free software; you can redistribute it and/or modify it
|
|
Packit |
b0b924 |
# under the terms of version 2 of the GNU General Public License as
|
|
Packit |
b0b924 |
# published by the Free Software Foundation.
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# This program is distributed in the hope that it would be useful, but
|
|
Packit |
b0b924 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
b0b924 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# Further, this software is distributed without any warranty that it is
|
|
Packit |
b0b924 |
# free of the rightful claim of any third person regarding infringement
|
|
Packit |
b0b924 |
# or the like. Any license provided herein, whether implied or
|
|
Packit |
b0b924 |
# otherwise, applies only to this software file. Patent licenses, if
|
|
Packit |
b0b924 |
# any, provided herein do not apply to combinations of this program with
|
|
Packit |
b0b924 |
# other software, or any other product whatsoever.
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# You should have received a copy of the GNU General Public License along
|
|
Packit |
b0b924 |
# with this program; if not, write the Free Software Foundation, Inc., 59
|
|
Packit |
b0b924 |
# Temple Place - Suite 330, Boston MA 02111-1307, USA.
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
|
|
Packit |
b0b924 |
# Mountain View, CA 94043, or:
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# http://www.sgi.com
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# For further information regarding this notice, see:
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
TOPDIR = .
|
|
Packit |
b0b924 |
HAVE_BUILDDEFS = $(shell test -f $(TOPDIR)/include/builddefs && echo yes || echo no)
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
ifeq ($(HAVE_BUILDDEFS), yes)
|
|
Packit |
b0b924 |
include $(TOPDIR)/include/builddefs
|
|
Packit |
b0b924 |
endif
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
CONFIGURE = configure include/builddefs include/config.h
|
|
Packit |
b0b924 |
LSRCFILES = configure configure.in aclocal.m4 Makepkgs install-sh exports \
|
|
Packit |
b0b924 |
README VERSION
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
|
|
Packit |
b0b924 |
Logs/* built .census install.* install-dev.* install-lib.* *.gz
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
SUBDIRS = include libnfs4acl nfs4_getfacl nfs4_setfacl man
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
default: $(CONFIGURE)
|
|
Packit |
b0b924 |
ifeq ($(HAVE_BUILDDEFS), no)
|
|
Packit |
b0b924 |
$(MAKE) -C . $@
|
|
Packit |
b0b924 |
else
|
|
Packit |
b0b924 |
$(SUBDIRS_MAKERULE)
|
|
Packit |
b0b924 |
endif
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
ifeq ($(HAVE_BUILDDEFS), yes)
|
|
Packit |
b0b924 |
include $(BUILDRULES)
|
|
Packit |
b0b924 |
else
|
|
Packit |
b0b924 |
clean: # if configure hasn't run, nothing to clean
|
|
Packit |
b0b924 |
endif
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
$(CONFIGURE): aclocal.m4
|
|
Packit |
b0b924 |
autoconf
|
|
Packit |
b0b924 |
./configure \
|
|
Packit |
b0b924 |
--prefix=/ \
|
|
Packit |
b0b924 |
--exec-prefix=/ \
|
|
Packit |
b0b924 |
--sbindir=/bin \
|
|
Packit |
b0b924 |
--bindir=/usr/bin \
|
|
Packit |
b0b924 |
--libdir=/lib \
|
|
Packit |
b0b924 |
--libexecdir=/usr/lib \
|
|
Packit |
b0b924 |
--includedir=/usr/include \
|
|
Packit |
b0b924 |
--mandir=/usr/share/man \
|
|
Packit |
b0b924 |
--datadir=/usr/share \
|
|
Packit |
b0b924 |
$$LOCAL_CONFIGURE_OPTIONS
|
|
Packit |
b0b924 |
touch .census
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
aclocal.m4::
|
|
Packit |
b0b924 |
aclocal --output=$@
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
# we don't have any docs to install just now ...
|
|
Packit |
b0b924 |
#
|
|
Packit |
b0b924 |
#install: default
|
|
Packit |
b0b924 |
# $(SUBDIRS_MAKERULE)
|
|
Packit |
b0b924 |
# $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
|
|
Packit |
b0b924 |
# $(INSTALL) -m 644 README $(PKG_DOC_DIR)
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
install: default
|
|
Packit |
b0b924 |
$(SUBDIRS_MAKERULE)
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
install-dev: default
|
|
Packit |
b0b924 |
$(SUBDIRS_MAKERULE)
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
install-lib: default
|
|
Packit |
b0b924 |
$(SUBDIRS_MAKERULE)
|
|
Packit |
b0b924 |
|
|
Packit |
b0b924 |
realclean distclean: clean
|
|
Packit |
b0b924 |
rm -f $(LDIRT) $(CONFIGURE)
|
|
Packit |
b0b924 |
rm -rf autom4te.cache Logs
|