DirectoryServicesDirectoryEntryTest.cs: Added DirectoryEntry_SchemaClassName test
[mono.git] / support / Makefile.am
1 lib_LTLIBRARIES= libMonoPosixHelper.la
2
3 INCLUDES = \
4         $(GLIB_CFLAGS) \
5         -I$(top_srcdir)
6
7 # Source code which helps implement the ANSI C standards, and thus *should* be
8 # portable to any platform having a C compiler.
9 MPH_C_SOURCE =   \
10         errno.c              \
11         map.c          \
12         map.h          \
13         mph.h          \
14         signal.c       \
15         stdio.c        \
16         stdlib.c
17
18 # Source code which helps implement POSIX and other related Unix standards,
19 # and *may* be portable between Unix platforms.
20 MPH_UNIX_SOURCE = \
21         dirent.c        \
22         fcntl.c         \
23         fstab.c   \
24         grp.c           \
25         macros.c        \
26         old-map.c       \
27         old-map.h       \
28         pwd.c           \
29         serial.c        \
30         sys-mman.c      \
31         sys-sendfile.c  \
32         sys-stat.c      \
33         sys-statvfs.c   \
34         sys-time.c      \
35         sys-wait.c      \
36         time.c          \
37         unistd.c         \
38         utime.c    \
39         x-struct-str.c
40
41 if PLATFORM_WIN32
42 MPH_SOURCE = $(MPH_C_SOURCE)
43 MPH_LIBS   =
44 else
45 MPH_SOURCE = $(MPH_C_SOURCE) $(MPH_UNIX_SOURCE)
46 MPH_LIBS   = $(GLIB_LIBS)
47 endif
48
49 if HAVE_ZLIB
50 Z_SOURCE = \
51         zlib_macros.c
52 Z_LIBS   = \
53         -lz
54 else
55 Z_SOURCE = 
56 Z_LIBS   = 
57 endif
58
59 libMonoPosixHelper_la_SOURCES = \
60         $(MPH_SOURCE) \
61         $(Z_SOURCE)
62
63 libMonoPosixHelper_la_LIBADD = \
64         $(MPH_LIBS) \
65         $(Z_LIBS)
66
67 libMonoPosixHelper_la_LDFLAGS = -no-undefined -version-info 1:0:1
68
69
70 # Use this target to refresh the values in map.[ch]
71 #
72 refresh:
73         $(top_builddir)/runtime/mono-wrapper $(mcs_topdir)/class/Mono.Posix/Mono.Posix/make-map.exe $(mcs_topdir)/class/lib/Mono.Posix.dll map
74