[WIN32] added nfsclient-sync to the solution. still manually linked with libnfs becau...
[deb_libnfs.git] / portmap / Makefile.am
... / ...
CommitLineData
1noinst_LTLIBRARIES = libportmap.la
2
3portmap_SOURCES_GENERATED = libnfs-raw-portmap.c
4portmap_HEADERS_GENERATED = libnfs-raw-portmap.h
5portmap_GENERATED = $(portmap_SOURCES_GENERATED) $(portmap_HEADERS_GENERATED)
6
7CLEANFILES = $(portmap_GENERATED) portmap-stamp
8
9libportmap_la_CPPFLAGS = -I$(abs_top_srcdir)/include
10libportmap_la_SOURCES = \
11 $(portmap_SOURCES_GENERATED) \
12 portmap.c
13
14$(portmap_GENERATED) : portmap-stamp
15portmap-stamp : portmap.x
16 rm -f $(portmap_GENERATED)
17 rpcgen -h @RPCGENFLAGS@ $< > libnfs-raw-portmap.h
18 rpcgen -c @RPCGENFLAGS@ $< | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-raw-portmap.h\"/" > libnfs-raw-portmap.c
19 touch portmap-stamp
20