-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile.in
More file actions
144 lines (117 loc) · 2.61 KB
/
Makefile.in
File metadata and controls
144 lines (117 loc) · 2.61 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
SUBDIRS=src
PACKAGE_TARNAME = mapgd
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
includedir = @includedir@
libdir = @libdir@
libexecdir = @libexecdir@
datarootdir = @datarootdir@
mandir = @mandir@
man1dir = @mandir@/man1
man5dir = @mandir@/man5
DOCPATH = @docdir@
HAVE_GSL=@HAVE_GSL@
HAVE_OMP=@HAVE_OMP@
HAVE_MPI=@HAVE_MPI@
HAVE_SQL=@HAVE_SQL@
HAVE_HTS=@HAVE_HTS@
HAVE_MAN=@HAVE_MAN@
USE_NLS=@USE_NLS@
HAVE_LZ4=@HAVE_LZ4@
PACKAGE_VERSION=@PACKAGE_VERSION@
PROGRAM_VERSION=$(shell cat ./src/mapgd_0.4/VERSION | cut -d '-' -f 1)
export OMPI_CXX=@CXX@
MPICXX=@MPICXX@ -std=c++11
CXX=@CXX@
OPENMP_CXXFLAGS=@OPENMP_CXXFLAGS@
CXXFLAGS=@CXXFLAGS@
LDFLAGS=@LDFLAGS@
LDLIBS += @INTLLIBS@
#SAMTOOLS FLAGS
#@Hsource@HTSDIR = @HTSDIR@
#@Hsource@HTSLIB = $(HTSDIR)/libhts.a
#@Hsource@HTSLIB_LIB = $(HTSLIB)
#@Hsource@BGZIP = $(HTSDIR)/bgzip
# HTSDIR is not always defined in ax_with_htslib
#HTSDIR := $(realpath @HTSDIR@)
HTSLIB_CPPFLAGS = @HTSLIB_CPPFLAGS@
HTSLIB_LDFLAGS = @HTSLIB_LDFLAGS@
@Hinstall@HTSLIB_LIB = -lhts
#LZ4 FLAGS
LZ4_LIB = -L @LZ4_DIR@ -l llz4
LZ4_INCLUDE = -I @LZ4_DIR@
export
all:
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
.PHONY: $(SUBDIRS)
nosql: NOSQL = 1
nosql: all
.PHONY: nosql
noomp: NOOMP = 1
noomp: all
.PHONY: noomp
docs:
$(MAKE) -C $(SUBDIRS) docs
.PHONY: docs
dist:
$(MAKE) -C $(SUBDIRS) dist
.PHONY: dist
echo:
@echo HAVE_GSL $(HAVE_GSL)
@echo HAVE_OMP $(HAVE_OMP)
@echo HAVE_SQL $(HAVE_SQL)
@echo HAVE_HTS $(HAVE_HTS)
@cat config.log
.PHONY: echo
debug:
$(MAKE) -C $(SUBDIRS) debug
.PHONY: dist
test: all
$(MAKE) -C $(SUBDIRS) test
.PHONY: test
install: all
$(MAKE) -C $(SUBDIRS) install
.PHONY: install
clean:
rm -f config.log
rm -f config.status
$(MAKE) -C $(SUBDIRS) clean
.PHONY: clean
increment:
$(MAKE) -C $(SUBDIRS) increment
.PHONY: clean
#test needs to prompt and remove untracked files.
push:
$(MAKE) -C $(SUBDIRS) all
$(MAKE) -C $(SUBDIRS) test
$(MAKE) -C $(SUBDIRS) docs
$(MAKE) -C $(SUBDIRS) clean
rm -f ./bin/mapgd
CXX=i686-w64-mingw32-c++
TARGET=mapgd-win64.exe
$(MAKE) -C $(SUBDIRS) all
$(MAKE) -C $(SUBDIRS) clean
CXX=x86_64-w64-mingw32-g++
TARGET=mapgd-win32.exe
$(MAKE) -C $(SUBDIRS) all
$(MAKE) -C $(SUBDIRS) clean
rm -f ./bin/mapgd
cp Makefile.empty Makefile
$(MAKE) -C $(SUBDIRS) increment
PROGRAM_VERSION=$(shell cat ./src/mapgd_0.4/VERSION)
git tag $(PROGRAM_VERSION)
git add -u
git commit
git push
git push origin $(PROGRAM_VERSION)
rm -rf autom4te.cache/
rm -rf aclocal.m4
rm -rf config.log
rm -rf config.status
git checkout gh-pages
./update.sh
git checkout master
.PHONY: push