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