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.6 KB
|
Line | |
---|
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 | AM_CCASFLAGS = $(INCLUDES) |
---|
8 | |
---|
9 | noinst_LIBRARIES = lib.a |
---|
10 | |
---|
11 | COPYOFILES = \ |
---|
12 | Ovfork.o \ |
---|
13 | _exit.o \ |
---|
14 | _sigvec.o \ |
---|
15 | abort.o \ |
---|
16 | access.o \ |
---|
17 | cerror.o \ |
---|
18 | chmod.o \ |
---|
19 | chown.o \ |
---|
20 | close.o \ |
---|
21 | creat.o \ |
---|
22 | dup.o \ |
---|
23 | dup2.o \ |
---|
24 | errlst.o \ |
---|
25 | execl.o \ |
---|
26 | execle.o \ |
---|
27 | execv.o \ |
---|
28 | execve.o \ |
---|
29 | execvp.o \ |
---|
30 | fork.o \ |
---|
31 | fstat.o \ |
---|
32 | getdtablesize.o \ |
---|
33 | getpid.o \ |
---|
34 | getrusage.o \ |
---|
35 | gettimeofday.o \ |
---|
36 | ieee_globals.o \ |
---|
37 | ioctl.o \ |
---|
38 | isatty.o \ |
---|
39 | kill.o \ |
---|
40 | link.o \ |
---|
41 | lseek.o \ |
---|
42 | open.o \ |
---|
43 | pipe.o \ |
---|
44 | popen.o \ |
---|
45 | read.o \ |
---|
46 | sbrk.o \ |
---|
47 | setitimer.o \ |
---|
48 | sigblock.o \ |
---|
49 | signal.o \ |
---|
50 | sigpause.o \ |
---|
51 | sigsetjmp.o \ |
---|
52 | sigsetmask.o \ |
---|
53 | sigtramp.o \ |
---|
54 | sigvec.o \ |
---|
55 | sleep.o \ |
---|
56 | start_float.o \ |
---|
57 | stat.o \ |
---|
58 | time.o \ |
---|
59 | times.o \ |
---|
60 | umask.o \ |
---|
61 | unlink.o \ |
---|
62 | utime.o \ |
---|
63 | utimes.o \ |
---|
64 | wait.o \ |
---|
65 | wait3.o \ |
---|
66 | wait4.o \ |
---|
67 | write.o \ |
---|
68 | rem.o \ |
---|
69 | multiply.o \ |
---|
70 | umultiply.o |
---|
71 | |
---|
72 | # These files are from Sun's libc.a, but the must be renamed because they |
---|
73 | # conflict with other library .o's. They are renamed to xxxS.o. |
---|
74 | COPYRENAMEOFILES = divS.o |
---|
75 | |
---|
76 | COPYOMFILES = ieee_flags.o |
---|
77 | |
---|
78 | lib_a_SOURCES = _main.c ieee.c |
---|
79 | lib_a_LIBADD = $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES) |
---|
80 | lib_a_CCASFLAGS = $(AM_CCASFLAGS) |
---|
81 | lib_a_CFLAGS = $(AM_CFLAGS) |
---|
82 | |
---|
83 | $(COPYOFILES): |
---|
84 | $(AR) x /lib/libc.a $(COPYOFILES) |
---|
85 | |
---|
86 | $(COPYRENAMEOFILES): |
---|
87 | $(AR) x /lib/libc.a $(COPYRENAMEFILES:S.o=.o) |
---|
88 | for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done |
---|
89 | |
---|
90 | $(COPYOMFILES): |
---|
91 | $(AR) x /lib/libm.a $(COPYOMFILES) |
---|
92 | |
---|
93 | all-local: crt0.o |
---|
94 | |
---|
95 | crt0.o: |
---|
96 | cp /lib/crt0.o crt0.o |
---|
97 | |
---|
98 | ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. |
---|
99 | CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host |
---|
Note: See
TracBrowser
for help on using the repository browser.