-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
74 lines (60 loc) · 1.9 KB
/
Makefile.in
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
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
enable_versioned_dirs = @ac_enable_versioned@
ifeq ($(enable_versioned_dirs), no)
VERSION=
else
VERSION := $(shell cat VERSION)
endif
export VERSION
include Makefile.settings
MODULES = corrector dalign db lib.python scripts scrub touring utils msa patcher experimental hic
.PHONY: all
all: prebuild
for dir in $(MODULES); do \
if [ -d ./$$dir ]; then \
$(MAKE) -C $$dir $@ ; \
fi \
done
.PHONY: clean
clean:
for dir in $(MODULES); do \
if [ -d ./$$dir ]; then \
$(MAKE) -C $$dir $@ ; \
fi \
done
.PHONY: install
install:
$(INSTALL_PROGRAM) -d $(install_bin)
$(INSTALL_PROGRAM) -d $(install_scripts)
$(INSTALL_PROGRAM) -d $(install_python)
for dir in $(MODULES); do \
if [ -d ./$$dir ]; then \
$(MAKE) -C $$dir $@ ; \
fi \
done
ifeq ($(enable_versioned_dirs), yes)
rm -f $(bindir) $(prefix)/scripts $(prefix)/lib.python
ln -s $(install_bin) $(bindir)
ln -s $(install_scripts) $(prefix)/scripts
ln -s $(install_python) $(prefix)/lib.python
echo "$(VERSION)" > $(prefix)/VERSION
@echo "---------------------------------------------------------------"
@echo "Versioned installation into $(prefix)/$(VERSION) finished."
@echo "Symlinks in $(prefix) created."
@echo "Don't forget to include $(prefix)/lib.python in your PYTHONPATH."
@echo "---------------------------------------------------------------"
else
@echo "---------------------------------------------------------------"
@echo "Installation into $(prefix) finished."
@echo "Don't forget to include $(prefix)/lib.python in your PYTHONPATH."
@echo "---------------------------------------------------------------"
endif
prebuild: lib/oflags.h
build/oflags.sh lib/oflags.h lib.python/marvel/oflags.py
build/version.sh
Makefile: Makefile.in config.status Makefile.settings.in
./config.status $@
config.status: configure
./config.status --recheck