1 # Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009
2 # Free Software Foundation, Inc.
4 # This file is part of GCC.
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)
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.
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 # <http://www.gnu.org/licenses/>.
20 CRTSTUFF_T_CFLAGS = -mpreferred-stack-boundary=2
21 CRT0STUFF_T_CFLAGS = -mpreferred-stack-boundary=2 $(INCLUDES)
22 # this is a slight misuse (it's not an assembler file)
23 CRT0_S = $(srcdir)/config/i386/netware-crt0.c
24 MCRT0_S = $(srcdir)/config/i386/netware-crt0.c
26 $(T)libgcc.def: $(srcdir)/config/i386/t-nwld
27 echo "module libgcc_s" >$@
29 $(T)libc.def: $(srcdir)/config/i386/t-nwld
30 echo "module libc" >$@
32 $(T)libcpre.def: $(srcdir)/config/i386/t-nwld
33 echo "start _LibCPrelude" >$@
34 echo "exit _LibCPostlude" >>$@
35 echo "check _LibCCheckUnload" >>$@
37 $(T)posixpre.def: $(srcdir)/config/i386/t-nwld
38 echo "start POSIX_Start" >$@
39 echo "exit POSIX_Stop" >>$@
40 echo "check POSIX_CheckUnload" >>$@
42 nwld.o: $(srcdir)/config/i386/nwld.c $(RTL_H) $(TREE_H) $(CONFIG_H) $(TM_P_H)
43 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
44 $(srcdir)/config/i386/nwld.c
47 s-crt0: $(srcdir)/unwind-dw2-fde.h
49 # To keep DRIVER_DEFINES correct.