Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / utils / Makefile.am
index 578ed7a5edc1eab43c04c7d6e8d24ba74de02691..a0ec0c6ec5a113f454b8605d643772a85de75194 100644 (file)
@@ -1,25 +1,43 @@
 noinst_LTLIBRARIES = libmonoutils.la
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS)
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS)
+
+if EGLIB_BUILD 
+hash_sources = mono-ehash.c
+else
+hash_sources = mono-hash.c
+endif
 
 libmonoutils_la_SOURCES = \
-       mono-hash.c     \
+       $(hash_sources) \
        mono-md5.c      \
        mono-sha1.c     \
        mono-logger.c   \
        mono-codeman.c  \
        mono-counters.c \
        mono-compiler.h \
+       mono-dl.c       \
+       mono-dl.h       \
+       mono-internal-hash.c    \
+       mono-internal-hash.h    \
+       mono-io-portability.c   \
+       mono-io-portability.h   \
        monobitset.c    \
        mono-math.c  \
+       mono-mmap.c  \
+       mono-mmap.h  \
+       mono-time.c  \
+       mono-time.h  \
        strtod.h        \
        strtod.c        \
        strenc.h        \
        strenc.c        \
        mono-uri.c      \
-       mono-poll.c
+       mono-poll.c     \
+       mono-path.c     \
+       mono-stdlib.c
 
-libmonoutilsincludedir = $(includedir)/mono/utils
+libmonoutilsincludedir = $(includedir)/mono-$(API_VER)/mono/utils
 
 libmonoutilsinclude_HEADERS = \
        monobitset.h    \
@@ -29,8 +47,10 @@ libmonoutilsinclude_HEADERS = \
        mono-logger.h   \
        mono-hash.h     \
        mono-math.h     \
+       mono-membar.h   \
+       mono-path.h     \
+       mono-poll.h     \
        mono-uri.h      \
-       mono-poll.h
-
-EXTRA_DIST = ChangeLog
+       mono-stdlib.h
 
+EXTRA_DIST = ChangeLog mono-hash.c mono-hash.h mono-ehash.c