newlib-cygwin/libgloss/nds32/Makefile.in

146 lines
3.7 KiB
Makefile
Raw Normal View History

# Makefile for libgloss/nds32
# Copyright (c) 1996, 1998 Cygnus Support. 2012 Andes Porting.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
# endorse or promote products derived from this software without
# specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
DESTDIR =
VPATH = @srcdir@ @srcdir@/..
srcdir = @srcdir@
objdir = .
srcroot = $(srcdir)/../..
objroot = $(objdir)/../..
host_alias = @host_alias@
target_alias = @target_alias@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
tooldir = $(exec_prefix)/$(target_alias)
TOP = ../..
SRCTOP = ../..
# Multilib support variables.
# TOP is used instead of MULTI{BUILD,SRC}TOP.
MULTISRCTOP =
MULTIBUILDTOP =
MULTIDIRS =
MULTISUBDIR =
MULTIDO = true
MULTICLEAN = true
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
CC = @CC@
AS = @AS@
AR = @AR@
LD = @LD@
RANLIB = @RANLIB@
AR_FLAGS = qv
BISON = bison
MAKEINFO = makeinfo
.NOEXPORT:
MAKEOVERRIDES =
TARGETDOC = ../../targetdep.tex
CRT0 = crt0.o
CRT1 = crt1.o
SYSCALLS1 = syscall_exit.o syscall_open.o syscall_close.o syscall_read.o syscall_write.o
SYSCALLS2 = syscall_lseek.o syscall_unlink.o syscall_getpid.o syscall_kill.o syscall_fstat.o
SYSCALLS3 = syscall_argvlen.o syscall_argv.o syscall_chdir.o syscall_stat.o syscall_chmod.o
SYSCALLS4 = syscall_utime.o syscall_time.o syscall_gettimeofday.o syscall_times.o syscall_link.o
SYSCALLS5 = syscall_rename.o syscall_isatty.o syscall_system.o syscall_sbrk.o
SYSCALLS = $(SYSCALLS1) $(SYSCALLS2) $(SYSCALLS3) $(SYSCALLS4) $(SYSCALLS5)
GENERIC_LIBOBJS =
LIBOBJS = $(SYSCALLS) $(GENERIC_LIBOBJS)
LIBGLOSS = libgloss.a
# Host specific makefile fragment comes in here.
@host_makefile_frag@
all: $(CRT0) $(CRT1) $(LIBGLOSS)
libgloss.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $@ $(LIBOBJS)
$(RANLIB) $@
install:
mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
$(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
$(INSTALL_DATA) $(CRT1) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT1)
$(INSTALL_DATA) $(LIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS)
clean mostlyclean:
rm -f *~ *.[oa]
distclean maintainer-clean realclean: clean
rm -f Makefile config.status
info doc:
install-info:
clean-info:
Makefile: Makefile.in config.status @host_makefile_frag_path@
$(SHELL) config.status
config.status: configure
$(SHELL) config.status --recheck
# to support SunOS VPATH
crt0.o: crt0.S
crt1.o: crt1.S
syscall_exit.o: syscall_exit.S
syscall_open.o: syscall_open.S
syscall_close.o: syscall_close.S
syscall_read.o: syscall_read.S
syscall_write.o: syscall_write.S
syscall_lseek.o: syscall_lseek.S
syscall_unlink.o: syscall_unlink.S
syscall_getpid.o: syscall_getpid.S
syscall_kill.o: syscall_kill.S
syscall_fstat.o: syscall_fstat.S
syscall_argvlen.o: syscall_argvlen.S
syscall_argv.o: syscall_argv.S
syscall_chdir.o: syscall_chdir.S
syscall_stat.o: syscall_stat.S
syscall_chmod.o: syscall_chmod.S
syscall_utime.o: syscall_utime.S
syscall_time.o: syscall_time.S
syscall_gettimeofday.o: syscall_gettimeofday.S
syscall_times.o: syscall_times.S
syscall_link.o: syscall_link.S
syscall_rename.o: syscall_rename.S
syscall_isatty.o: syscall_isatty.S
syscall_system.o: syscall_system.S
syscall_sbrk.o: syscall_sbrk.S