2005-09-26 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mono / io-layer / Makefile.am
1 noinst_LTLIBRARIES = libwapi.la
2
3 INCLUDES = \
4         $(GLIB_CFLAGS)          \
5         $(GMODULE_CFLAGS)       \
6         $(LIBGC_CFLAGS)         \
7         -DMONO_BINDIR=\""$(bindir)"\"   \
8         -I$(top_srcdir) 
9
10 libwapiincludedir = $(includedir)/mono/io-layer
11
12 OTHER_H = \
13         access.h        \
14         atomic.h        \
15         collection.h    \
16         context.h       \
17         critical-sections.h     \
18         error.h         \
19         events.h        \
20         handles.h       \
21         io.h            \
22         io-layer.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-private.h            \
61         io-layer.h              \
62         macros.h                \
63         misc.c                  \
64         misc-private.h          \
65         mutexes.c               \
66         mutexes.h               \
67         mutex-private.h         \
68         mono-mutex.c            \
69         mono-mutex.h            \
70         mono-spinlock.h         \
71         processes.c             \
72         processes.h             \
73         process-private.h       \
74         security.c              \
75         security.h              \
76         semaphores.c            \
77         semaphores.h            \
78         semaphore-private.h     \
79         shared.c                \
80         shared.h                \
81         sockets.c               \
82         sockets.h               \
83         socket-private.h        \
84         socket-wrappers.h       \
85         status.h                \
86         system.c                \
87         system.h                \
88         threads.c               \
89         threads.h               \
90         thread-private.h        \
91         timefuncs.c             \
92         timefuncs.h             \
93         timefuncs-private.h     \
94         timed-thread.c          \
95         timed-thread.h          \
96         types.h                 \
97         uglify.h                \
98         versioninfo.h           \
99         wait.c                  \
100         wait.h                  \
101         wapi.h                  \
102         wapi-private.h
103
104 WINDOWS_H = \
105         io-layer.h
106
107 WINDOWS_SRC = \
108         io-layer.h              \
109         io-layer-dummy.c
110
111 HPPA_SRC = \
112         hppa_atomic.s
113
114 if PLATFORM_WIN32
115 libwapi_la_SOURCES = $(WINDOWS_SRC)
116 libwapiinclude_HEADERS = $(WINDOWS_H)
117 else
118 if HPPA
119 libwapi_la_SOURCES = $(OTHER_SRC) $(HPPA_SRC)
120 # to enable pick up of config.h
121 libwapi_la_CCASFLAGS = -I$(top_builddir)
122 else
123 libwapi_la_SOURCES = $(OTHER_SRC)
124 endif
125 libwapiinclude_HEADERS = $(OTHER_H)
126 endif
127
128 EXTRA_DIST =    \
129         $(WINDOWS_SRC)  \
130         $(HPPA_SRC) \
131         $(OTHER_SRC)
132
133