Skip to content
Snippets Groups Projects
Commit 6ab9858d authored by Matt Johnston's avatar Matt Johnston
Browse files

Update Makefile.in for dropbear

--HG--
branch : libtommath
extra : convert_revision : 11081ab8c4f56bc850c99ac6c7af31de7b4bca0d
parent 0ac65f3f
Branches
No related merge requests found
...@@ -5,16 +5,22 @@ ...@@ -5,16 +5,22 @@
#version of library #version of library
VERSION=0.35 VERSION=0.35
CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare VPATH=@srcdir@
srcdir=@srcdir@
# Dropbear takes flags from the toplevel makefile
CFLAGS += -I$(srcdir)
#CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare
#for speed #for speed
CFLAGS += -O3 -funroll-all-loops #CFLAGS += -O3 -funroll-all-loops
#for size #for size
#CFLAGS += -Os #CFLAGS += -Os
#x86 optimizations [should be valid for any GCC install though] #x86 optimizations [should be valid for any GCC install though]
CFLAGS += -fomit-frame-pointer #CFLAGS += -fomit-frame-pointer
#debug #debug
#CFLAGS += -g3 #CFLAGS += -g3
...@@ -67,7 +73,7 @@ bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o ...@@ -67,7 +73,7 @@ bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o
libtommath.a: $(OBJECTS) libtommath.a: $(OBJECTS)
$(AR) $(ARFLAGS) libtommath.a $(OBJECTS) $(AR) $(ARFLAGS) libtommath.a $(OBJECTS)
ranlib libtommath.a $(RANLIB) libtommath.a
#make a profiled library (takes a while!!!) #make a profiled library (takes a while!!!)
# #
...@@ -148,8 +154,8 @@ clean: ...@@ -148,8 +154,8 @@ clean:
rm -f *.bat *.pdf *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \ rm -f *.bat *.pdf *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \
*.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log *.s mpi.c *.da *.dyn *.dpi tommath.tex `find -type f | grep [~] | xargs` *.lo *.la *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log *.s mpi.c *.da *.dyn *.dpi tommath.tex `find -type f | grep [~] | xargs` *.lo *.la
rm -rf .libs rm -rf .libs
cd etc ; make clean cd etc && make clean
cd pics ; make clean cd pics && make clean
zipup: clean manual poster docs zipup: clean manual poster docs
perl gen.pl ; mv mpi.c pre_gen/ ; \ perl gen.pl ; mv mpi.c pre_gen/ ; \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment