aboutsummaryrefslogtreecommitdiffstats
path: root/amq/Makefile.am
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2016-08-31 00:08:49 +0000
committerCy Schubert <cy@FreeBSD.org>2016-08-31 00:08:49 +0000
commitca57057f598bfc7119f79f71bf38ec88244ab396 (patch)
tree051f78ef258707b493cc7cb21569b6949915f6c7 /amq/Makefile.am
parente66b16bf080ead1c51f321eaf56710c771778706 (diff)
downloadsrc-vendor/amd.tar.gz
src-vendor/amd.zip
Import am-utils 6.2,vendor/amd/6.2vendor/amd
Suggested by: pfg@ Obtained from: ftp://ftp.am-utils.org/pub/am-utils/
Notes
Notes: svn path=/vendor/amd/dist/; revision=305100 svn path=/vendor/amd/6.2/; revision=305101; tag=vendor/amd/6.2
Diffstat (limited to 'amq/Makefile.am')
-rw-r--r--amq/Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/amq/Makefile.am b/amq/Makefile.am
new file mode 100644
index 000000000000..ec54eb5ae0fd
--- /dev/null
+++ b/amq/Makefile.am
@@ -0,0 +1,41 @@
+## Process this file with automake to produce Makefile.in
+
+# Package: am-utils
+# Level: Makefile for amq/ directory
+# Author: Erez Zadok
+
+sbin_PROGRAMS = amq
+bin_PROGRAMS = pawd
+
+# man pages
+man_MANS = amq.8 pawd.1
+
+# headers this depends on, not to be installed
+noinst_HEADERS = amq.h
+
+amq_SOURCES = amq.c amq_clnt.c amq_xdr.c
+pawd_SOURCES = amq_clnt.c amq_xdr.c pawd.c
+
+LDADD = ../libamu/libamu.la
+
+AM_CPPFLAGS = -I$(top_srcdir)/include
+
+# allow users to add their own flags via "configure --enable-am-flags=ARG"
+AMU_CFLAGS = @AMU_CFLAGS@
+AM_CFLAGS = $(AMU_CFLAGS)
+
+# additional files to distribute and clean
+EXTRA_DIST = $(man_MANS)
+
+# dependencies
+$(PROGRAMS): $(LDADD)
+$(amq_OBJECTS) $(pawd_OBJECTS): \
+ ../config.h \
+ ../aux_conf.h \
+ $(top_srcdir)/include/am_compat.h \
+ $(top_srcdir)/include/am_defs.h \
+ $(top_srcdir)/include/am_utils.h \
+ $(top_srcdir)/include/am_xdr_func.h \
+ $(top_srcdir)/include/amq_defs.h \
+ @AMU_NFS_PROT_HEADER@ \
+ $(noinst_HEADERS)