updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / ann / shared-libs.patch
blob45f237b50889d547f24e32f6276ae8ae50632f32
1 diff -u -r ann_1.1.1/Make-config ann_1.1.1.new/Make-config
2 --- ann_1.1.1/Make-config 2006-08-04 12:46:26.000000000 -0700
3 +++ ann_1.1.1.new/Make-config 2009-06-11 11:46:47.428863858 -0700
4 @@ -76,6 +76,14 @@
5 "MAKELIB = ar ruv" \
6 "RANLIB = true"
8 +linux-g++-sl:
9 + $(MAKE) targets \
10 + "ANNLIB = libANN.so" \
11 + "C++ = g++" \
12 + "CFLAGS = -O3 -fPIC" \
13 + "MAKELIB = g++ -shared -o" \
14 + "RANLIB = true"
16 # Mac OS X using g++
17 macosx-g++:
18 $(MAKE) targets \
19 diff -u -r ann_1.1.1/Makefile ann_1.1.1.new/Makefile
20 --- ann_1.1.1/Makefile 2006-08-04 12:46:26.000000000 -0700
21 +++ ann_1.1.1.new/Makefile 2009-06-11 11:47:14.175551635 -0700
22 @@ -42,6 +42,7 @@
23 default:
24 @echo "Enter one of the following:"
25 @echo " make linux-g++ for Linux and g++"
26 + @echo " make linux-g++-sl for Linux and g++, make shared libs"
27 @echo " make macosx-g++ for Mac OS X and g++"
28 @echo " make sunos5 for Sun with SunOS 5.x"
29 @echo " make sunos5-sl for Sun with SunOS 5.x, make shared libs"
30 @@ -56,7 +57,7 @@
31 #-----------------------------------------------------------------------------
32 # main make entry point
33 #-----------------------------------------------------------------------------
34 -alpha-g++ macosx-g++ linux-g++ sgi sunos4 sunos4-g++ sunos5 sunos5-g++ sunos5-g++-sl authors-debug authors-perf:
35 +alpha-g++ macosx-g++ linux-g++ linux-g++-sl sgi sunos4 sunos4-g++ sunos5 sunos5-g++ sunos5-g++-sl authors-debug authors-perf:
36 cd src ; $(MAKE) $@
37 cd test ; $(MAKE) $@
38 cd sample ; $(MAKE) $@
39 Only in ann_1.1.1.new/sample: ann_sample