4 SUPPORT=libMonoSupportW.la
7 libMonoPosixHelper.la \
14 # Source code which helps implement the ANSI C standards, and thus *should* be
15 # portable to any platform having a C compiler.
26 # Source code which helps implement POSIX and other related Unix standards,
27 # and *may* be portable between Unix platforms.
52 MPH_SOURCE = $(MPH_C_SOURCE)
55 MPH_SOURCE = $(MPH_C_SOURCE) $(MPH_UNIX_SOURCE)
56 MPH_LIBS = $(GLIB_LIBS)
60 Z_SOURCE = zlib_macros.c
67 libMonoPosixHelper_la_SOURCES = \
71 libMonoPosixHelper_la_LIBADD = \
76 # libMonoPosixHelper_la_LDFLAGS = -no-undefined -version-info 1:0:1
77 libMonoPosixHelper_la_LDFLAGS = -no-undefined -avoid-version
78 libMonoSupportW_la_LDFLAGS = -no-undefined -avoid-version
80 libMonoSupportW_la_SOURCES = \
85 libMonoSupportW_la_LIBADD = \
89 # Use this target to refresh the values in map.[ch]
92 cp `pkg-config --variable=Programs create-native-map` . && \
93 $(top_builddir)/runtime/mono-wrapper create-native-map.exe \
94 --autoconf-member=d_off \
95 --autoconf-member=d_reclen \
96 --autoconf-member=d_type \
97 --exclude-native-symbol=Mono_Posix_Stdlib_snprintf \
98 --impl-macro=_GNU_SOURCE --impl-macro=_XOPEN_SOURCE \
99 --impl-header="<sys/types.h>" \
100 --impl-header="<sys/stat.h>" \
101 --impl-header="<sys/time.h>" \
102 --autoconf-header="<sys/poll.h>" \
103 --autoconf-header="<sys/wait.h>" \
104 --autoconf-header="<sys/statvfs.h>" \
105 --autoconf-header="<sys/xattr.h>" \
106 --autoconf-header="<sys/mman.h>" \
107 --impl-header="<unistd.h>" \
108 --impl-header="<fcntl.h>" \
109 --impl-header="<signal.h>" \
110 --autoconf-header="<poll.h>" \
111 --autoconf-header="<grp.h>" \
112 --impl-header="<errno.h>" \
113 --autoconf-header="<syslog.h>" \
114 --impl-header="<dirent.h>" \
115 --impl-header="<utime.h>" \
116 --impl-header="\"mph.h\"" \
117 --rename-member=st_atime=st_atime_ \
118 --rename-member=st_ctime=st_ctime_ \
119 --rename-member=st_mtime=st_mtime_ \
120 --rename-namespace=Mono.Unix.Native=Mono.Posix \
121 --library=MonoPosixHelper \
122 $(mcs_topdir)/class/lib/net_2_0/Mono.Posix.dll map