head	1.5;
access;
symbols
	gcc-2_8_1-990325:1.5
	gcc-2_8_1-990319:1.5
	gcc-2_8_1-990302:1.5
	gcc_2_8_1-990302:1.5
	gcc_2_8_1-990222:1.5
	gcc-2_8_1-990109:1.5
	gcc-2_8_1-981210:1.5
	gcc-2_8_1-981208:1.5
	gcc-2_8_1-980929:1.5
	gcc_2_8_1-980929:1.5
	gcc-2_8_1-980928:1.5
	gcc-2_8_1-980813:1.5
	gcc-2_8_1-980811:1.5
	gcc-2_8_1-980718:1.5
	gcc-2_8_1-980705:1.5
	gcc-2_8_1-980627:1.5
	gcc-2_8_1-980609:1.5
	gcc-2_8_1-980608:1.5
	gcc-2_8_1-980529:1.5
	gcc-2_8_1-980525:1.5
	gcc-2_8_1-980513:1.5
	gcc-2_8_1-980502:1.5
	gcc-2_8_1-980426:1.5
	gcc-2_8_1-980419:1.5
	gcc-2_8_1-980413:1.5
	gcc-2_8_1-980412:1.5
	gcc-2_8_1-980407:1.5
	gcc-2_8_1-980401:1.5
	gcc_2_8_1-980315:1.5
	gcc-2_8_1-RELEASE:1.5;
locks; strict;
comment	@# @;


1.5
date	96.11.19.22.08.04;	author meissner;	state Exp;
branches;
next	1.4;

1.4
date	96.10.25.20.21.38;	author meissner;	state Exp;
branches;
next	1.3;

1.3
date	96.03.13.17.12.13;	author meissner;	state Exp;
branches;
next	1.2;

1.2
date	96.02.13.19.19.40;	author meissner;	state Exp;
branches;
next	1.1;

1.1
date	95.11.30.18.24.37;	author meissner;	state Exp;
branches;
next	;


desc
@Target makefile frag for PowerPC Windows NT.
@


1.5
log
@Use configure to set EXTRA_HEADERS, not t-* file
@
text
@# Do not build libgcc1.
LIBGCC1 = 
CROSS_LIBGCC1 =

EXTRA_PARTS = crti.o crtn.o

# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c ntstack.S

dp-bit.c: $(srcdir)/config/fp-bit.c
	cat $(srcdir)/config/fp-bit.c > dp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

ntstack.S: $(srcdir)/config/rs6000/ntstack.asm
	cat $(srcdir)/config/rs6000/ntstack.asm > ntstack.S

# For NT we build crti.o and crtn.o which serve to add begin and
# end labels for the static constructors and destructors.

# Assemble startup files.
crti.s: $(srcdir)/config/rs6000/nt-ci.asm
	cat $(srcdir)/config/rs6000/nt-ci.asm >crti.s

crtn.s: $(srcdir)/config/rs6000/nt-cn.asm
	cat $(srcdir)/config/rs6000/nt-cn.asm >crtn.s

crti.o: crti.s
	$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o crti.o crti.s
	
crtn.o: crtn.s
	$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o crtn.o crtn.s
@


1.4
log
@Fix build problems on cygwin/winnt
@
text
@a6 2
EXTRA_HEADERS = $(srcdir)/ginclude/ppc-asm.h

@


1.3
log
@Add static constructor/destructor support to Windows NT
@
text
@d2 1
a2 2
LIBGCC = stmp-crt
INSTALL_LIBGCC = install-crt
d5 2
d33 5
a37 25
# Build multiple copies of crt{i,n}.o, one for each target switch.
stmp-crt: crti.s crtn.s $(GCC_PASSES) stmp-multilib config.status
	for i in `$(GCC_FOR_TARGET) --print-multi-lib`; do \
	  dir=`echo $$i | sed -e 's/;.*$$//'`; \
	  flags=`echo $$i | sed -e 's/^[^;]*;//' -e 's/@@/ -/g'`; \
	  $(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \
	    LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS) $${flags}" \
	    dir="$${dir}" stmp-crt-sub; \
	  if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
	done
	touch stmp-crt

# Subroutine of stmp-crt so make -n works.
stmp-crt-sub:
	$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o $(dir)/crti.o crti.s
	$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o $(dir)/crtn.o crtn.s

# Install multiple versions of crt[in].o
install-crt: stmp-crt install-dir install-multilib
	for i in `$(GCC_FOR_TARGET) --print-multi-lib`; do \
	  dir=`echo $$i | sed -e 's/;.*$$//'`; \
	  rm -f $(libsubdir)/$${dir}/crt[in].o; \
	  $(INSTALL_DATA) $${dir}/crti.o $(libsubdir)/$${dir}/crti.o; \
	  $(INSTALL_DATA) $${dir}/crtn.o $(libsubdir)/$${dir}/crtn.o; \
	done
@


1.2
log
@Cygwin32 support; Make eabi update stack first before doing stores in prolog
@
text
@d2 2
a3 1
LIBGCC1 =
a7 3
# At present, we don't have a cross linker, so turn this off
LIBGCC1_TEST = 

d10 1
a10 1
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c ntstack.s
d19 38
a56 2
ntstack.s: $(srcdir)/config/rs6000/ntstack.asm
	cat $(srcdir)/config/rs6000/ntstack.asm > ntstack.s
@


1.1
log
@PowerPC Windows NT support
@
text
@d12 1
a12 1
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
d21 2
a22 7
# Build the libraries for both hard and soft floating point

MULTILIB_OPTIONS = msoft-float
MULTILIB_DIRNAMES = soft-float

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
@
