source: trunk/libs/newlib/src/newlib/libc/posix/Makefile.am @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.2 KB
Line 
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = cygnus
4
5INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
7GENERAL_SOURCES = \
8        closedir.c collate.c collcmp.c creat.c \
9        fnmatch.c glob.c _isatty.c isatty.c \
10        opendir.c readdir.c readdir_r.c \
11        regcomp.c regerror.c regexec.c regfree.c \
12        rewinddir.c sleep.c usleep.c \
13        telldir.c
14
15ELIX_2_SOURCES = \
16        scandir.c seekdir.c
17
18ELIX_3_SOURCES = \
19        execl.c execle.c execlp.c execv.c \
20        execve.c execvp.c wordexp.c wordfree.c
21
22ELIX_4_SOURCES = \
23        popen.c posix_spawn.c
24
25if ELIX_LEVEL_1
26ELIX_SOURCES =
27else
28if ELIX_LEVEL_2
29ELIX_SOURCES = $(ELIX_2_SOURCES)
30else
31if ELIX_LEVEL_3
32ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES)
33else
34ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES) $(ELIX_4_SOURCES)
35endif
36endif
37endif
38
39libposix_la_LDFLAGS = -Xcompiler -nostdlib
40
41if USE_LIBTOOL
42noinst_LTLIBRARIES = libposix.la
43libposix_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
44noinst_DATA = objectlist.awk.in
45else
46noinst_LIBRARIES = lib.a
47lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
48lib_a_CFLAGS = $(AM_CFLAGS)
49noinst_DATA =
50endif # USE_LIBTOOL
51
52include $(srcdir)/../../Makefile.shared
53
54CHEWOUT_FILES = \
55        popen.def \
56        posix_spawn.def
57
58CHAPTERS = posix.tex
59
60AM_CFLAGS = -D_GNU_SOURCE
Note: See TracBrowser for help on using the repository browser.