1## Process this file with automake to produce Makefile.in
2
3# Package: am-utils
4# Level: Makefile for fixmount/ directory
5# Author: Erez Zadok
6
7sbin_PROGRAMS = fixmount
8
9# man pages
10man_MANS = fixmount.8
11
12# headers this depends on, not to be installed
13#noinst_HEADERS =
14
15fixmount_SOURCES = fixmount.c
16EXTRA_fixmount_OBJECTS = check_mount.o
17LDADD = $(EXTRA_fixmount_OBJECTS) ../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)
27DISTCLEANFILES = check_mount.c
28
29# dependencies
30$(PROGRAMS): $(LDADD)
31$(fixmount_OBJECTS) $(EXTRA_fixmount_OBJECTS):	\
32	../config.h				\
33	../aux_conf.h				\
34	$(top_srcdir)/include/am_compat.h	\
35	$(top_srcdir)/include/am_defs.h		\
36	$(top_srcdir)/include/am_utils.h	\
37	$(top_srcdir)/include/am_xdr_func.h	\
38	$(top_srcdir)/include/amq_defs.h	\
39	@AMU_NFS_PROT_HEADER@			\
40	$(noinst_HEADERS)
41