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

Makefile.inc « sparc_leon « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b102fc32f12a87543e8ed02156bd25acfdd0f06 (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
96
97
98
99
100
101
102
103
104
105
106
107
AM_CPPFLAGS_%C% = -I$(srcdir)/%D%

multilibtool_LIBRARIES += %D%/libleonbare.a
%C%_libleonbare_a_SOURCES = \
	close.c \
	fstat.c \
	getpid.c \
	isatty.c \
	kill.c \
	lseek.c \
	open.c \
	print.c \
	putnum.c \
	read.c \
	sbrk.c \
	stat.c \
	unlink.c \
	write.c \
	%D%/io.c \
	%D%/kernel.c \
	%D%/kernel_debug.c \
	%D%/kernel_debug_var.c \
	%D%/kernel_context.S \
	%D%/etrap.S \
	%D%/rtrap.S \
	%D%/etrap_fast.S \
	%D%/rtrap_fast.S \
	%D%/irqinstall.S \
	%D%/regwin.S \
	%D%/regwinflush.S \
	%D%/fpu.S \
	%D%/bdinit.S \
	%D%/contextswitch.c \
	%D%/busscan.S \
	%D%/irqtrap_fast.S \
	%D%/catch_interrupt.c \
	%D%/catch_interrupt_svt.c \
	%D%/catch_interrupt_mvt.c \
	%D%/catch_interrupt_pending.c \
	%D%/gettimeofday.c \
	%D%/times.c \
	%D%/rtc.c \
	%D%/lcpuinit.S \
	%D%/console_init.c \
	%D%/console.c \
	%D%/console_dbg.c \
	%D%/contextswitch.c \
	%D%/contextswitch_asm.S \
	%D%/_exit.c \
	%D%/amba.c \
	%D%/amba_dbg.c \
	%D%/amba_scan.c \
	%D%/amba_driver.c \
	%D%/timer.c \
	%D%/mutex.c \
	%D%/locore.S \
	%D%/locore_clean.S \
	%D%/locore_var.S \
	%D%/locore_var_svt.S \
	%D%/jiffies.c \
	%D%/mmu_asm.S \
	%D%/locore_svtdisp.S \
	%D%/locore_mvt_reset.S \
	%D%/locore_svt_reset.S \
	%D%/stop.S \
	%D%/initcalls.c \
	%D%/regwin_patch.c \
	%D%/cacheA.S \
	%D%/nocache.S

multilibtool_LIBRARIES += %D%/liblbthread.a
%C%_liblbthread_a_SOURCES = \
	%D%/kernel.c \
	%D%/kernel_debug.c \
	%D%/kernel_debug_var.c \
	%D%/kernel_context.S \
	%D%/kernel_mutex.c \
	%D%/kernel_thread.c \
	%D%/kernel_sched.c \
	%D%/kernel_queue.c \
	%D%/kernel_mm.c

multilibtool_LIBRARIES += %D%/libsmall.a
%C%_libsmall_a_SOURCES = \
	%D%/locore_atexit.c

multilibtool_DATA += \
	%D%/crt0.o \
	%D%/pnpinit.o \
	%D%/pnpinit_simple.o \
	%D%/locore_svt.o \
	%D%/locore_mvt.o
libobjs_a_SOURCES += \
	%D%/crt0.S \
	%D%/pnpinit.c \
	%D%/pnpinit_simple.c \
	%D%/locore_svt.S \
	%D%/locore_mvt.S

## Isn't actually installed anywhere?
## multilibtool_DATA += %D%/crti.o %D%/crtn.o
## libobjs_a_SOURCES += %D%/crti.S %D%/crtn.S

if !HAVE_MULTISUBDIR
includetoolasmleondir = $(includetooldir)/asm-leon
includetoolasmleon_DATA = $(wildcard $(srcdir)/%D%/asm-leon/*.h)
endif