Debian Codegraph @

bwa-apache2/Makefile

raw ◀ ▶
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 bwtindex.o is.o rope.o rle.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 ifeq ($(shell uname -s),GNU/kFreeBSD)
24 LIBS += -lrt
25 endif
26
27 .SUFFIXES:.c .o .cc
28
29 .c.o:
•30 $(CC) $(CPPFLAGS) -c $(CFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
31
32 all:$(PROG)
33
34 bwa:libbwa.a $(AOBJS) main.o
35 $(CC) $(CFLAGS) $(LDFLAGS) $(AOBJS) main.o -o $@ -L. -lbwa $(LIBS)
36
37 bwamem-lite:libbwa.a example.o
38 $(CC) $(CFLAGS) $(LDFLAGS) example.o -o $@ -L. -lbwa $(LIBS)
39
40 libbwa.a:$(LOBJS)
41 $(AR) -csru $@ $(LOBJS)
42
43 clean:
44 rm -f gmon.out *.o a.out $(PROG) *~ *.a
45
46 depend:
47 ( LC_ALL=C ; export LC_ALL; makedepend -Y -- $(CFLAGS) $(DFLAGS) $(CPPFLAGS) -- *.c )
48
49 # DO NOT DELETE THIS LINE -- make depend depends on it.
50
51 QSufSort.o: QSufSort.h
52 bamlite.o: bamlite.h malloc_wrap.h
53 bntseq.o: bntseq.h utils.h kseq.h malloc_wrap.h khash.h
54 bwa.o: bntseq.h bwa.h bwt.h ksw.h utils.h kstring.h malloc_wrap.h kvec.h
55 bwa.o: kseq.h
56 bwamem.o: kstring.h malloc_wrap.h bwamem.h bwt.h bntseq.h bwa.h ksw.h kvec.h
57 bwamem.o: ksort.h utils.h kbtree.h
58 bwamem_extra.o: bwa.h bntseq.h bwt.h bwamem.h kstring.h malloc_wrap.h
59 bwamem_pair.o: kstring.h malloc_wrap.h bwamem.h bwt.h bntseq.h bwa.h kvec.h
60 bwamem_pair.o: utils.h ksw.h
61 bwape.o: bwtaln.h bwt.h kvec.h malloc_wrap.h bntseq.h utils.h bwase.h bwa.h
62 bwape.o: ksw.h khash.h
63 bwase.o: bwase.h bntseq.h bwt.h bwtaln.h utils.h kstring.h malloc_wrap.h
64 bwase.o: bwa.h ksw.h
65 bwaseqio.o: bwtaln.h bwt.h utils.h bamlite.h malloc_wrap.h kseq.h
66 bwashm.o: bwa.h bntseq.h bwt.h
67 bwt.o: utils.h bwt.h kvec.h malloc_wrap.h
68 bwt_lite.o: bwt_lite.h malloc_wrap.h
69 bwtaln.o: bwtaln.h bwt.h bwtgap.h utils.h bwa.h bntseq.h malloc_wrap.h
70 bwtgap.o: bwtgap.h bwt.h bwtaln.h malloc_wrap.h
71 bwtindex.o: bntseq.h bwa.h bwt.h utils.h rle.h rope.h malloc_wrap.h
72 bwtsw2_aux.o: bntseq.h bwt_lite.h utils.h bwtsw2.h bwt.h kstring.h
73 bwtsw2_aux.o: malloc_wrap.h bwa.h ksw.h kseq.h ksort.h
74 bwtsw2_chain.o: bwtsw2.h bntseq.h bwt_lite.h bwt.h malloc_wrap.h ksort.h
75 bwtsw2_core.o: bwt_lite.h bwtsw2.h bntseq.h bwt.h kvec.h malloc_wrap.h
76 bwtsw2_core.o: khash.h ksort.h
77 bwtsw2_main.o: bwt.h bwtsw2.h bntseq.h bwt_lite.h utils.h bwa.h
78 bwtsw2_pair.o: utils.h bwt.h bntseq.h bwtsw2.h bwt_lite.h kstring.h
79 bwtsw2_pair.o: malloc_wrap.h ksw.h
80 example.o: bwamem.h bwt.h bntseq.h bwa.h kseq.h malloc_wrap.h
81 fastmap.o: bwa.h bntseq.h bwt.h bwamem.h kvec.h malloc_wrap.h utils.h kseq.h
82 is.o: malloc_wrap.h
83 kopen.o: malloc_wrap.h
84 kstring.o: kstring.h malloc_wrap.h
85 ksw.o: ksw.h neon_sse.h scalar_sse.h malloc_wrap.h
86 main.o: kstring.h malloc_wrap.h utils.h
87 malloc_wrap.o: malloc_wrap.h
88 maxk.o: bwa.h bntseq.h bwt.h bwamem.h kseq.h malloc_wrap.h
89 pemerge.o: ksw.h kseq.h malloc_wrap.h kstring.h bwa.h bntseq.h bwt.h utils.h
90 rle.o: rle.h
91 rope.o: rle.h rope.h
92 utils.o: utils.h ksort.h malloc_wrap.h kseq.h