File: use-shared-libs

package info (click to toggle)
kmc 3.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,716 kB
  • sloc: cpp: 38,308; python: 664; makefile: 216; perl: 179; sh: 34
file content (57 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Description: Use shared libs
Subject: use-shared-libs
From: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Forwarded: not-needed
---
 kmer_counter/fastq_reader.h | 8 ++++----
 makefile                    | 8 ++------
 2 files changed, 6 insertions(+), 10 deletions(-)

--- kmc.orig/kmc_tools/fastq_reader.h
+++ kmc/kmc_tools/fastq_reader.h
@@ -17,7 +17,7 @@
 #include <stdio.h>
 #include <iostream>
 
-#include "../3rd_party/cloudflare/zlib.h"
+#include <zlib.h>
 
 using namespace std;
 
@@ -88,4 +88,4 @@
 
 #endif
 
-// ***** EOF
\ No newline at end of file
+// ***** EOF
--- kmc.orig/Makefile
+++ kmc/Makefile
@@ -113,7 +113,6 @@
 endif
 endif
 
-LIB_ZLIB=3rd_party/cloudflare/libz.a
 LIB_KMC_CORE = $(OUT_BIN_DIR)/libkmc_core.a
 
 
@@ -142,8 +141,6 @@
 $(KMC_TOOLS_DIR)/percent_progress.o \
 $(KMC_TOOLS_DIR)/kff_info_reader.o
 
-$(LIB_ZLIB):
-	cd 3rd_party/cloudflare; ./configure; make libz.a
 
 $(KMC_CLI_OBJS) $(KMC_CORE_OBJS) $(KMC_DUMP_OBJS) $(KMC_API_OBJS) $(KFF_OBJS) $(KMC_TOOLS_OBJS): %.o: %.cpp
 	$(CC) $(CFLAGS) -I 3rd_party/cloudflare -c $< -o $@
--- kmc.orig/kmc_core/fastq_reader.h
+++ kmc/kmc_core/fastq_reader.h
@@ -15,7 +15,7 @@
 #include "params.h"
 #include <stdio.h>
 
-#include "../3rd_party/cloudflare/zlib.h"
+#include <zlib.h>
 
 using namespace std;