head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	94.07.20.01.30.46;	author rluebbert;	state Exp;
branches;
next	1.3;

1.3
date	94.07.20.01.27.44;	author rluebbert;	state Exp;
branches;
next	1.2;

1.2
date	94.06.22.17.18.28;	author rluebbert;	state Exp;
branches;
next	1.1;

1.1
date	94.06.19.15.40.29;	author rluebbert;	state Exp;
branches;
next	;


desc
@Makefile for libgnu.a
@


1.4
log
@*** empty log message ***
@
text
@CFLAGS=-O2 -m68020 -m68881 -fomit-frame-pointer -funroll-loops -DIEEE_SINGBAS -DHAVE_ATEXIT
CC=gcc
CSW=-c
INCS= -I../library
LIB=libgnu.a
SHELL = /bin/sh

.c.o:
	$(CC) $(CFLAGS) $(INCS) $(CSW) $*.c



SRCS =	adddf3.c   eqdf2.c        lshlsi3.c   nesf2.c \
	addsf3.c   eqsf2.c        lshrsi3.c   subdf3.c \
	ashlsi3.c  extendsfdf2.c  ltdf2.c     subsf3.c \
	ashrsi3.c  fixdfsi.c      ltsf2.c     truncdfsf2.c \
	cmpdf2.c   fixsfsi.c      gtdf2.c     modsi3.c  \
	cmpsf2.c   fixunsdfsi.c   gtsf2.c     muldf3.c   udivsi3.c \
	floatsidf.c    mulsf3.c   umodsi3.c \
	divdf3.c   floatsisf.c    ledf2.c     mulsi3.c   \
	divsf3.c   lesf2.c        nedf2.c \
	divsi3.c   gedf2.c        negdf2.c \
	eprintf.c  gesf2.c        negsf2.c frexp.c modf.c ldexp.c fabs.c

OBJ =	adddf3.o   eqdf2.o        lshlsi3.o   nesf2.o \
	addsf3.o   eqsf2.o        lshrsi3.o   subdf3.o \
	ashlsi3.o  extendsfdf2.o  ltdf2.o     subsf3.o \
	ashrsi3.o  fixdfsi.o      ltsf2.o     truncdfsf2.o \
	cmpdf2.o   fixsfsi.o      gtdf2.o     modsi3.o \
	cmpsf2.o   fixunsdfsi.o   gtsf2.o     muldf3.o   udivsi3.o \
	floatsidf.o               mulsf3.o    umodsi3.o \
	divdf3.o   floatsisf.o    ledf2.o     mulsi3.o  \
	divsf3.o   lesf2.o        nedf2.o \
	divsi3.o   gedf2.o        negdf2.o \
	eprintf.o  gesf2.o        negsf2.o frexp.o modf.o ldexp.o fabs.o


LIBOBJ2 = _lshldi3 _lshrdi3 _ashldi3 _ashrdi3 _muldi3 _udivmoddi4 _divdi3 \
	_moddi3 _umoddi3 _udivdi3 _negdi2 _cmpdi2 _ucmpdi2 _fixunsdfdi \
	_fixdfdi _fixunssfdi _fixsfdi _floatdidf _floatdisf _fixunsdfsi \
	_fixunssfsi _varargs _eprintf _bb _builtin_new _builtin_New \
	_builtin_del _shtab _clear_cache _trampoline __main

$(LIB): $(OBJ) libgcc2.c
	rm -f $(LIB)
	for name in $(LIBOBJ2); \
	do \
		echo $${name}; \
		$(CC) $(LIBCFLAGS) -c -DL$${name} libgcc2.c -o $${name}.o;\
		ar rv $(LIB) $${name}.o; \
		rm -f $${name}.o; \
	done
	ar rv $(LIB) $(OBJ) 
	ranlib $(LIB)

aux: $(AUX)

clean:
	rm -f $(OBJS) $LIB)

#########################################################################
adddf3.o :  adddf3.c
addsf3.o :  addsf3.c
ashlsi3.o :  ashlsi3.c
ashrsi3.o :  ashrsi3.c
cmpdf2.o :  cmpdf2.c
cmpsf2.o :  cmpsf2.c
divdf3.o :  divdf3.c
divsf3.o :  divsf3.c
divsi3.o :  divsi3.c
eprintf.o :  eprintf.c
eqdf2.o :  eqdf2.c
eqsf2.o :  eqsf2.c
extendsfdf2.o :  extendsfdf2.c
fixdfsi.o :  fixdfsi.c
fixsfsi.o :  fixsfsi.c
fixunsdfsi.o :  fixunsdfsi.c
floatsidf.o :  floatsidf.c
floatsisf.o :  floatsisf.c
gedf2.o :  gedf2.c
gesf2.o :  gesf2.c
gnulib.o :  gnulib.c
gnulib1.o :  gnulib1.c
gnulib2.o :  gnulib2.c
gtdf2.o :  gtdf2.c
gtsf2.o :  gtsf2.c
ledf2.o :  ledf2.c
lesf2.o :  lesf2.c
libgcc2.o :  libgcc2.c
lshlsi3.o :  lshlsi3.c
lshrsi3.o :  lshrsi3.c
ltdf2.o :  ltdf2.c
ltsf2.o :  ltsf2.c
modsi3.o :  modsi3.c
muldf3.o :  muldf3.c
mulsf3.o :  mulsf3.c
mulsi3.o :  mulsi3.c
nedf2.o :  nedf2.c
negdf2.o :  negdf2.c
negsf2.o :  negsf2.c
nesf2.o :  nesf2.c
subdf3.o :  subdf3.c
subsf3.o :  subsf3.c
truncdfsf2.o :  truncdfsf2.c
udivsi3.o :  udivsi3.c
umodsi3.o :  umodsi3.c
@


1.3
log
@added frexp, modf, ldexp and fabs
@
text
@d35 1
a35 1
	eprintf.o  gesf2.o        negsf2.o
@


1.2
log
@020 ffp
@
text
@d23 1
a23 1
	eprintf.c  gesf2.c        negsf2.c 
@


1.1
log
@Initial revision
@
text
@d1 1
a1 2
CFLAGS=-O2 -m68030 -m68881 -fomit-frame-pointer -funroll-loops -DIEEE_SINGBAS -DHAVE_ATEXIT
#LIBCFLAGS = -O2 -m68030 -m68881 -fforce-mem
@
