Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / unix / Makefile.inc
blobc76819b639d0c025ff0dd4fbb13e309c91dadbd3
1 if HAVE_UNIX_DIR
3 libc_a_SOURCES += \
4         %D%/getcwd.c \
5         %D%/pread.c \
6         %D%/pwrite.c \
7         %D%/sigset.c
9 ## Distinguish different EL/IX level interfaces
10 %C%_ELIX_2_SOURCES = \
11         %D%/ttyname.c \
12         %D%/ttyname_r.c
14 %C%_ELIX_4_SOURCES = \
15         %D%/basename.c \
16         %D%/dirname.c \
17         %D%/getlogin.c \
18         %D%/getpass.c \
19         %D%/getpwent.c \
20         %D%/getut.c
22 if ELIX_LEVEL_1
23 else
24 if ELIX_LEVEL_2
25 libc_a_SOURCES += $(%C%_ELIX_2_SOURCES)
26 else
27 if ELIX_LEVEL_3
28 libc_a_SOURCES += $(%C%_ELIX_2_SOURCES)
29 else
30 libc_a_SOURCES += $(%C%_ELIX_2_SOURCES) $(%C%_ELIX_4_SOURCES)
31 endif
32 endif
33 endif
35 endif