comparison Makefile.in @ 388:fb54020f78e1 libtommath-dropbear

%s/ranlib/$(RANLIB)/
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 03:13:43 +0000
parents 4663ced4968f
children 5ff8218bcee9
comparison
equal deleted inserted replaced
387:4663ced4968f 388:fb54020f78e1
85 bn_mp_init_set_int.o bn_mp_invmod_slow.o bn_mp_prime_rabin_miller_trials.o \ 85 bn_mp_init_set_int.o bn_mp_invmod_slow.o bn_mp_prime_rabin_miller_trials.o \
86 bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o 86 bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o
87 87
88 $(LIBNAME): $(OBJECTS) 88 $(LIBNAME): $(OBJECTS)
89 $(AR) $(ARFLAGS) $@ $(OBJECTS) 89 $(AR) $(ARFLAGS) $@ $(OBJECTS)
90 ranlib $@ 90 $(RANLIB) $@
91 91
92 #make a profiled library (takes a while!!!) 92 #make a profiled library (takes a while!!!)
93 # 93 #
94 # This will build the library with profile generation 94 # This will build the library with profile generation
95 # then run the test demo and rebuild the library. 95 # then run the test demo and rebuild the library.
108 $(CC) $(CFLAGS) -DTESTING -DTIMER demo/timing.c mpi.o -o ltmtest 108 $(CC) $(CFLAGS) -DTESTING -DTIMER demo/timing.c mpi.o -o ltmtest
109 ./ltmtest 109 ./ltmtest
110 rm -f *.o ltmtest 110 rm -f *.o ltmtest
111 $(CC) $(CFLAGS) -fbranch-probabilities -DTESTING -c mpi.c -o mpi.o 111 $(CC) $(CFLAGS) -fbranch-probabilities -DTESTING -c mpi.c -o mpi.o
112 $(AR) $(ARFLAGS) $(LIBNAME) mpi.o 112 $(AR) $(ARFLAGS) $(LIBNAME) mpi.o
113 ranlib $(LIBNAME) 113 $(RANLIB) $(LIBNAME)
114 114
115 install: $(LIBNAME) 115 install: $(LIBNAME)
116 install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) 116 install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
117 install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) 117 install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
118 install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH) 118 install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)