1 ## Process this file with automake to produce Makefile.in
4 GENFILES_CLNT = mount_clnt.c
5 GENFILES_XDR = mount_xdr.c
8 GENFILES = $(GENFILES_CLNT) $(GENFILES_SVC) $(GENFILES_XDR) $(GENFILES_H)
12 noinst_LIBRARIES = libexport.a
13 libexport_a_SOURCES = client.c export.c hostname.c nfsctl.c rmtab.c \
14 xtab.c mount_clnt.c mount_xdr.c
15 BUILT_SOURCES = $(GENFILES)
17 noinst_HEADERS = mount.h
20 for f in $(GENFILES); do \
25 RPCGEN = $(top_builddir)/tools/rpcgen/rpcgen
27 make -C $(top_srcdir)/tools/rpcgen all
29 RPCGEN = @RPCGEN_PATH@
32 $(GENFILES_CLNT): %_clnt.c: %.x $(RPCGEN)
33 test -f $@ && rm -rf $@ || true
36 $(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN)
37 test -f $@ && rm -rf $@ || true
40 $(GENFILES_H): %.h: %.x $(RPCGEN)
41 test -f $@ && rm -rf $@ || true
43 rm -f $(top_builddir)/support/include/mount.h
44 $(LN_S) ../export/mount.h $(top_builddir)/support/include/mount.h
46 MAINTAINERCLEANFILES = Makefile.in
48 CLEANFILES = $(GENFILES) $(top_builddir)/support/include/mount.h