File: use_debian_packaged_libssw.patch

package info (click to toggle)
libvcflib 1.0.0~rc1%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,836 kB
  • ctags: 1,488
  • sloc: cpp: 27,298; makefile: 177; ansic: 139; python: 46; perl: 26; sh: 19
file content (23 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 22 Nov 2016 10:56:09 +0100
Bug-Debian: https://bugs.debian.org/838513
Description: Use Debian packaged libssw (while its not clear
 why two implementations of Smith-Waterman are needed at all)

--- a/Makefile
+++ b/Makefile
@@ -136,13 +136,7 @@ CXXFLAGS = -O3 -D_FILE_OFFSET_BITS=64 -s
 #CXXFLAGS = -O2
 #CXXFLAGS = -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-qual
 
-SSW = src/ssw.o src/ssw_cpp.o
-
-src/ssw.o: src/ssw.h src/ssw.c
-	$(CXX) -c $(CFLAGS) -fPIC -o $@ src/$(*F).c
-
-src/ssw_cpp.o: src/ssw_cpp.cpp src/ssw_cpp.h
-	$(CXX) -c $(CFLAGS) -fPIC -o $@ src/$(*F).cpp
+SSW = 
 
 openmp:
 	$(MAKE) CXXFLAGS="$(CXXFLAGS) -fopenmp -D HAS_OPENMP"