-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
71 lines (55 loc) · 1.84 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
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
AM_COLOR_TESTS = always
Makefile.dep:
-$(CXX) -MM ./src/*.cpp > $@
-include Makefile.dep
noinst_PROGRAMS = tsvsim
bin_PROGRAMS = tsvtree
tsvtree_SOURCES =
tsvtree_SOURCES += $(top_srcdir)/src/tree_node.hpp
tsvtree_SOURCES += $(top_srcdir)/src/tree_view.hpp
tsvtree_SOURCES += $(top_srcdir)/src/tree_view.cpp
tsvtree_SOURCES += $(top_srcdir)/src/tree_parser.hpp
tsvtree_SOURCES += $(top_srcdir)/src/tree_parser.cpp
tsvtree_SOURCES += $(top_srcdir)/src/tree_utils.hpp
tsvtree_SOURCES += $(top_srcdir)/src/tree_utils.cpp
tsvtree_SOURCES += $(top_srcdir)/src/tree.cpp
tsvtree_SOURCES += $(top_srcdir)/src/tree.hpp
tsvtree_SOURCES += $(top_srcdir)/src/tsv.cpp
tsvtree_SOURCES += $(top_srcdir)/src/tsv.hpp
tsvtree_SOURCES += $(top_srcdir)/src/utils.cpp
tsvtree_SOURCES += $(top_srcdir)/src/utils.hpp
tsvtree_SOURCES += $(top_srcdir)/src/tsvtree.cpp
tsvtree_CPPFLAGS =
tsvtree_CPPFLAGS += $(BOOST_CPPFLAGS)
tsvtree_CPPFLAGS += -I$(top_srcdir)/src
tsvtree_LDFLAGS =
tsvtree_LDFLAGS += $(BOOST_LDFLAGS)
tsvtree_LDADD =
tsvtree_LDADD += -lfmt
tsvtree_LDADD += -lboost_program_options
tsvsim_SOURCES =
tsvsim_SOURCES += $(top_srcdir)/src/tsvsim.cpp
EXTRA_DIST =
EXTRA_DIST += $(top_srcdir)/examples/cities.tsv
EXTRA_DIST += $(top_srcdir)/debian
EXTRA_DIST += $(top_srcdir)/src/check.sh
EXTRA_DIST += $(top_srcdir)/README.md
dist_man_MANS = $(top_srcdir)/doc/tsvtree.1
CLEANFILES =
CLEANFILES += Makefile.dep
.PHONY: deb
deb: dist
rm -rf tmp;\
mkdir tmp;\
mv $(distdir).tar.gz $(distdir)-1.tar.gz; \
mv $(distdir)-1.tar.gz tmp;\
cd tmp;\
ln $(distdir)-1.tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz; \
tar -xvvzf $(distdir)-1.tar.gz; \
cd $(distdir)/debian; debuild --no-sign -j1
backup_emails = [email protected]
.PHONY: backup
backup: $(tarball_dir).tar.gz
echo "Backup" | mutt -s "Backup" -a $< -- $(backup_emails)