# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# $Id: Makefile.am,v 1.28 2001/07/25 05:12:58 dm Exp $


SHELL = /bin/sh

srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/sfs
pkglibdir = $(libdir)/sfs
pkgincludedir = $(includedir)/sfs

top_builddir = ..

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/athena/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = sparc-sun-solaris2.8
host_triplet = sparc-sun-solaris2.8
AS = @AS@
CC = gcc
CPP = gcc -E
CXX = c++
CXXDEBUG = -g -O2
CXXNOERR = -Wno-error
CXXWFLAGS = -Wall
DB3_DIR = 
DB3_LIB = 
DBDEPS = $(top_builddir)/sfsrodb/libsfsrodb.a $(top_builddir)/adb/libbtree.a
DBLIB = $(top_builddir)/sfsrodb/libsfsrodb.a $(top_builddir)/adb/libbtree.a
DEBUG = -g -O2
DLLTOOL = @DLLTOOL@
ECFLAGS = 
ECXXFLAGS = 
ETAGS_ARGS = -C /dev/null
GMP_DIR = 
LD = /usr/ccs/bin/ld
LDADD = $(LIBSFSMISC) $(LIBSVC) $(LIBSFSCRYPT) $(LIBARPC) $(LIBASYNC) $(LIBGMP)
LDEPS = $(LIBSFSMISC) $(LIBSVC) $(LIBSFSCRYPT) $(LIBARPC) $(LIBASYNC)
LEX = flex
LIBADB = $(top_builddir)/adb/btree/libbtree.la
LIBARPC = $(top_builddir)/arpc/libarpc.la
LIBASYNC = $(top_builddir)/async/libasync.la
LIBCRYPT = 
LIBGMP = /mit/outland/lib/libgmp.la
LIBSFSCRYPT = $(top_builddir)/crypt/libsfscrypt.la
LIBSFSMISC = $(top_builddir)/sfsmisc/libsfsmisc.la
LIBSFSRODB = $(top_builddir)/sfsrodb/libsfsrodb.la
LIBSVC = $(top_builddir)/svc/libsvc.la
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
M4 = /mit/gnu/arch/sun4x_58/bin/gm4
MAKEINFO = makeinfo
MALLOCK = $(top_builddir)/sfsmisc/mallock.o
NM = /usr/ccs/bin/nm -p
NOPAGING = 
NW = -w
OBJDUMP = @OBJDUMP@
OPENSSL_DIR = 
PACKAGE = sfs
PATH_ = @PATH_@
PERL = @PERL@
PERL_INC = @PERL_INC@
PERL_LIB = @PERL_LIB@
PERL_XSI = @PERL_XSI@
PTYLIB = 
RANLIB = ranlib
RPCC = $(top_builddir)/rpcc/rpcc
UVFS_DIR = 
VERSION = 0.5
WFLAGS = -Wall
XSUBPP = @XSUBPP@
YACC = bison -y
_PATH_CPP = /lib/cpp
etcdir = /etc/sfs
execdir = ${pkglibdir}-${VERSION}
piddir = /var/run
sfsdir = /var/sfs
sfsgroup = sfs
sfsincludedir = ${pkgincludedir}-${VERSION}
sfslibdir = ${pkglibdir}-${VERSION}
sfsuser = sfs

sfslib_LTLIBRARIES = libarpc.la

libarpc_la_SOURCES =  authunixint.c pmap_prot.C acallrpc.C aclnt.C asrv.C authopaque.C authuint.C axprt_dgram.C axprt_stream.C axprt_unix.C clone.C xdr_suio.C xdrmisc.C xhinfo.C


sfsinclude_HEADERS = pmap_prot.x aclnt.h arpc.h asrv.h axprt.h pmap_prot.h rpctypes.h xdr_suio.h xdrmisc.h xhinfo.h


#arpc_repo_OBJECTS = $(libarpc_la_OBJECTS) $(LIBASYNC)
#libarpc_la_DEPENDENCIES = stamp-arpc-repo

EXTRA_DIST = pmap_prot.x .cvsignore
CLEANFILES = core *.core *~ *.rpo pmap_prot.h pmap_prot.C stamp-arpc-repo
MAINTAINERCLEANFILES = Makefile.in
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
LTLIBRARIES =  $(sfslib_LTLIBRARIES)


DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS =  -I/mit/outland/include -I$(top_srcdir) -I$(top_srcdir)/async -I$(top_srcdir)/arpc -I$(top_srcdir)/crypt -I$(top_srcdir)/sfsmisc -I$(top_srcdir)/sfsrodb -I$(top_srcdir)/adb -I$(top_builddir)/svc -I$(top_srcdir)/svc -DEXECDIR=\"$(execdir)\" -DETCDIR=\"$(etcdir)\" -DDATADIR=\"$(pkgdatadir)\" -DPIDDIR=\"$(piddir)\" -DSFSDIR=\"$(sfsdir)\"
LDFLAGS = 
LIBS = -lresolv -lnsl -lsocket 
libarpc_la_LDFLAGS = 
libarpc_la_LIBADD = 
libarpc_la_OBJECTS =  authunixint.lo pmap_prot.lo acallrpc.lo aclnt.lo \
asrv.lo authopaque.lo authuint.lo axprt_dgram.lo axprt_stream.lo \
axprt_unix.lo clone.lo xdr_suio.lo xdrmisc.lo xhinfo.lo
CXXFLAGS = $(CXXDEBUG) $(CXXWFLAGS) $(ECXXFLAGS)
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
CFLAGS = $(DEBUG) $(WFLAGS) $(ECFLAGS)
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
HEADERS =  $(sfsinclude_HEADERS)

DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
DEP_FILES =  .deps/acallrpc.P .deps/aclnt.P .deps/asrv.P \
.deps/authopaque.P .deps/authuint.P .deps/authunixint.P \
.deps/axprt_dgram.P .deps/axprt_stream.P .deps/axprt_unix.P \
.deps/clone.P .deps/pmap_prot.P .deps/xdr_suio.P .deps/xdrmisc.P \
.deps/xhinfo.P
SOURCES = $(libarpc_la_SOURCES)
OBJECTS = $(libarpc_la_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .C .S .c .lo .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu arpc/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-sfslibLTLIBRARIES:

clean-sfslibLTLIBRARIES:
	-test -z "$(sfslib_LTLIBRARIES)" || rm -f $(sfslib_LTLIBRARIES)

distclean-sfslibLTLIBRARIES:

maintainer-clean-sfslibLTLIBRARIES:

install-sfslibLTLIBRARIES: $(sfslib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(sfslibdir)
	@list='$(sfslib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(sfslibdir)/$$p"; \
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(sfslibdir)/$$p; \
	  else :; fi; \
	done

uninstall-sfslibLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(sfslib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(sfslibdir)/$$p; \
	done

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

libarpc.la: $(libarpc_la_OBJECTS) $(libarpc_la_DEPENDENCIES)
	$(CXXLINK) -rpath $(sfslibdir) $(libarpc_la_LDFLAGS) $(libarpc_la_OBJECTS) $(libarpc_la_LIBADD) $(LIBS)
.C.o:
	$(CXXCOMPILE) -c $<
.C.lo:
	$(LTCXXCOMPILE) -c $<

install-sfsincludeHEADERS: $(sfsinclude_HEADERS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(sfsincludedir)
	@list='$(sfsinclude_HEADERS)'; for p in $$list; do \
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sfsincludedir)/$$p"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sfsincludedir)/$$p; \
	done

uninstall-sfsincludeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(sfsinclude_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(sfsincludedir)/$$p; \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = arpc

distdir: $(DISTFILES)
	here=`cd $(top_builddir) && pwd`; \
	top_distdir=`cd $(top_distdir) && pwd`; \
	distdir=`cd $(distdir) && pwd`; \
	cd $(top_srcdir) \
	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu arpc/Makefile
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook

DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)

-include $(DEP_FILES)

mostlyclean-depend:

clean-depend:

distclean-depend:
	-rm -rf .deps

maintainer-clean-depend:

%.o: %.c
	@echo '$(COMPILE) -c $<'; \
	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
	@-cp .deps/$(*F).pp .deps/$(*F).P; \
	tr ' ' '\012' < .deps/$(*F).pp \
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
	    >> .deps/$(*F).P; \
	rm .deps/$(*F).pp

%.lo: %.c
	@echo '$(LTCOMPILE) -c $<'; \
	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
	  < .deps/$(*F).pp > .deps/$(*F).P; \
	tr ' ' '\012' < .deps/$(*F).pp \
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
	    >> .deps/$(*F).P; \
	rm -f .deps/$(*F).pp

%.o: %.C
	@echo '$(CXXCOMPILE) -c $<'; \
	$(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
	@-cp .deps/$(*F).pp .deps/$(*F).P; \
	tr ' ' '\012' < .deps/$(*F).pp \
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
	    >> .deps/$(*F).P; \
	rm .deps/$(*F).pp

%.lo: %.C
	@echo '$(LTCXXCOMPILE) -c $<'; \
	$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
	  < .deps/$(*F).pp > .deps/$(*F).P; \
	tr ' ' '\012' < .deps/$(*F).pp \
	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
	    >> .deps/$(*F).P; \
	rm -f .deps/$(*F).pp
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am

install-data-am: install-sfslibLTLIBRARIES install-sfsincludeHEADERS
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-sfslibLTLIBRARIES uninstall-sfsincludeHEADERS
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(sfslibdir) $(DESTDIR)$(sfsincludedir)


mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
mostlyclean-am:  mostlyclean-sfslibLTLIBRARIES mostlyclean-compile \
		mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
		mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-sfslibLTLIBRARIES clean-compile clean-libtool \
		clean-tags clean-depend clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-sfslibLTLIBRARIES distclean-compile \
		distclean-libtool distclean-tags distclean-depend \
		distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-sfslibLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-tags maintainer-clean-depend \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-sfslibLTLIBRARIES distclean-sfslibLTLIBRARIES \
clean-sfslibLTLIBRARIES maintainer-clean-sfslibLTLIBRARIES \
uninstall-sfslibLTLIBRARIES install-sfslibLTLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool uninstall-sfsincludeHEADERS \
install-sfsincludeHEADERS tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
distclean-depend clean-depend maintainer-clean-depend info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


pmap_prot.h: $(srcdir)/pmap_prot.x
	@rm -f $@
	-$(RPCC) -h $(srcdir)/pmap_prot.x || rm -f $@

pmap_prot.C: $(srcdir)/pmap_prot.x
	@rm -f $@ $@~
	(echo '#define proc XXX_egcs_bug_proc'; \
		echo '#include "sysconf.h"'; \
		echo '#undef proc') > $@~
	-$(RPCC) -c $(srcdir)/pmap_prot.x -o- >> $@~ \
		&& mv -f $@~ $@

dist-hook:
	cd $(distdir) && rm -f pmap_prot.h pmap_prot.C

acallrpc.o pmap_prot.o: pmap_prot.h
acallrpc.lo pmap_prot.lo: pmap_prot.h
#stamp-arpc-repo: $(arpc_repo_OBJECTS)
#	-$(CXXLINK) $(arpc_repo_OBJECTS)
#	@rm -f a.out
#	touch $@

.PHONY: rpcclean
rpcclean:
	rm -f pmap_prot.h pmap_prot.C

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
