aboutsummaryrefslogtreecommitdiffstats
path: root/amq/Makefile.am
blob: ec54eb5ae0fd2e5a48ed83e647bbaf3fa6873f0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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)