OSDN Git Service

* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / t-nwld
1 # Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2 #
3 # This file is part of GCC.
4 #
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9 #
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3.  If not see
17 # <http://www.gnu.org/licenses/>.
18
19 CRTSTUFF_T_CFLAGS = -mpreferred-stack-boundary=2
20 CRT0STUFF_T_CFLAGS = -mpreferred-stack-boundary=2 $(INCLUDES)
21 # this is a slight misuse (it's not an assembler file)
22 CRT0_S = $(srcdir)/config/i386/netware-crt0.c
23 MCRT0_S = $(srcdir)/config/i386/netware-crt0.c
24
25 $(T)libgcc.def: $(srcdir)/config/i386/t-nwld
26         echo "module libgcc_s" >$@
27
28 $(T)libc.def: $(srcdir)/config/i386/t-nwld
29         echo "module libc" >$@
30
31 $(T)libcpre.def: $(srcdir)/config/i386/t-nwld
32         echo "start _LibCPrelude" >$@
33         echo "exit _LibCPostlude" >>$@
34         echo "check _LibCCheckUnload" >>$@
35
36 $(T)posixpre.def: $(srcdir)/config/i386/t-nwld
37         echo "start POSIX_Start" >$@
38         echo "exit POSIX_Stop" >>$@
39         echo "check POSIX_CheckUnload" >>$@
40
41 nwld.o: $(srcdir)/config/i386/nwld.c $(RTL_H) $(TREE_H) $(CONFIG_H) $(TM_P_H)
42         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/nwld.c
43
44
45 s-crt0: $(srcdir)/unwind-dw2-fde.h
46
47 # To keep DRIVER_DEFINES correct.
48 SHLIB_LINK = dummy