1 ## Process this file with automake to produce Makefile.in
3 RPCGEN = $(top_builddir)/tools/rpcgen/rpcgen
5 GENFILES_CLNT = mount_clnt.c
6 GENFILES_XDR = mount_xdr.c
9 GENFILES = $(GENFILES_CLNT) $(GENFILES_SVC) $(GENFILES_XDR) $(GENFILES_H)
16 noinst_LIBRARIES = libexport.a
17 libexport_a_SOURCES = client.c export.c hostname.c nfsctl.c rmtab.c \
18 xtab.c mount_clnt.c mount_xdr.c
19 BUILT_SOURCES = $(GENFILES)
21 noinst_HEADERS = mount.h
24 for f in $(GENFILES); do \
29 make -C $(top_srcdir)/tools/rpcgen all
31 $(GENFILES_CLNT): %_clnt.c: %.x $(RPCGEN)
32 test -f $@ && rm -rf $@ || true
35 $(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN)
36 test -f $@ && rm -rf $@ || true
39 $(GENFILES_H): %.h: %.x $(RPCGEN)
40 test -f $@ && rm -rf $@ || true
42 $(LN_S) ../export/mount.h $(top_builddir)/support/include/mount.h
44 MAINTAINERCLEANFILES = Makefile.in
46 CLEANFILES = $(GENFILES) $(top_builddir)/support/include/mount.h