-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathMakefile.am
47 lines (36 loc) · 1.28 KB
/
Makefile.am
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
# ACLOCAL_AMFLAGS=-I m4
# enable gcc output coloring if not set already
export GCC_COLORS ?= "error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01"
# sub directories to check for Makefiles
SUBDIRS = src python perl R tests doc .
# list of all personalities to be installed
PERSONALITIES=@PERSONALITIES@
# create tool links to activate respective personalities
install-exec-hook:
@echo " => creating personality links"
@cd $(DESTDIR)$(bindir); \
for p in @PERSONALITIES@; do \
$(LN_S) -f IntaRNA$(EXEEXT) $$p$(EXEEXT); \
done
################################################################
# doxygen
################################################################
if enable_doxygen
## doxygen documentation make target
@DX_RULES@
else
## generate mandatory targets otherwise generated by doxygen.m4
DX_PHONY =
endif
################################################################
# tests
################################################################
# global test directive # ensure all is compiled (need object files for tests)
.PHONY: DX_PHONY tests test
tests: all
@echo
@echo " => compiling and running tests ... will take a while ..."
@echo
@$(MAKE) clean-checkPROGRAMS -s -C tests
@$(MAKE) check -s -C tests || (cat tests/test-suite.log && false)
test: tests