OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [config/] [arm/] [t-netbsd] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2
# 2006 Free Software Foundation, Inc.
3
#
4
# This file is part of GCC.
5
#
6
# GCC is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 3, or (at your option)
9
# any later version.
10
#
11
# GCC is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with GCC; see the file COPYING3.  If not see
18
# .
19
 
20
# Just for these, we omit the frame pointer since it makes such a big
21
# difference.  It is then pointless adding debugging.
22
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fpic
23
LIBGCC2_DEBUG_CFLAGS = -g0
24
LIB2FUNCS_EXTRA = $(srcdir)/config/floatunsidf.c $(srcdir)/config/floatunsisf.c
25
 
26
# Build a shared libgcc library.
27
SHLIB_EXT = .so
28
SHLIB_NAME = @shlib_base_name@.so
29
SHLIB_SONAME = @shlib_base_name@.so.1
30
SHLIB_OBJS = @shlib_objs@
31
 
32
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
33
        -Wl,-soname,$(SHLIB_SONAME) \
34
        -o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) -lc && \
35
        rm -f $(SHLIB_SONAME) && \
36
        if [ -f $(SHLIB_NAME) ]; then \
37
          mv -f $(SHLIB_NAME) $(SHLIB_NAME).backup; \
38
        else true; fi && \
39
        mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
40
        $(LN_S) $(SHLIB_NAME) $(SHLIB_SONAME)
41
# $(slibdir) double quoted to protect it from expansion while building
42
# libgcc.mk.  We want this delayed until actual install time.
43
SHLIB_INSTALL = \
44
        $$(mkinstalldirs) $$(DESTDIR)$$(slibdir); \
45
        $(INSTALL_DATA) $(SHLIB_NAME) $$(DESTDIR)$$(slibdir)/$(SHLIB_SONAME); \
46
        rm -f $$(DESTDIR)$$(slibdir)/$(SHLIB_NAME); \
47
        $(LN_S) $(SHLIB_SONAME) $$(DESTDIR)$$(slibdir)/$(SHLIB_NAME)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.