* Makefile (MCS) [PROFILE=default]: Force testing of 'mcs'.
[mono.git] / mono / io-layer / Makefile.am
index 0354af2f36cc3b26be9755771b2d7db4d75f32cc..a9625478458f685eb8e84b990d9e4dde97a8d056 100644 (file)
@@ -1,15 +1,18 @@
-lib_LIBRARIES = libwapi.a
+noinst_LTLIBRARIES = libwapi.la
 
 INCLUDES = \
        $(GLIB_CFLAGS)          \
        $(GMODULE_CFLAGS)       \
-       -D_WAPI_BUILDING=1      \
-       -I$(top_srcdir)         \
-       #
+       $(LIBGC_CFLAGS)         \
+       -DMONO_BINDIR=\""$(bindir)"\"   \
+       -I$(top_srcdir) 
 
 libwapiincludedir = $(includedir)/mono/io-layer
 
 OTHER_H = \
+       access.h        \
+       atomic.h        \
+       context.h       \
        critical-sections.h     \
        error.h         \
        events.h        \
@@ -17,75 +20,115 @@ OTHER_H = \
        io.h            \
        io-layer.h      \
        macros.h        \
+       mono-mutex.h    \
        mutexes.h       \
+       processes.h     \
+       security.h      \
        semaphores.h    \
        sockets.h       \
        status.h        \
+       system.h        \
        threads.h       \
+       timefuncs.h     \
+       types.h         \
        uglify.h        \
+       versioninfo.h   \
        wait.h          \
-       wapi.h          \
-       #
+       wapi.h  
 
 OTHER_SRC = \
+       access.h                \
+       atomic.c                \
+       atomic.h                \
+       context.c               \
+       context.h               \
        critical-sections.c     \
        critical-sections.h     \
+       daemon.c                \
+       daemon-private.h        \
+       daemon-messages.c       \
+       daemon-messages.h       \
        error.c                 \
        error.h                 \
        events.c                \
        events.h                \
+       event-private.h         \
        handles.c               \
        handles.h               \
        handles-private.h       \
        io.c                    \
        io.h                    \
+       io-private.h            \
        io-layer.h              \
        macros.h                \
        misc.c                  \
        misc-private.h          \
        mutexes.c               \
        mutexes.h               \
-       pthread-compat.c        \
-       pthread-compat.h        \
+       mutex-private.h         \
+       mono-mutex.c            \
+       mono-mutex.h            \
+       mono-spinlock.h         \
+       processes.c             \
+       processes.h             \
+       process-private.h       \
+       security.c              \
+       security.h              \
        semaphores.c            \
        semaphores.h            \
+       semaphore-private.h     \
+       shared.c                \
+       shared.h                \
        sockets.c               \
        sockets.h               \
+       socket-private.h        \
+       socket-wrappers.h       \
        status.h                \
+       system.c                \
+       system.h                \
        threads.c               \
        threads.h               \
+       thread-private.h        \
+       timefuncs.c             \
+       timefuncs.h             \
+       timefuncs-private.h     \
        timed-thread.c          \
        timed-thread.h          \
+       types.h                 \
        uglify.h                \
-       unicode.c               \
-       unicode.h               \
+       versioninfo.h           \
        wait.c                  \
        wait.h                  \
-       wait-private.h          \
        wapi.h                  \
-       wapi-private.h          \
-       #
+       wapi-private.h
 
 WINDOWS_H = \
-       io-layer.h              \
-       #
+       io-layer.h
 
 WINDOWS_SRC = \
        io-layer.h              \
-       io-layer-dummy.c        \
-       #
+       io-layer-dummy.c
+
+HPPA_SRC = \
+       hppa_atomic.s
 
 if PLATFORM_WIN32
-libwapi_a_SOURCES = $(WINDOWS_SRC)
+libwapi_la_SOURCES = $(WINDOWS_SRC)
 libwapiinclude_HEADERS = $(WINDOWS_H)
 else
-libwapi_a_SOURCES = $(OTHER_SRC)
+if HPPA
+libwapi_la_SOURCES = $(OTHER_SRC) $(HPPA_SRC)
+# to enable pick up of config.h
+libwapi_la_CCASFLAGS = -I$(top_builddir)
+else
+libwapi_la_SOURCES = $(OTHER_SRC)
+endif
 libwapiinclude_HEADERS = $(OTHER_H)
 endif
 
 EXTRA_DIST =   \
        $(WINDOWS_SRC)  \
-       $(OTHER_SRC)    \
-       #
+        $(HPPA_SRC) \
+       $(OTHER_SRC)