Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126868 | Differences between
and this patch

Collapse All | Expand All

(-)libtommath-0.36/makefile.shared (-4 / +4 lines)
Lines 81-87 bn_mp_init_set_int.o bn_mp_invmod_slow.o Link Here
81
bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o
81
bn_mp_to_signed_bin_n.o bn_mp_to_unsigned_bin_n.o
82
82
83
$(LIBNAME):  $(OBJECTS)
83
$(LIBNAME):  $(OBJECTS)
84
	libtool --mode=link --tag=CC gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
84
	libtool --mode=link --tag=CC gcc $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
85
	libtool --mode=link --tag=CC gcc *.o -o $(LIBNAME_S)
85
	libtool --mode=link --tag=CC gcc *.o -o $(LIBNAME_S)
86
86
87
install: $(LIBNAME) $(HEADERS)
87
install: $(LIBNAME) $(HEADERS)
Lines 92-101 install: $(LIBNAME) $(HEADERS) Link Here
92
92
93
test: $(LIBNAME) demo/demo.o
93
test: $(LIBNAME) demo/demo.o
94
	gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o
94
	gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o
95
	libtool --mode=link gcc -o test demo/demo.o $(LIBNAME_S)
95
	libtool --mode=link gcc $(LDFLAGS) -o test demo/demo.o $(LIBNAME)
96
	
96
	
97
mtest: test	
97
mtest: test	
98
	cd mtest ; gcc $(CFLAGS) mtest.c -o mtest
98
	cd mtest ; gcc $(CFLAGS) $(LDFLAGS) mtest.c -o mtest
99
        
99
        
100
timing: $(LIBNAME)
100
timing: $(LIBNAME)
101
	gcc $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest
101
	libtool --mode=link gcc $(CFLAGS) $(LDFLAGS) -DTIMER demo/timing.c $(LIBNAME) -o ltmtest

Return to bug 126868