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

Makefile.inc « mn10300 « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cc91b8bf1c6bca3f7d1696560f5c41364ba8fc6d (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
## Copyright (c) 1998, 2000 Cygnus Support
##
## The authors hereby grant permission to use, copy, modify, distribute,
## and license this software and its documentation for any purpose, provided
## that existing copyright notices are retained in all copies and that this
## notice is included verbatim in any distributions. No written agreement,
## license, or royalty fee is required for any of the authorized uses.
## Modifications to this software may be copyrighted by their authors
## and need not follow the licensing terms described here, provided that
## the new terms are clearly indicated on the first page of each file where
## they apply.

multilibtool_DATA += \
	%D%/eval.ld \
	%D%/sim.ld
if MN10300_BUILD_LIBCYGMON
multilibtool_DATA += \
	%D%/asb2303.ld \
	%D%/asb2305.ld
endif

multilibtool_DATA += \
	%D%/crt0.o \
	%D%/crt0_cygmon.o \
	%D%/crt0_redboot.o
libobjs_a_SOURCES += \
	%D%/crt0.S \
	%D%/crt0_cygmon.S \
	%D%/crt0_redboot.S

# Generic object files common to all targets.
%C%_common_lib_sources = \
	%D%/_exit.c \
	%D%/access.c \
	%D%/chmod.c \
	%D%/close.c \
	%D%/crt1.c \
	%D%/fstat.c \
	%D%/getpid.c \
	%D%/isatty.c \
	%D%/kill.c \
	%D%/lseek.c \
	%D%/open.c \
	%D%/read.c \
	%D%/sbrk.c \
	%D%/stat.c \
	%D%/time.c \
	%D%/times.c \
	%D%/unlink.c \
	%D%/utime.c \
	%D%/write.c

multilibtool_LIBRARIES += %D%/libeval.a
%C%_libeval_a_SOURCES = \
	$(%C%_common_lib_sources) \
	%D%/trap.S

if MN10300_BUILD_LIBCYGMON
multilibtool_LIBRARIES += %D%/libcygmon.a
%C%_libcygmon_a_SOURCES = \
	$(%C%_common_lib_sources) \
	%D%/cygmon.c
endif

check_PROGRAMS += %D%/test
%C%_test_LDFLAGS = $(AM_LDFLAGS) -Wl,-T$(srcdir)/%D%/eval.ld