xref: /netbsd-src/external/bsd/am-utils/dist/wire-test/Makefile.am (revision 8bae5d409deb915cf7c8f0539fae22ff2cb8a313)
1## Process this file with automake to produce Makefile.in
2
3# Package: am-utils
4# Level: Makefile for wire-test/ directory
5# Author: Erez Zadok
6
7sbin_PROGRAMS = wire-test
8
9# man pages
10man_MANS = wire-test.8
11
12# headers this depends on, not to be installed
13#noinst_HEADERS =
14
15wire_test_SOURCES = wire-test.c
16
17LDADD = ../libamu/libamu.la
18
19AM_CPPFLAGS = -I$(top_srcdir)/include
20
21# allow users to add their own flags via "configure --enable-am-flags=ARG"
22AMU_CFLAGS = @AMU_CFLAGS@
23AM_CFLAGS = $(AMU_CFLAGS)
24
25# additional files to distribute and clean
26EXTRA_DIST = $(man_MANS)
27
28# dependencies
29$(PROGRAMS): $(LDADD)
30$(wire_test_OBJECTS):				\
31	../config.h				\
32	../aux_conf.h				\
33	$(top_srcdir)/include/am_compat.h	\
34	$(top_srcdir)/include/am_defs.h		\
35	$(top_srcdir)/include/am_utils.h	\
36	$(top_srcdir)/include/am_xdr_func.h	\
37	$(top_srcdir)/include/amq_defs.h	\
38	@AMU_NFS_PROT_HEADER@			\
39	$(noinst_HEADERS)
40