forked from cooljeanius/bap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
45 lines (31 loc) · 1.04 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
## top-level automake Makefile for bap
ACLOCAL_AMFLAGS = -I m4 --install
noinst_SCRIPTS = autogen.sh
# Work around buggy Debian ocaml patch
# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678577
export OCAML_COMPAT='c'
if HAVE_PIN
PINTRACES=pintraces
endif
BAPDIRS=libasmir ocaml utils tests $(PINTRACES)
SUBDIRS=batteries zarith-1.0 ounit pcre-ocaml ocamlgraph-1.8 objsize-0.16 libtracewrap VEX $(BAPDIRS)
test: all
$(MAKE) -C tests test
check-local: test
.PHONY: test check-local
install-intentional-failure:
@echo "BAP does not support the install target"
@false
.PHONY: cscope-local install-intentional-failure
cscope-local:
cscope -b `find . -name "*.[ch]" -or -name "*.hh" -or -name "*.cc" -or -name "*.cpp"`
.PHONY: bap-clean maintainer-clean-local distclean-local
bap-clean:
for d in $(BAPDIRS); do $(MAKE) -C $${d} clean; done
maintainer-clean-local: bap-clean distclean-local
@echo "BAP is still working on cleaning for maintainers"
distclean-local:
rm -rf autom4te.cache || rmdir autom4te.cache
if HAVE_ETAGS
all-local: tags
endif