2005-10-31 16:30:23 +01:00
|
|
|
ROOT=..
|
|
|
|
include ../Make.config
|
2005-08-08 14:50:13 +02:00
|
|
|
# N.B. This is used only for secstore. It needn't be fast.
|
|
|
|
|
|
|
|
LIB=libmp.a
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
betomp.$O\
|
|
|
|
crt.$O\
|
|
|
|
letomp.$O\
|
|
|
|
mpadd.$O\
|
|
|
|
mpaux.$O\
|
|
|
|
mpcmp.$O\
|
|
|
|
mpdigdiv.$O\
|
|
|
|
mpdiv.$O\
|
|
|
|
mpeuclid.$O\
|
|
|
|
mpexp.$O\
|
|
|
|
mpextendedgcd.$O\
|
|
|
|
mpfmt.$O\
|
|
|
|
mpinvert.$O\
|
|
|
|
mpleft.$O\
|
|
|
|
mpmod.$O\
|
|
|
|
mpmul.$O\
|
|
|
|
mprand.$O\
|
|
|
|
mpright.$O\
|
|
|
|
mpsub.$O\
|
|
|
|
mptobe.$O\
|
|
|
|
mptoi.$O\
|
|
|
|
mptole.$O\
|
|
|
|
mptoui.$O\
|
|
|
|
mptouv.$O\
|
|
|
|
mptov.$O\
|
|
|
|
mpvecadd.$O\
|
|
|
|
mpveccmp.$O\
|
|
|
|
mpvecdigmuladd.$O\
|
|
|
|
mpvecsub.$O\
|
|
|
|
strtomp.$O
|
|
|
|
|
2005-11-04 16:47:45 +01:00
|
|
|
default: $(LIB)
|
2005-08-08 14:50:13 +02:00
|
|
|
$(LIB): $(OFILES)
|
2005-10-31 16:30:23 +01:00
|
|
|
$(AR) r $(LIB) $(OFILES)
|
|
|
|
$(RANLIB) $(LIB)
|
2005-08-08 14:50:13 +02:00
|
|
|
|
|
|
|
%.$O: %.c
|
|
|
|
$(CC) $(CFLAGS) $*.c
|
|
|
|
|