Win32: Add win32_compat.h include

libnfs-4.0.0-vitalif
Jean-Baptiste Kempf 2016-01-08 22:41:17 +01:00
parent 6adcfdcd56
commit 3ca22dcfdd
10 changed files with 19 additions and 8 deletions

View File

@ -3,6 +3,7 @@ noinst_PROGRAMS = nfsclient-async nfsclient-raw nfsclient-sync nfsclient-bcast n
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(abs_top_srcdir)/include \ -I$(abs_top_srcdir)/include \
-I$(abs_top_srcdir)/include/nfsc \ -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/include/win32 \
-I$(abs_top_srcdir)/mount \ -I$(abs_top_srcdir)/mount \
-I$(abs_top_srcdir)/nfs \ -I$(abs_top_srcdir)/nfs \
-I$(abs_top_srcdir)/portmap \ -I$(abs_top_srcdir)/portmap \

View File

@ -8,7 +8,8 @@ dist_nfsc_HEADERS = \
../nfs/libnfs-raw-nfs.h \ ../nfs/libnfs-raw-nfs.h \
../nlm/libnfs-raw-nlm.h \ ../nlm/libnfs-raw-nlm.h \
../nsm/libnfs-raw-nsm.h \ ../nsm/libnfs-raw-nsm.h \
../rquota/libnfs-raw-rquota.h ../rquota/libnfs-raw-rquota.h \
../win32/win32_compat.h
dist_noinst_HEADERS = \ dist_noinst_HEADERS = \
libnfs-private.h \ libnfs-private.h \

View File

@ -10,6 +10,7 @@ libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
-I$(abs_top_srcdir)/nsm \ -I$(abs_top_srcdir)/nsm \
-I$(abs_top_srcdir)/portmap \ -I$(abs_top_srcdir)/portmap \
-I$(abs_top_srcdir)/rquota \ -I$(abs_top_srcdir)/rquota \
-I$(abs_top_srcdir)/win32 \
"-D_U_=__attribute__((unused))" "-D_U_=__attribute__((unused))"
libnfs_la_SOURCES = \ libnfs_la_SOURCES = \
@ -18,7 +19,8 @@ libnfs_la_SOURCES = \
libnfs-sync.c \ libnfs-sync.c \
libnfs-zdr.c \ libnfs-zdr.c \
pdu.c \ pdu.c \
socket.c socket.c \
../win32/win32_compat.c
SOCURRENT=9 SOCURRENT=9
SOREVISION=0 SOREVISION=0

View File

@ -7,7 +7,8 @@ mount_GENERATED = $(mount_SOURCES_GENERATED) $(mount_HEADERS_GENERATED)
CLEANFILES = $(mount_GENERATED) mount-stamp 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 -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/win32
libmount_la_SOURCES = \ libmount_la_SOURCES = \
$(mount_SOURCES_GENERATED) \ $(mount_SOURCES_GENERATED) \
mount.c libnfs-raw-mount.c libnfs-raw-mount.h mount.c libnfs-raw-mount.c libnfs-raw-mount.h

View File

@ -7,7 +7,8 @@ nfs_GENERATED = $(nfs_SOURCES_GENERATED) $(nfs_HEADERS_GENERATED)
CLEANFILES = $(nfs_GENERATED) nfs-stamp 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 -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/win32
libnfs_la_SOURCES = \ libnfs_la_SOURCES = \
$(nfs_SOURCES_GENERATED) \ $(nfs_SOURCES_GENERATED) \
nfs.c nfsacl.c libnfs-raw-nfs.c libnfs-raw-nfs.h nfs.c nfsacl.c libnfs-raw-nfs.c libnfs-raw-nfs.h

View File

@ -7,7 +7,8 @@ nlm_GENERATED = $(nlm_SOURCES_GENERATED) $(nlm_HEADERS_GENERATED)
CLEANFILES = $(nlm_GENERATED) nlm-stamp 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 -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/win32
libnlm_la_SOURCES = \ libnlm_la_SOURCES = \
$(nlm_SOURCES_GENERATED) \ $(nlm_SOURCES_GENERATED) \
nlm.c libnfs-raw-nlm.c libnfs-raw-nlm.h nlm.c libnfs-raw-nlm.c libnfs-raw-nlm.h

View File

@ -7,7 +7,8 @@ nsm_GENERATED = $(nsm_SOURCES_GENERATED) $(nsm_HEADERS_GENERATED)
CLEANFILES = $(nsm_GENERATED) nsm-stamp CLEANFILES = $(nsm_GENERATED) nsm-stamp
libnsm_la_CPPFLAGS = -I$(abs_top_srcdir)/include \ libnsm_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
-I$(abs_top_srcdir)/include/nfsc -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/win32
libnsm_la_SOURCES = \ libnsm_la_SOURCES = \
$(nsm_SOURCES_GENERATED) \ $(nsm_SOURCES_GENERATED) \
nsm.c libnfs-raw-nsm.c libnfs-raw-nsm.h nsm.c libnfs-raw-nsm.c libnfs-raw-nsm.h

View File

@ -7,7 +7,8 @@ portmap_GENERATED = $(portmap_SOURCES_GENERATED) $(portmap_HEADERS_GENERATED)
CLEANFILES = $(portmap_GENERATED) portmap-stamp 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 -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/win32
libportmap_la_SOURCES = \ libportmap_la_SOURCES = \
$(portmap_SOURCES_GENERATED) \ $(portmap_SOURCES_GENERATED) \
portmap.c libnfs-raw-portmap.c libnfs-raw-portmap.h portmap.c libnfs-raw-portmap.c libnfs-raw-portmap.h

View File

@ -7,7 +7,8 @@ rquota_GENERATED = $(rquota_SOURCES_GENERATED) $(rquota_HEADERS_GENERATED)
CLEANFILES = $(rquota_GENERATED) rquota-stamp 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 -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/win32
librquota_la_SOURCES = \ librquota_la_SOURCES = \
$(rquota_SOURCES_GENERATED) \ $(rquota_SOURCES_GENERATED) \
rquota.c libnfs-raw-rquota.c libnfs-raw-rquota.h rquota.c libnfs-raw-rquota.c libnfs-raw-rquota.h

View File

@ -4,6 +4,7 @@ AM_CPPFLAGS = \
-I$(abs_top_srcdir)/include \ -I$(abs_top_srcdir)/include \
-I$(abs_top_srcdir)/include/nfsc \ -I$(abs_top_srcdir)/include/nfsc \
-I$(abs_top_srcdir)/mount \ -I$(abs_top_srcdir)/mount \
-I$(abs_top_srcdir)/win32 \
"-D_U_=__attribute__((unused))" "-D_U_=__attribute__((unused))"
AM_LDFLAGS = ../lib/.libs/libnfs.la AM_LDFLAGS = ../lib/.libs/libnfs.la