PORTMAPPER: Add set/unset functions
[deb_libnfs.git] / mount / Makefile.am
CommitLineData
6c437065
TN
1noinst_LTLIBRARIES = libmount.la
2
3mount_SOURCES_GENERATED = libnfs-raw-mount.c
4mount_HEADERS_GENERATED = libnfs-raw-mount.h
5mount_GENERATED = $(mount_SOURCES_GENERATED) $(mount_HEADERS_GENERATED)
6
7CLEANFILES = $(mount_GENERATED) mount-stamp
8
9libmount_la_CPPFLAGS = -I$(abs_top_srcdir)/include
10libmount_la_SOURCES = \
11 $(mount_SOURCES_GENERATED) \
12 mount.c
13
14$(mount_GENERATED) : mount-stamp
15mount-stamp : mount.x
16 rm -f $(mount_GENERATED)
752d8ed2
TN
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
6c437065
TN
19 touch mount-stamp
20