summaryrefslogtreecommitdiffstats
path: root/libtommath/makefile.shared
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-12-27 17:59:37 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-12-27 17:59:37 (GMT)
commit32dabb168bc76e93bb522c8de30e3023df038a0f (patch)
treec5c780d07b7da7ee1542cef409ca020ecad97c63 /libtommath/makefile.shared
parent23d966feecf52e4d2f8ffb358c375bf4ecee8d8a (diff)
downloadtcl-32dabb168bc76e93bb522c8de30e3023df038a0f.zip
tcl-32dabb168bc76e93bb522c8de30e3023df038a0f.tar.gz
tcl-32dabb168bc76e93bb522c8de30e3023df038a0f.tar.bz2
Import of libtommath 0.37
Diffstat (limited to 'libtommath/makefile.shared')
-rw-r--r--libtommath/makefile.shared10
1 files changed, 6 insertions, 4 deletions
diff --git a/libtommath/makefile.shared b/libtommath/makefile.shared
index 821558c..9d2c20a 100644
--- a/libtommath/makefile.shared
+++ b/libtommath/makefile.shared
@@ -1,7 +1,7 @@
#Makefile for GCC
#
#Tom St Denis
-VERSION=0:36
+VERSION=0:37
CC = libtool --mode=compile gcc
@@ -80,11 +80,13 @@ bn_mp_prime_random_ex.o bn_mp_get_int.o bn_mp_sqrt.o bn_mp_is_square.o bn_mp_ini
bn_mp_init_set_int.o bn_mp_invmod_slow.o bn_mp_prime_rabin_miller_trials.o \
bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o
+objs: $(OBJECTS)
+
$(LIBNAME): $(OBJECTS)
libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
- libtool --mode=link gcc *.o -o $(LIBNAME_S)
- ranlib $(LIBNAME_S)
- libtool --mode=install install -c $(LIBNAME) $(LIBPATH)/$@
+
+install: $(LIBNAME)
+ libtool --mode=install install -c $(LIBNAME) $(LIBPATH)/$(LIBNAME)
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)