-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile.am
More file actions
38 lines (30 loc) · 1.31 KB
/
Makefile.am
File metadata and controls
38 lines (30 loc) · 1.31 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
dist_bin_SCRIPTS =sixte-install.sh
dist_bin_SCRIPTS+=sixte-install.csh
ACLOCAL_AMFLAGS = -I build-aux/m4
EXTRA_DIST=INSTALL.txt mac_solve_sixte_dependencies.sh # include INSTALL.txt in the distributed package
# The sub-directories are built before the current directory.
# In order to change this, include "." in the list of SUBDIRS.
SUBDIRS=extlib libsixt tools test
# need also to tell distcheck where simput is
AM_DISTCHECK_CONFIGURE_FLAGS= --with-simput=${SIMPUT}
# Define the headers that will be installed in $(includedir):
include_HEADERS=sixteconfig.h
.PHONY: test
test:
cd test/exec/ && make test
cd test/e2e/ && ./run_e2e_test.sh
crit_mac_version_major=10
crit_mac_version_minor=10
install-exec-hook:
@if ([ 0$(OSX_VERSION_MAJOR) -eq $(crit_mac_version_major) ] && [ 0$(OSX_VERSION_MINOR) -gt $(crit_mac_version_minor) ]) || \
[ 0$(OSX_VERSION_MAJOR) -gt $(crit_mac_version_major) ]; then\
echo "\n *** Mac Version $(OSX_VERSION_MAJOR).$(OSX_VERSION_MINOR) detected *** ";\
echo "\n ... trying to solve known problems with this installation with this script:\n\n ";\
./mac_solve_sixte_dependencies.sh @simput_dir@ @prefix@;\
fi
EXTRA_DIST+=.version
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version