forked from beagle-dev/beagle-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
66 lines (57 loc) · 2.58 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST=\
autogen.sh \
build.xml \
beagle.dox \
java/beagle/BeagleFactory.java \
java/beagle/BeagleInfo.java \
java/beagle/Beagle.java \
java/beagle/BeagleJNIWrapper.java \
java/beagle/DependencyAwareBeagleImpl.java \
java/beagle/FourStateBeagleImpl.java \
java/beagle/GeneralBeagleImpl.java \
project/beagle-xcode/beagle-xcode.xcodeproj/project.pbxproj \
project/beagle-vs/complextest/complextest_vc90.vcproj \
project/beagle-vs/fourtaxon/fourtaxon_vc90.vcproj \
project/beagle-vs/genomictest/genomictest_vc90.vcproj \
project/beagle-vs/tinytest/tinytest_vc90.vcproj \
project/beagle-vs/oddstatetest/oddstatetest_vc90.vcproj \
project/beagle-vs/matrixtest/matrixtest_vc90.vcproj \
project/beagle-vs/libhmsbeagle-cuda/createCombinedCudaHeader.bat \
project/beagle-vs/libhmsbeagle-cuda/createCUDAkernels.bat \
project/beagle-vs/libhmsbeagle-cuda/Cuda.Rules \
project/beagle-vs/libhmsbeagle/findJava.bat \
project/beagle-vs/libhmsbeagle/libhmsbeagle_vc90.vcproj \
project/beagle-vs/libhmsbeagle-cpu/libhmsbeagle-cpu_vc90.vcproj \
project/beagle-vs/libhmsbeagle-cpu-openmp/libhmsbeagle-cpu-openmp_vc90.vcproj \
project/beagle-vs/libhmsbeagle-cpu-sse/libhmsbeagle-cpu-sse_vc90.vcproj \
project/beagle-vs/libhmsbeagle-cuda/libhmsbeagle-cuda_vc90.vcproj \
project/beagle-vs/libhmsbeagle_vc90.sln \
project/beagle-vs/tinytest/tinytest_vc90.vcproj \
project/beagle-vs/beagleinstaller/banner.jpg \
project/beagle-vs/beagleinstaller/beagleinstaller.vdproj \
project/beagle-vs/beagleinstaller/COPYING.LESSER.rtf \
project/beagle-vs/build_installer.bat
AM_CFLAGS=-I$(top_builddir) -I$(top_srcdir)
AM_CPPFLAGS=-I$(top_builddir) -I$(top_srcdir)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = hmsbeagle-$(GENERIC_API_VERSION).pc
# DOXYGEN SUPPORT
include $(top_srcdir)/aminclude.am
# ------------------------------------------------------------
# Support for profile-guided optimization. Run `make profile`
# ------------------------------------------------------------
# currently using complextest, need one that hits all possible code paths
#OPTIMIZATIONS= -O3
OPTIMIZATIONS= -O3 -mfpmath=sse -ftree-vectorizer-verbose=5 -msse -msse2 -ffast-math
profile:
make clean
make CXXFLAGS="$(CXXFLAGS) -fprofile-generate $(OPTIMIZATIONS)"
make -C examples/genomictest/ check CXXFLAGS="$(CXXFLAGS) -static -fprofile-generate $(OPTIMIZATIONS)"
make mostlyclean
make CXXFLAGS="$(CXXFLAGS) -fprofile-use $(OPTIMIZATIONS)"
CLEANFILES = \
libhmsbeagle/*/*.gcda libhmsbeagle/*/*.gcno \
libhmsbeagle/*/*/*.gcda libhmsbeagle/*/*/*.gcno \
examples/*/*/*.gcda examples/*/*/*.gcno
SUBDIRS = libhmsbeagle libhmsbeagle/JNI examples