Debian Codegraph @

bwa-apache2/Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 CC= gcc
2 #CC= clang --analyze
3 CFLAGS= -g -Wall -Wno-unused-function -O2
4 WRAP_MALLOC=-DUSE_MALLOC_WRAPPERS
5 AR= ar
6 DFLAGS= -DHAVE_PTHREAD $(WRAP_MALLOC)
7 LOBJS= utils.o kthread.o kstring.o ksw.o bwt.o bntseq.o bwa.o bwamem.o bwamem_pair.o bwamem_extra.o malloc_wrap.o
8 AOBJS= rope.o rle.o bwashm.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o \
9 is.o bwtindex.o bwape.o kopen.o pemerge.o maxk.o \
10 bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o \
11 bwtsw2_chain.o fastmap.o bwtsw2_pair.o
12 PROG= bwa
13 INCLUDES=
14 LIBS= -lm -lz -lpthread
15 SUBDIRS= .
16
17 ifeq ($(shell uname -s),Linux)
18 LIBS += -lrt
19 endif
20 ifeq ($(shell uname -s),GNU/kFreeBSD)
21 LIBS += -lrt
22 endif
23
24 .SUFFIXES:.c .o .cc
25
26 .c.o:
27 $(CC) -c $(CFLAGS) $(DFLAGS) $(INCLUDES) $(CPPFLAGS) $< -o $@
28
29 all:$(PROG)
30
31 bwa:libbwa.a $(AOBJS) main.o
32 $(CC) $(CFLAGS) $(LDFLAGS) $(AOBJS) main.o -o $@ -L. -lbwa $(LIBS)
33
34 bwamem-lite:libbwa.a example.o
35 $(CC) $(CFLAGS) $(LDFLAGS) example.o -o $@ -L. -lbwa $(LIBS)
36
37 libbwa.a:$(LOBJS)
38 $(AR) -csru $@ $(LOBJS)
39
40 clean:
41 rm -f gmon.out *.o a.out $(PROG) *~ *.a
42
43 depend:
44 ( LC_ALL=C ; export LC_ALL; makedepend -Y -- $(CFLAGS) $(DFLAGS) $(CPPFLAGS) -- *.c )
45
46 # DO NOT DELETE THIS LINE -- make depend depends on it.
47
48 QSufSort.o: QSufSort.h
49 bamlite.o: bamlite.h malloc_wrap.h
50 bntseq.o: bntseq.h utils.h kseq.h malloc_wrap.h khash.h
51 bwa.o: bntseq.h bwa.h bwt.h ksw.h utils.h kstring.h malloc_wrap.h kvec.h
52 bwa.o: kseq.h
53 bwamem.o: kstring.h malloc_wrap.h bwamem.h bwt.h bntseq.h bwa.h ksw.h kvec.h
54 bwamem.o: ksort.h utils.h kbtree.h
55 bwamem_extra.o: bwa.h bntseq.h bwt.h bwamem.h kstring.h malloc_wrap.h
56 bwamem_pair.o: kstring.h malloc_wrap.h bwamem.h bwt.h bntseq.h bwa.h kvec.h
57 bwamem_pair.o: utils.h ksw.h
58 bwape.o: bwtaln.h bwt.h kvec.h malloc_wrap.h bntseq.h utils.h bwase.h bwa.h
59 bwape.o: ksw.h khash.h
60 bwase.o: bwase.h bntseq.h bwt.h bwtaln.h utils.h kstring.h malloc_wrap.h
61 bwase.o: bwa.h ksw.h
62 bwaseqio.o: bwtaln.h bwt.h utils.h bamlite.h malloc_wrap.h kseq.h
63 bwashm.o: bwa.h bntseq.h bwt.h
64 bwt.o: utils.h bwt.h kvec.h malloc_wrap.h
65 bwt_lite.o: bwt_lite.h malloc_wrap.h
66 bwtaln.o: bwtaln.h bwt.h bwtgap.h utils.h bwa.h bntseq.h malloc_wrap.h
67 bwtgap.o: bwtgap.h bwt.h bwtaln.h malloc_wrap.h
68 bwtindex.o: bntseq.h bwa.h bwt.h utils.h rle.h rope.h malloc_wrap.h
69 bwtsw2_aux.o: bntseq.h bwt_lite.h utils.h bwtsw2.h bwt.h kstring.h
70 bwtsw2_aux.o: malloc_wrap.h bwa.h ksw.h kseq.h ksort.h
71 bwtsw2_chain.o: bwtsw2.h bntseq.h bwt_lite.h bwt.h malloc_wrap.h ksort.h
72 bwtsw2_core.o: bwt_lite.h bwtsw2.h bntseq.h bwt.h kvec.h malloc_wrap.h
73 bwtsw2_core.o: khash.h ksort.h
74 bwtsw2_main.o: bwt.h bwtsw2.h bntseq.h bwt_lite.h utils.h bwa.h
75 bwtsw2_pair.o: utils.h bwt.h bntseq.h bwtsw2.h bwt_lite.h kstring.h
76 bwtsw2_pair.o: malloc_wrap.h ksw.h
77 example.o: bwamem.h bwt.h bntseq.h bwa.h kseq.h malloc_wrap.h
78 fastmap.o: bwa.h bntseq.h bwt.h bwamem.h kvec.h malloc_wrap.h utils.h kseq.h
79 is.o: malloc_wrap.h
80 kopen.o: malloc_wrap.h
81 kstring.o: kstring.h malloc_wrap.h
82 ksw.o: ksw.h neon_sse.h scalar_sse.h malloc_wrap.h
83 main.o: kstring.h malloc_wrap.h utils.h
84 malloc_wrap.o: malloc_wrap.h
85 maxk.o: bwa.h bntseq.h bwt.h bwamem.h kseq.h malloc_wrap.h
86 pemerge.o: ksw.h kseq.h malloc_wrap.h kstring.h bwa.h bntseq.h bwt.h utils.h
87 rle.o: rle.h
88 rope.o: rle.h rope.h
89 utils.o: utils.h ksort.h malloc_wrap.h kseq.h