Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer...
[mono.git] / mono / io-layer / Makefile.am
1
2 noinst_LTLIBRARIES = libwapi.la
3
4 AM_CPPFLAGS = \
5         $(GLIB_CFLAGS)          \
6         $(LIBGC_CPPFLAGS)       \
7         -DMONO_BINDIR=\""$(bindir)"\"   \
8         -I$(top_srcdir) 
9
10 libwapiincludedir = $(includedir)/mono-$(API_VER)/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         io-portability.h        \
24         macros.h        \
25         messages.h      \
26         mono-mutex.h    \
27         mutexes.h       \
28         processes.h     \
29         security.h      \
30         semaphores.h    \
31         sockets.h       \
32         status.h        \
33         system.h        \
34         threads.h       \
35         timefuncs.h     \
36         types.h         \
37         uglify.h        \
38         versioninfo.h   \
39         wait.h          \
40         wapi.h
41
42 OTHER_SRC = \
43         access.h                \
44         atomic.c                \
45         atomic.h                \
46         collection.c            \
47         collection.h            \
48         context.c               \
49         context.h               \
50         critical-sections.c     \
51         critical-sections.h     \
52         critical-section-private.h      \
53         error.c                 \
54         error.h                 \
55         events.c                \
56         events.h                \
57         event-private.h         \
58         handles.c               \
59         handles.h               \
60         handles-private.h       \
61         io.c                    \
62         io.h                    \
63         io-portability.c        \
64         io-portability.h        \
65         io-private.h            \
66         io-layer.h              \
67         locking.c               \
68         macros.h                \
69         messages.c              \
70         messages.h              \
71         misc.c                  \
72         misc-private.h          \
73         mutexes.c               \
74         mutexes.h               \
75         mutex-private.h         \
76         mono-mutex.c            \
77         mono-mutex.h            \
78         posix.c                 \
79         processes.c             \
80         processes.h             \
81         process-private.h       \
82         security.c              \
83         security.h              \
84         semaphores.c            \
85         semaphores.h            \
86         semaphore-private.h     \
87         shared.c                \
88         shared.h                \
89         sockets.c               \
90         sockets.h               \
91         socket-private.h        \
92         socket-wrappers.h       \
93         status.h                \
94         system.c                \
95         system.h                \
96         threads.h               \
97         thread-private.h        \
98         timefuncs.c             \
99         timefuncs.h             \
100         timefuncs-private.h     \
101         types.h                 \
102         uglify.h                \
103         versioninfo.c           \
104         versioninfo.h           \
105         wait.c                  \
106         wait.h                  \
107         wapi_glob.h             \
108         wapi_glob.c             \
109         wapi.h                  \
110         wapi-private.h          \
111         wthreads.c
112
113
114 WINDOWS_H = \
115         io-layer.h
116
117 WINDOWS_SRC = \
118         io-layer.h              \
119         io-layer-dummy.c
120
121 HPPA_SRC = \
122         hppa_atomic.S
123
124 if HOST_WIN32
125 libwapi_la_SOURCES = $(WINDOWS_SRC) $(WINDOWS_H)
126 else
127 if HPPA
128 libwapi_la_SOURCES = $(OTHER_SRC) $(HPPA_SRC)
129 # to enable pick up of config.h
130 libwapi_la_CCASFLAGS = -I$(top_builddir)
131 else
132 libwapi_la_SOURCES = $(OTHER_SRC) $(OTHER_H)
133 endif
134 endif
135 if PLATFORM_DARWIN
136 libwapi_la_LIBADD = -lproc
137 endif
138
139 EXTRA_DIST =    \
140         $(WINDOWS_SRC)  \
141         $(HPPA_SRC) \
142         $(OTHER_SRC)
143
144