Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.am « sun4 « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 911008641d2faa348780d850fe4326e04fe0a54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
## Process this file with automake to generate Makefile.in

AUTOMAKE_OPTIONS = cygnus

INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)

noinst_LIBRARIES = lib.a

COPYOFILES = \
	Ovfork.o \
	_exit.o \
	_sigvec.o \
	abort.o \
	access.o \
	cerror.o \
	chmod.o \
	chown.o \
	close.o \
	creat.o \
	dup.o \
	dup2.o \
	errlst.o \
	execl.o \
	execle.o \
	execv.o \
	execve.o \
	execvp.o \
	fork.o \
	fstat.o \
	getdtablesize.o \
	getpid.o \
	getrusage.o  \
	gettimeofday.o \
	ieee_globals.o \
	ioctl.o \
	isatty.o \
	kill.o \
	link.o \
	lseek.o \
	open.o \
	pipe.o \
	popen.o \
	read.o \
	sbrk.o \
	setitimer.o \
	sigblock.o \
	signal.o \
	sigpause.o \
	sigsetjmp.o \
	sigsetmask.o \
	sigtramp.o \
	sigvec.o \
	sleep.o \
	start_float.o \
	stat.o \
	time.o \
	times.o \
	umask.o \
	unlink.o \
	utime.o \
	utimes.o \
	wait.o \
	wait3.o \
	wait4.o \
	write.o \
	rem.o \
	multiply.o \
	umultiply.o

# These files are from Sun's libc.a, but the must be renamed because they
# conflict with other library .o's.  They are renamed to xxxS.o.
COPYRENAMEOFILES = divS.o

COPYOMFILES = ieee_flags.o

lib_a_SOURCES = _main.c ieee.c
lib_a_LIBADD = $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES)

$(COPYOFILES):
	$(AR) x /lib/libc.a $(COPYOFILES) 

$(COPYRENAMEOFILES):
	$(AR) x /lib/libc.a $(COPYRENAMEFILES:S.o=.o)
	for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done

$(COPYOMFILES):
	$(AR) x /lib/libm.a $(COPYOMFILES) 

all: crt0.o

crt0.o:
	cp /lib/crt0.o crt0.o

ACLOCAL_AMFLAGS = -I ../../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host