AM_CPPFLAGS = \
-I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc \
-I../mount \
-I../nfs \
-I../rquota \
nfscdir = $(includedir)/nfsc
dist_nfsc_HEADERS = \
- libnfs.h \
- libnfs-raw.h \
- libnfs-zdr.h \
+ nfsc/libnfs.h \
+ nfsc/libnfs-raw.h \
+ nfsc/libnfs-zdr.h \
${abs_top_srcdir}/mount/libnfs-raw-mount.h \
${abs_top_srcdir}/portmap/libnfs-raw-portmap.h \
${abs_top_srcdir}/nfs/libnfs-raw-nfs.h \
+ ${abs_top_srcdir}/nlm/libnfs-raw-nlm.h \
${abs_top_srcdir}/rquota/libnfs-raw-rquota.h
#define _LIBNFS_RAW_H_
#include <stdint.h>
+#include <nfsc/libnfs-zdr.h>
struct rpc_data {
int size;
lib_LTLIBRARIES = libnfs.la
libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc \
-I../mount \
-I../nfs \
-I../nlm \
CLEANFILES = $(mount_GENERATED) mount-stamp
-libmount_la_CPPFLAGS = -I$(abs_top_srcdir)/include
+libmount_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc
libmount_la_SOURCES = \
$(mount_SOURCES_GENERATED) \
mount.c libnfs-raw-mount.c
#ifndef _MOUNT_H_RPCGEN
#define _MOUNT_H_RPCGEN
-
-
+#include <nfsc/libnfs-zdr.h>
#ifdef __cplusplus
extern "C" {
CLEANFILES = $(nfs_GENERATED) nfs-stamp
-libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include
+libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc
libnfs_la_SOURCES = \
$(nfs_SOURCES_GENERATED) \
nfs.c nfsacl.c libnfs-raw-nfs.c
#ifndef _NFS_H_RPCGEN
#define _NFS_H_RPCGEN
-
-
+#include <nfsc/libnfs-zdr.h>
#ifdef __cplusplus
extern "C" {
CLEANFILES = $(nlm_GENERATED) nlm-stamp
-libnlm_la_CPPFLAGS = -I$(abs_top_srcdir)/include
+libnlm_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc
libnlm_la_SOURCES = \
$(nlm_SOURCES_GENERATED) \
nlm.c libnfs-raw-nlm.c
#ifndef _NLM_H_RPCGEN
#define _NLM_H_RPCGEN
-
-
+#include <nfsc/libnfs-zdr.h>
#ifdef __cplusplus
extern "C" {
CLEANFILES = $(portmap_GENERATED) portmap-stamp
-libportmap_la_CPPFLAGS = -I$(abs_top_srcdir)/include
+libportmap_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc
libportmap_la_SOURCES = \
$(portmap_SOURCES_GENERATED) \
portmap.c libnfs-raw-portmap.c
#ifndef _PORTMAP_H_RPCGEN
#define _PORTMAP_H_RPCGEN
-
-
+#include <nfsc/libnfs-zdr.h>
#ifdef __cplusplus
extern "C" {
CLEANFILES = $(rquota_GENERATED) rquota-stamp
-librquota_la_CPPFLAGS = -I$(abs_top_srcdir)/include
+librquota_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+ -I$(abs_top_srcdir)/include/nfsc
librquota_la_SOURCES = \
$(rquota_SOURCES_GENERATED) \
rquota.c libnfs-raw-rquota.c
#ifndef _RQUOTA_H_RPCGEN
#define _RQUOTA_H_RPCGEN
-
-
+#include <nfsc/libnfs-zdr.h>
#ifdef __cplusplus
extern "C" {