2008-10-24 Mark Probst <mark.probst@gmail.com>
[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         messages.h      \
25         mono-mutex.h    \
26         mutexes.h       \
27         processes.h     \
28         security.h      \
29         semaphores.h    \
30         sockets.h       \
31         status.h        \
32         system.h        \
33         threads.h       \
34         timefuncs.h     \
35         types.h         \
36         uglify.h        \
37         versioninfo.h   \
38         wait.h          \
39         wapi.h  
40
41 OTHER_SRC = \
42         access.h                \
43         atomic.c                \
44         atomic.h                \
45         collection.c            \
46         collection.h            \
47         context.c               \
48         context.h               \
49         critical-sections.c     \
50         critical-sections.h     \
51         critical-section-private.h      \
52         error.c                 \
53         error.h                 \
54         events.c                \
55         events.h                \
56         event-private.h         \
57         handles.c               \
58         handles.h               \
59         handles-private.h       \
60         io.c                    \
61         io.h                    \
62         io-portability.c        \
63         io-portability.h        \
64         io-private.h            \
65         io-layer.h              \
66         macros.h                \
67         messages.c              \
68         messages.h              \
69         misc.c                  \
70         misc-private.h          \
71         mutexes.c               \
72         mutexes.h               \
73         mutex-private.h         \
74         mono-mutex.c            \
75         mono-mutex.h            \
76         mono-spinlock.h         \
77         processes.c             \
78         processes.h             \
79         process-private.h       \
80         security.c              \
81         security.h              \
82         semaphores.c            \
83         semaphores.h            \
84         semaphore-private.h     \
85         shared.c                \
86         shared.h                \
87         sockets.c               \
88         sockets.h               \
89         socket-private.h        \
90         socket-wrappers.h       \
91         status.h                \
92         system.c                \
93         system.h                \
94         threads.c               \
95         threads.h               \
96         thread-private.h        \
97         timefuncs.c             \
98         timefuncs.h             \
99         timefuncs-private.h     \
100         types.h                 \
101         uglify.h                \
102         versioninfo.c           \
103         versioninfo.h           \
104         wait.c                  \
105         wait.h                  \
106         wapi_glob.h             \
107         wapi_glob.c             \
108         wapi.h                  \
109         wapi-private.h
110
111 WINDOWS_H = \
112         io-layer.h
113
114 WINDOWS_SRC = \
115         io-layer.h              \
116         io-layer-dummy.c
117
118 HPPA_SRC = \
119         hppa_atomic.S
120
121 if PLATFORM_WIN32
122 libwapi_la_SOURCES = $(WINDOWS_SRC)
123 libwapiinclude_HEADERS = $(WINDOWS_H)
124 else
125 if HPPA
126 libwapi_la_SOURCES = $(OTHER_SRC) $(HPPA_SRC)
127 # to enable pick up of config.h
128 libwapi_la_CCASFLAGS = -I$(top_builddir)
129 else
130 libwapi_la_SOURCES = $(OTHER_SRC)
131 endif
132 libwapiinclude_HEADERS = $(OTHER_H)
133 endif
134
135 EXTRA_DIST =    \
136         $(WINDOWS_SRC)  \
137         $(HPPA_SRC) \
138         $(OTHER_SRC)
139
140