Merge pull request #3337 from akoeplinger/fix-alpine
[mono.git] / mono / io-layer / Makefile.am
1
2 noinst_LTLIBRARIES = libwapi.la
3
4 AM_CPPFLAGS = \
5         $(GLIB_CFLAGS)          \
6         $(LIBGC_CPPFLAGS)       \
7         -DMONO_BINDIR=\""$(bindir)"\"   \
8         -I$(top_srcdir) \
9         $(SHARED_CFLAGS)
10
11 libwapiincludedir = $(includedir)/mono-$(API_VER)/mono/io-layer
12
13 OTHER_H = \
14         access.h        \
15         context.h       \
16         error.h         \
17         events.h        \
18         io.h            \
19         io-trace.h      \
20         io-layer.h      \
21         io-portability.h        \
22         macros.h        \
23         messages.h      \
24         mutexes.h       \
25         processes.h     \
26         security.h      \
27         semaphores.h    \
28         sockets.h       \
29         status.h        \
30         timefuncs.h     \
31         types.h         \
32         uglify.h        \
33         versioninfo.h   \
34         wait.h          \
35         wapi.h          \
36         wapi-remap.h
37
38 OTHER_SRC = \
39         access.h                \
40         context.c               \
41         context.h               \
42         error.c                 \
43         error.h                 \
44         events.c                \
45         events.h                \
46         event-private.h         \
47         io.c                    \
48         io.h                    \
49         io-portability.c        \
50         io-portability.h        \
51         io-private.h            \
52         io-layer.h              \
53         locking.c               \
54         macros.h                \
55         messages.c              \
56         messages.h              \
57         mutexes.c               \
58         mutexes.h               \
59         mutex-private.h         \
60         posix.c                 \
61         processes.c             \
62         processes.h             \
63         process-private.h       \
64         security.c              \
65         security.h              \
66         semaphores.c            \
67         semaphores.h            \
68         semaphore-private.h     \
69         shared.c                \
70         shared.h                \
71         sockets.c               \
72         sockets.h               \
73         socket-private.h        \
74         socket-wrappers.h       \
75         status.h                \
76         timefuncs.c             \
77         timefuncs.h             \
78         timefuncs-private.h     \
79         types.h                 \
80         uglify.h                \
81         versioninfo.c           \
82         versioninfo.h           \
83         wait.c                  \
84         wait.h                  \
85         wapi_glob.h             \
86         wapi_glob.c             \
87         wapi.h                  \
88         wapi-private.h          \
89         wapi.c
90
91
92 WINDOWS_H = \
93         io-layer.h
94
95 WINDOWS_SRC = \
96         io-layer.h              \
97         io-layer-dummy.c
98
99 if HOST_WIN32
100 libwapi_la_SOURCES = $(WINDOWS_SRC) $(WINDOWS_H)
101 else
102 libwapi_la_SOURCES = $(OTHER_SRC) $(OTHER_H)
103 endif
104 if PLATFORM_DARWIN
105 libwapi_la_LIBADD = -lproc
106 endif
107
108 EXTRA_DIST =    \
109         $(WINDOWS_SRC)
110         $(OTHER_SRC)
111
112