Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 149776
Collapse All | Expand All

(-)makefile.bak (-4 / +8 lines)
Lines 2-22 Link Here
2
# Be sure to check the size of a pointer, LARGEMEM, in lcalc.h;
2
# Be sure to check the size of a pointer, LARGEMEM, in lcalc.h;
3
# the size of long double, XPD, in mconf.h; and the type of
3
# the size of long double, XPD, in mconf.h; and the type of
4
# computer and endianness of the numbers in mconf.h.
4
# computer and endianness of the numbers in mconf.h.
5
CC= gcc
6
#CC = /a/gnu/linux/gcc/xgcc -B/a/gnu/linux/gcc/ -I/a/gnu/linux/gcc/include
5
#CC = /a/gnu/linux/gcc/xgcc -B/a/gnu/linux/gcc/ -I/a/gnu/linux/gcc/include
7
#CFLAGS= -O0 -fno-builtin
6
#CFLAGS= -O0 -fno-builtin
8
CFLAGS= -O -Wall -Wuninitialized -fno-builtin
7
CFLAGS+= -Wuninitialized -fno-builtin -fPIC
9
LIBS= 
8
LIBS= 
9
SHARED_LIB=    libml.so
10
SHARED_LIB_VER=        $(SHARED_LIB).0
10
OBJS= acoshl.o asinhl.o asinl.o atanhl.o atanl.o bdtrl.o btdtrl.o cbrtl.o \
11
OBJS= acoshl.o asinhl.o asinl.o atanhl.o atanl.o bdtrl.o btdtrl.o cbrtl.o \
11
chdtrl.o coshl.o ellpel.o ellpkl.o elliel.o ellikl.o ellpjl.o \
12
chdtrl.o coshl.o ellpel.o ellpkl.o elliel.o ellikl.o ellpjl.o \
12
exp10l.o exp2l.o expl.o expx2l.o fdtrl.o gammal.o gdtrl.o igamil.o igaml.o \
13
exp10l.o exp2l.o expl.o expx2l.o fdtrl.o gammal.o gdtrl.o igamil.o igaml.o \
13
incbetl.o incbil.o isnanl.o j0l.o j1l.o jnl.o ldrand.o log10l.o log2l.o \
14
incbetl.o incbil.o isnanl.o j0l.o j1l.o jnl.o ldrand.o log10l.o log2l.o \
14
logl.o nbdtrl.o ndtril.o ndtrl.o pdtrl.o powl.o powil.o sinhl.o sinl.o \
15
logl.o nbdtrl.o ndtril.o ndtrl.o pdtrl.o powl.o powil.o sinhl.o sinl.o \
15
sqrtl.o stdtrl.o tanhl.o tanl.o unityl.o expm1l.o log1pl.o ynl.o \
16
sqrtl.o stdtrl.o tanhl.o tanl.o unityl.o expm1l.o log1pl.o ynl.o \
16
floorl.o polevll.o unityl.o mtherr.o
17
floorl.o polevll.o mtherr.o
17
# cmplxl.o clogl.o
18
# cmplxl.o clogl.o
18
19
19
all: mtstl lparanoi lcalc fltestl nantst testvect monotl libml.a
20
all: libml.a $(SHARED_LIB_VER)
21
22
$(SHARED_LIB_VER): $(OBJS) mconf.h
23
	$(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS)
20
24
21
mtstl: libml.a mtstl.o $(OBJS)
25
mtstl: libml.a mtstl.o $(OBJS)
22
	$(CC) $(CFLAGS) -o mtstl mtstl.o libml.a $(LIBS)
26
	$(CC) $(CFLAGS) -o mtstl mtstl.o libml.a $(LIBS)

Return to bug 149776