1 noinst_LTLIBRARIES = libmount.la
3 mount_SOURCES_GENERATED = libnfs-raw-mount.c
4 mount_HEADERS_GENERATED = libnfs-raw-mount.h
5 mount_GENERATED = $(mount_SOURCES_GENERATED) $(mount_HEADERS_GENERATED)
7 CLEANFILES = $(mount_GENERATED) mount-stamp
9 libmount_la_CPPFLAGS = -I$(abs_top_srcdir)/include
10 libmount_la_SOURCES = \
11 $(mount_SOURCES_GENERATED) \
14 $(mount_GENERATED) : mount-stamp
16 rm -f $(mount_GENERATED)
17 rpcgen -h @RPCGENFLAGS@ $< > libnfs-raw-mount.h
18 rpcgen -c @RPCGENFLAGS@ $< | sed -e "s/#include \".*mount.h\"/#include \"libnfs-raw-mount.h\"/" > libnfs-raw-mount.c