1 noinst_LTLIBRARIES = libnfs.la
3 nfs_SOURCES_GENERATED = libnfs-raw-nfs.c
4 nfs_HEADERS_GENERATED = libnfs-raw-nfs.h
5 nfs_GENERATED = $(nfs_SOURCES_GENERATED) $(nfs_HEADERS_GENERATED)
7 CLEANFILES = $(nfs_GENERATED) nfs-stamp
9 libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include
11 $(nfs_SOURCES_GENERATED) \
14 $(nfs_GENERATED) : nfs-stamp
16 rm -f $(nfs_GENERATED)
17 rpcgen -h @RPCGENFLAGS@ $< > libnfs-raw-nfs.h
18 rpcgen -c @RPCGENFLAGS@ $< | sed -e "s/#include \".*nfs.h\"/#include \"libnfs-raw-nfs.h\"/" > libnfs-raw-nfs.c