The "dist" target gives us a libtirpc.tar.gz tarball for
distribution.
The "distcheck" target is a useful test of libtirpc's Makefile
infrastructure.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
SUBDIRS = src man doc
ACLOCAL_AMFLAGS = -I m4
+noinst_HEADERS = tirpc/reentrant.h \
+ tirpc/getpeereid.h \
+ tirpc/libc_private.h \
+ tirpc/un-namespace.h
+
nobase_include_HEADERS = tirpc/netconfig.h \
tirpc/rpcsvc/crypt.x \
tirpc/rpcsvc/crypt.h \
+EXTRA_DIST = etc_netconfig
install: install-am
$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)
cp -p $(srcdir)/etc_netconfig $(DESTDIR)/$(sysconfdir)/netconfig
chmod 0644 $(DESTDIR)/$(sysconfdir)/netconfig
+
+uninstall: uninstall-am
+ $(RM) $(DESTDIR)/$(sysconfdir)/netconfig
## program built. We also don't bother trying to assemble code, or
## anything like that.
+noinst_HEADERS = rpc_com.h
AM_CPPFLAGS = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 \
-D_GNU_SOURCE -Wall -pipe