Last change
on this file since 577 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
|
Rev | Line | |
---|
[444] | 1 | ## Process this file with automake to generate Makefile.in |
---|
| 2 | |
---|
| 3 | AUTOMAKE_OPTIONS = cygnus |
---|
| 4 | |
---|
| 5 | INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) |
---|
| 6 | |
---|
| 7 | GENERAL_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 | |
---|
| 15 | ELIX_2_SOURCES = \ |
---|
| 16 | scandir.c seekdir.c |
---|
| 17 | |
---|
| 18 | ELIX_3_SOURCES = \ |
---|
| 19 | execl.c execle.c execlp.c execv.c \ |
---|
| 20 | execve.c execvp.c wordexp.c wordfree.c |
---|
| 21 | |
---|
| 22 | ELIX_4_SOURCES = \ |
---|
| 23 | popen.c posix_spawn.c |
---|
| 24 | |
---|
| 25 | if ELIX_LEVEL_1 |
---|
| 26 | ELIX_SOURCES = |
---|
| 27 | else |
---|
| 28 | if ELIX_LEVEL_2 |
---|
| 29 | ELIX_SOURCES = $(ELIX_2_SOURCES) |
---|
| 30 | else |
---|
| 31 | if ELIX_LEVEL_3 |
---|
| 32 | ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES) |
---|
| 33 | else |
---|
| 34 | ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES) $(ELIX_4_SOURCES) |
---|
| 35 | endif |
---|
| 36 | endif |
---|
| 37 | endif |
---|
| 38 | |
---|
| 39 | libposix_la_LDFLAGS = -Xcompiler -nostdlib |
---|
| 40 | |
---|
| 41 | if USE_LIBTOOL |
---|
| 42 | noinst_LTLIBRARIES = libposix.la |
---|
| 43 | libposix_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES) |
---|
| 44 | noinst_DATA = objectlist.awk.in |
---|
| 45 | else |
---|
| 46 | noinst_LIBRARIES = lib.a |
---|
| 47 | lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES) |
---|
| 48 | lib_a_CFLAGS = $(AM_CFLAGS) |
---|
| 49 | noinst_DATA = |
---|
| 50 | endif # USE_LIBTOOL |
---|
| 51 | |
---|
| 52 | include $(srcdir)/../../Makefile.shared |
---|
| 53 | |
---|
| 54 | CHEWOUT_FILES = \ |
---|
| 55 | popen.def \ |
---|
| 56 | posix_spawn.def |
---|
| 57 | |
---|
| 58 | CHAPTERS = posix.tex |
---|
| 59 | |
---|
| 60 | AM_CFLAGS = -D_GNU_SOURCE |
---|
Note: See
TracBrowser
for help on using the repository browser.