[io-layer] Extract file (#4255)
[mono.git] / mono / metadata / Makefile.am
index a48d586713f751a7f02520017476835819ec8c35..4a997d3fc4c072affba54f944099c505451deb6c 100644 (file)
@@ -2,8 +2,9 @@ if HOST_WIN32
 win32_sources = \
        console-win32.c \
        console-win32-internals.h \
-       file-io-windows.c \
-       file-io-windows-internals.h \
+       cominterop-win32-internals.h \
+       w32file-win32.c \
+       w32file-win32-internals.h \
        icall-windows.c \
        icall-windows-internals.h \
        marshal-windows.c \
@@ -15,7 +16,7 @@ win32_sources = \
        w32event-win32.c \
        w32process-win32.c \
        w32process-win32-internals.h \
-       socket-io-windows.c
+       w32socket-win32.c
 
 platform_sources = $(win32_sources)
 
@@ -47,7 +48,11 @@ unix_sources = \
        w32process-unix-osx.c \
        w32process-unix-bsd.c \
        w32process-unix-haiku.c \
-       w32process-unix-default.c
+       w32process-unix-default.c \
+       w32socket-unix.c \
+       w32file-unix.c \
+       w32file-unix-glob.c \
+       w32file-unix-glob.h
 
 platform_sources = $(unix_sources)
 endif
@@ -118,6 +123,7 @@ null_gc_sources = \
 
 common_sources = \
        $(platform_sources)     \
+       appdomain-icalls.h      \
        assembly.c              \
        assembly-internals.h    \
        attach.h                \
@@ -148,9 +154,9 @@ common_sources = \
        exception.c             \
        exception.h             \
        exception-internals.h   \
-       file-io.c               \
-       file-io.h               \
-       file-io-internals.h \
+       w32file.c               \
+       w32file.h               \
+       w32file-internals.h \
        filewatcher.c           \
        filewatcher.h           \
        gc-internals.h          \
@@ -201,8 +207,11 @@ common_sources = \
        number-ms.h             \
        object-internals.h      \
        opcodes.c               \
-       socket-io.c             \
-       socket-io.h             \
+       property-bag.h  \
+       property-bag.c  \
+       w32socket.c             \
+       w32socket.h             \
+       w32socket-internals.h           \
        w32process.c            \
        w32process.h            \
        w32process-internals.h          \
@@ -226,10 +235,12 @@ common_sources = \
        tabledefs.h             \
        threads.c               \
        threads-types.h         \
-       threadpool-ms.c \
-       threadpool-ms.h \
-       threadpool-ms-io.c      \
-       threadpool-ms-io.h      \
+       threadpool.c    \
+       threadpool.h    \
+       threadpool-worker-default.c     \
+       threadpool-worker.h     \
+       threadpool-io.c \
+       threadpool-io.h \
        verify.c                \
        verify-internals.h      \
        wrapper-types.h \
@@ -338,4 +349,4 @@ libmonoruntimeinclude_HEADERS = \
        verify.h                
 
 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
-               threadpool-ms-io-poll.c threadpool-ms-io-epoll.c threadpool-ms-io-kqueue.c sgen-dynarray.h
+               threadpool-io-poll.c threadpool-io-epoll.c threadpool-io-kqueue.c sgen-dynarray.h