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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/moxie/Makefile.inc')
-rw-r--r--libgloss/moxie/Makefile.inc62
1 files changed, 62 insertions, 0 deletions
diff --git a/libgloss/moxie/Makefile.inc b/libgloss/moxie/Makefile.inc
new file mode 100644
index 000000000..acc92d2e0
--- /dev/null
+++ b/libgloss/moxie/Makefile.inc
@@ -0,0 +1,62 @@
+## Copyright (c) 2008, 2010 Anthony Green
+##
+## 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.
+
+## Makefile for libgloss/spro. This is the board support code for the
+## moxie target.
+
+if !HAVE_MULTISUBDIR
+multilibtool_DATA += \
+ %D%/moxie-elf-common.ld \
+ %D%/qemu.ld \
+ %D%/sim.ld \
+ %D%/moxiebox.ld
+endif
+
+if MOXIE_BUILD_CRT0
+multilibtool_DATA += %D%/crt0.o
+endif
+libobjs_a_SOURCES += \
+ %D%/crt0.S
+
+multilibtool_LIBRARIES += %D%/libsim.a
+%C%_libsim_a_SOURCES = \
+ %D%/fstat.c \
+ %D%/getpid.c \
+ %D%/isatty.c \
+ %D%/kill.c \
+ %D%/putnum.c \
+ %D%/sbrk.c \
+ %D%/sim-close.S \
+ %D%/sim-exit.S \
+ %D%/sim-inbyte.c \
+ %D%/sim-lseek.c \
+ %D%/sim-open.S \
+ %D%/sim-read.S \
+ %D%/sim-time.c \
+ %D%/sim-unlink.S \
+ %D%/sim-write.S \
+ %D%/stat.c
+
+multilibtool_LIBRARIES += %D%/libqemu.a
+%C%_libqemu_a_SOURCES = \
+ %D%/qemu-write.c \
+ %D%/qemu-time.c \
+ %D%/sim-exit.S \
+ %D%/sbrk.c \
+ %D%/sim-close.S \
+ %D%/fstat.c \
+ %D%/getpid.c \
+ %D%/isatty.c \
+ %D%/kill.c \
+ %D%/putnum.c \
+ %D%/sim-lseek.c \
+ %D%/sim-read.S