2003-13-08 Bernie Solomon <bernard@ugsolutions.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         -D_WAPI_BUILDING=1      \
8         -DMONO_BINDIR=\""$(bindir)"\"   \
9         -I$(top_srcdir) 
10
11 libwapiincludedir = $(includedir)/mono/io-layer
12
13 OTHER_H = \
14         access.h        \
15         atomic.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         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         semaphores.c            \
76         semaphores.h            \
77         semaphore-private.h     \
78         shared.c                \
79         shared.h                \
80         sockets.c               \
81         sockets.h               \
82         socket-private.h        \
83         status.h                \
84         system.c                \
85         system.h                \
86         threads.c               \
87         threads.h               \
88         thread-private.h        \
89         timefuncs.c             \
90         timefuncs.h             \
91         timefuncs-private.h     \
92         timed-thread.c          \
93         timed-thread.h          \
94         types.h                 \
95         uglify.h                \
96         versioninfo.h           \
97         wait.c                  \
98         wait.h                  \
99         wapi.h                  \
100         wapi-private.h
101
102 WINDOWS_H = \
103         io-layer.h
104
105 WINDOWS_SRC = \
106         io-layer.h              \
107         io-layer-dummy.c
108
109 HPPA_SRC = \
110         hppa_atomic.s
111
112 if PLATFORM_WIN32
113 libwapi_la_SOURCES = $(WINDOWS_SRC)
114 libwapiinclude_HEADERS = $(WINDOWS_H)
115 else
116 if HPPA
117 libwapi_la_SOURCES = $(OTHER_SRC) $(HPPA_SRC)
118 # to enable pick up of config.h
119 libwapi_la_CCASFLAGS = -I$(top_builddir)
120 else
121 libwapi_la_SOURCES = $(OTHER_SRC)
122 endif
123 libwapiinclude_HEADERS = $(OTHER_H)
124 endif
125
126 EXTRA_DIST =    \
127         $(WINDOWS_SRC)  \
128         $(HPPA_SRC) \
129         $(OTHER_SRC)
130
131