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