2 # Makefile pour construire une cross-librairie libgcc1 pour
8 # Revision 1.1 2002/01/13 00:27:32 bergers
9 # Renamed target to m68k-pp-native and did some cleanups.
11 # Revision 1.1 2001/07/07 16:51:04 bergers
12 # Libgcc1 as needed for gcc for m68000 targets since the compiler itself does not know the code for certain 32 bit operations that are not part of the m68000 instruction set. Found this library on http://rpmfind.net/pub/CROSS-68000. I contacted the author (Daniel Veillard) and he said it is alright for us to use the code.
14 # Revision 1.2 1994/06/30 09:55:20 veillard
15 # Changed to use gcc68 as the interface for the com\x7f\x7f\x7fassembler
17 # Revision 1.1 1993/07/21 14:25:56 veillard
21 SRCSS
= _addsubdf3.s _addsubsf3.s _divdf3.s _divmodsi3.s _divsf3.s _eqdf2.s \
22 _eqsf2.s _extend.s _extendsfdf2.s _fixdfsi.s _fixsfsi.s _floatsidf.s \
23 _floatsisf.s _gedf2.s _gesf2.s _gtdf2.s _gtsf2.s _ledf2.s _lesf2.s _ltdf2.s \
24 _ltsf2.s _muldf3.s _mulsf3.s _mulsi3.s _nedf2.s _negdf2.s _negsf2.s _nesf2.s \
25 _normdf.s _normsf.s _truncdfsf2.s _udivmodsi3.s
27 SRCS
= Makefile
$(SRCSS
)
28 OBJS
= _addsubdf3.o _addsubsf3.o _divdf3.o _divmodsi3.o _divsf3.o _eqdf2.o \
29 _eqsf2.o _extend.o _extendsfdf2.o _fixdfsi.o _fixsfsi.o _floatsidf.o \
30 _floatsisf.o _gedf2.o _gesf2.o _gtdf2.o _gtsf2.o _ledf2.o _lesf2.o _ltdf2.o \
31 _ltsf2.o _muldf3.o _mulsf3.o _mulsi3.o _nedf2.o _negdf2.o _negsf2.o _nesf2.o \
32 _normdf.o _normsf.o _truncdfsf2.o _udivmodsi3.o
39 SUBDIRS
= # pas de sous repertoires
48 # definitions liees a RCS
60 # regle de recuperation automatique des fichiers
61 # sources necessaires a la compilation.
68 # regle de restoration des fichier depuis la base RCS
71 @echo
"***** restoring from RCS for " $(COMPONENT
)
72 @for i in
$(SRCS
) ; do echo
$$i ; $(RM
) $$i ; $(CO
) $$i ; \
74 @if
[ "$(SUBDIRS)" != "" ] ; then make restore_subdir
; fi
; \
77 @for i in
$(SUBDIRS
) ; do echo
$$i ; cd
$$i ; make restore
; \
81 # regle de sauvegarde des fichier dans la base RCS
84 @echo
"unlocking RCS files"
85 @for i in
$(SRCS
) ; do if
[ -f
$$i ] ; then \
86 $(RCS_UNLOCK
) $$i ; fi
; done
; exit
0
87 @echo
"saving RCS version"
88 @
(for i in
$(SRCS
) ; do if
[ -f
$$i ] ; then \
89 echo
$$i "---> RCS" ; \
90 $(RCSDIFF
) $$i ||
test $$?
-ne
0 ; \
91 $(CI
) $$i ||
test $$?
-ne
0 ; fi
; \
92 if
[ "$$i" = "Makefile" ] ; then
$(CO
) Makefile
; fi
; \
94 @if
[ "$(SUBDIRS)" != "" ] ; then make rcs_subdir
; fi
; exit
0
96 @for i in
$(SUBDIRS
) ; do echo
$$i ; cd
$$i ; make rcs
; \
106 $(AR
) rv
$(LIB
) $(OBJS
)