-
Notifications
You must be signed in to change notification settings - Fork 69
/
Makefile.am
83 lines (69 loc) · 2.52 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#===========================================================#
#To understand why it's structured this way see
#http://karelzak.blogspot.co.uk/2013/02/non-recursive-automake.html
ACLOCAL_AMFLAGS = -I build-aux/m4
#===========================================================#
#Start out empty, let the Makemodule.am files fill these in
lib_LTLIBRARIES=
noinst_LIBRARIES=
bin_PROGRAMS=
check_PROGRAMS=
man1_MANS=
dist_bin_SCRIPTS=
TESTS=
#===========================================================#
#Define flags for everything ever
TXT_VERSION:=$(shell cat $(top_srcdir)/build-aux/casm_version.txt)
AM_CXXFLAGS = -DTXT_VERSION='"$(TXT_VERSION)"'\
-DEIGEN_DEFAULT_DENSE_INDEX_TYPE=long\
-DGZSTREAM_NAMESPACE=gz\
-I$(srcdir)/include\
-I$(srcdir)/include/casm/external/gzstream\
-I$(srcdir)/include/casm/external/qhull/libqhullcpp
AM_CPPFLAGS = -I$(srcdir)/include/casm/external/qhull/libqhull_r/\
-I$(srcdir)/include/casm/external/gzstream\
$(BOOST_CPPFLAGS)
AM_LDFLAGS = $(BOOST_LDFLAGS)
BUILT_SOURCES=
#============================================================#
#Files that arent sources for executalbes or headers that get installed, but are needed in the distribution.
#Even though the include/casm/external is distributed through headers, the licensing and other files should
#also be included.
EXTRA_DIST=
EXTRA_DIST+=./build-aux/casm_version.txt\
./man\
./sample_input_files\
LICENSE
#Extra files that should be cleaned up upon `distclean`
DISTCLEANFILES=
#============================================================#
#Always have included modules use paths relative to this
#parent Makefile.am. Avoid variable expansion in *_SOURCES
#
#The following are generated by make_Makemodule.py:
# BEGIN MAKEMODULE
include $(srcdir)/apps/ccasm/Makemodule.am
include $(srcdir)/apps/completer/Makemodule.am
include $(srcdir)/include/casm/Makemodule.am
include $(srcdir)/include/ccasm/Makemodule.am
include $(srcdir)/src/casm/Makemodule.am
include $(srcdir)/src/ccasm/Makemodule.am
include $(srcdir)/tests/unit/Makemodule.am
# END MAKEMODULE
#============================================================#
#Misc targets
.FORCE:
test:
echo $(srcdir)
echo $(top_srcdir)
echo $(AM_LDFLAGS)
echo $(AM_CXXFLAGS)
echo $(AM_CPPFLAGS)
echo $(casm_LDFLAGS)
echo $(BOOST_LDFLAGS)
echo $(BOOST_CXXFLAGS)
echo $(BOOST_CPPFLAGS)
echo $(TXT_VERSION)
#============================================================#
#Recurse into these places (must be direct children, don't be fancy)
#SUBDIRS= ##DO NOT USE THIS. SERIOUSLY.##