Reinstate this patch, now I've fixed a double-free bug. Thanks to Rolf for
[mono.git] / mono / io-layer / Makefile.am
1 noinst_LTLIBRARIES = libwapi.la
2
3 INCLUDES = \
4         $(GLIB_CFLAGS)          \
5         $(LIBGC_CFLAGS)         \
6         -DMONO_BINDIR=\""$(bindir)"\"   \
7         -I$(top_srcdir) 
8
9 libwapiincludedir = $(includedir)/mono-$(API_VER)/mono/io-layer
10
11 OTHER_H = \
12         access.h        \
13         atomic.h        \
14         collection.h    \
15         context.h       \
16         critical-sections.h     \
17         error.h         \
18         events.h        \
19         handles.h       \
20         io.h            \
21         io-layer.h      \
22         io-portability.h        \
23         macros.h        \
24         mono-mutex.h    \
25         mutexes.h       \
26         processes.h     \
27         security.h      \
28         semaphores.h    \
29         sockets.h       \
30         status.h        \
31         system.h        \
32         threads.h       \
33         timefuncs.h     \
34         types.h         \
35         uglify.h        \
36         versioninfo.h   \
37         wait.h          \
38         wapi.h  
39
40 OTHER_SRC = \
41         access.h                \
42         atomic.c                \
43         atomic.h                \
44         collection.c            \
45         collection.h            \
46         context.c               \
47         context.h               \
48         critical-sections.c     \
49         critical-sections.h     \
50         error.c                 \
51         error.h                 \
52         events.c                \
53         events.h                \
54         event-private.h         \
55         handles.c               \
56         handles.h               \
57         handles-private.h       \
58         io.c                    \
59         io.h                    \
60         io-portability.c        \
61         io-portability.h        \
62         io-private.h            \
63         io-layer.h              \
64         macros.h                \
65         misc.c                  \
66         misc-private.h          \
67         mutexes.c               \
68         mutexes.h               \
69         mutex-private.h         \
70         mono-mutex.c            \
71         mono-mutex.h            \
72         mono-spinlock.h         \
73         processes.c             \
74         processes.h             \
75         process-private.h       \
76         security.c              \
77         security.h              \
78         semaphores.c            \
79         semaphores.h            \
80         semaphore-private.h     \
81         shared.c                \
82         shared.h                \
83         sockets.c               \
84         sockets.h               \
85         socket-private.h        \
86         socket-wrappers.h       \
87         status.h                \
88         system.c                \
89         system.h                \
90         threads.c               \
91         threads.h               \
92         thread-private.h        \
93         timefuncs.c             \
94         timefuncs.h             \
95         timefuncs-private.h     \
96         types.h                 \
97         uglify.h                \
98         versioninfo.h           \
99         wait.c                  \
100         wait.h                  \
101         wapi_glob.h             \
102         wapi_glob.c             \
103         wapi.h                  \
104         wapi-private.h
105
106 WINDOWS_H = \
107         io-layer.h
108
109 WINDOWS_SRC = \
110         io-layer.h              \
111         io-layer-dummy.c
112
113 HPPA_SRC = \
114         hppa_atomic.s
115
116 if PLATFORM_WIN32
117 libwapi_la_SOURCES = $(WINDOWS_SRC)
118 libwapiinclude_HEADERS = $(WINDOWS_H)
119 else
120 if HPPA
121 libwapi_la_SOURCES = $(OTHER_SRC) $(HPPA_SRC)
122 # to enable pick up of config.h
123 libwapi_la_CCASFLAGS = -I$(top_builddir)
124 else
125 libwapi_la_SOURCES = $(OTHER_SRC)
126 endif
127 libwapiinclude_HEADERS = $(OTHER_H)
128 endif
129
130 EXTRA_DIST =    \
131         $(WINDOWS_SRC)  \
132         $(HPPA_SRC) \
133         $(OTHER_SRC)
134
135