diff options
Diffstat (limited to 'support/Makefile.am')
-rw-r--r-- | support/Makefile.am | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/support/Makefile.am b/support/Makefile.am new file mode 100644 index 00000000000..0b6cc241ac2 --- /dev/null +++ b/support/Makefile.am @@ -0,0 +1,50 @@ +if PLATFORM_WIN32 +lib_LTLIBRARIES= +else +lib_LTLIBRARIES= libMonoPosixHelper.la +endif + +INCLUDES = \ + $(GLIB_CFLAGS) \ + -I$(top_srcdir) + +MPH_H = mph.h + +MPH_SOURCE = \ + dirent.c \ + errno.c \ + fcntl.c \ + grp.c \ + map.c \ + pwd.c \ + old-map.c \ + stdio.c \ + stdlib.c \ + sys-mman.c \ + sys-mount.c \ + sys-sendfile.c \ + sys-stat.c \ + sys-wait.c \ + time.c \ + unistd.c + +if HAVE_ZLIB +libMonoPosixHelper_la_SOURCES = \ + $(MPH_SOURCE) zlib_macros.c + +libMonoPosixHelper_la_LIBADD = -lz +else +libMonoPosixHelper_la_SOURCES = $(MPH_SOURCE) +endif + +libMonoPosixHelper_la_LDFLAGS = -no-undefined -version-info 1:0:1 + +EXTRA_DIST = \ + $(MPH_H) + +# +# Use this target to refresh the values in map.[ch] +# +refresh: + mono ../../mcs/class/Mono.Posix/Mono.Posix/make-map.exe ../../mcs/class/lib/Mono.Posix.dll map + |