forked from CESNET/libfastbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
executable file
·63 lines (49 loc) · 2.37 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
AUTOMAKE_OPTIONS=gnu
ACLOCAL_AMFLAGS=-I tests/m4
SUBDIRS = src examples java tests contrib
bin_SCRIPTS = tests/scripts/fastbit-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fastbit.pc
# Local change
RPMDIR = RPMBUILD
EXTRA_DIST = runconfig win/README win/Win.mak win/MinGW.mak win/ardea.vcproj \
win/ibis.sln win/ibis.vcproj win/thula.vcproj win/tcapi.vcproj \
win/trydll.cpp win/dll.vcproj win/trydll.vcproj win/java.vcproj \
win/FlexLexer.h contrib/README contrib/fbmerge/fbmerge.cpp \
contrib/fbmerge/Makefile.am contrib/fbmerge/Makefile.in \
contrib/fbmerge/fbmerge.sln contrib/fbmerge/fbmerge.vcproj \
fastbit.spec.in README.md
docdir = ${datadir}/doc/${PACKAGE}
dist_doc_DATA = doc/dataDistributions.html doc/header.html doc/contact.html \
doc/index.html doc/quickstart.html doc/dataLoading.html doc/rara.html \
doc/ibisCommandLine.html doc/indexSpec.html doc/footer.html
docs:
cd src && $(MAKE) docs
# three levels of thoroughness are available for checking the
# correctness of FastBit functions: check, more-check, and full-check.
# The normal check may take about a few seconds on a typical Linux machine,
# more-check takes about ten to fifteen minutes, while full-check takes
# several hours.
more-check:
cd tests && $(MAKE) more-check
full-check:
cd tests && $(MAKE) full-check
clean: clean-recursive
-rm -f win/*.suo win/*.ncb win/*/*.suo win/*/*.ncb win/*.obj win/*.lib win/*.exe win/*.exe.* win/*/*.obj win/*/*.lib win/*/*.exe win/*/*.exe.* win/fastbit.def
-rm -fr autom4te.cache doc/html doc/latex win/Debug win/Release win/*/Debug win/*/Release win/dll win/*.vcproj.* win/*/*.vcproj.*
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES) Makefile win/*.suo win/*.ncb win/*.obj win/*.exe win/*.exe.* win/*/*.suo win/*/*.ncb win/*/*.obj win/*/*.exe win/*/*.exe.*
-rm -fr autom4te.cache doc/html doc/latex win/Debug win/Release win/*/Debug win/*/Release win/dll win/*.vcproj.* win/*/*.vcproj.*
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR) autom4te.cache
-rm -f Makefile
#dist-hook:
# -rm -rf `find $(distdir) \( -name CVS -o \name .svn \)`
# Local change
.PHONY: rpm
rpm: dist $(PACKAGE).spec
@mkdir -p $(RPMDIR)/BUILD $(RPMDIR)/RPMS $(RPMDIR)/SOURCES $(RPMDIR)/SPECS $(RPMDIR)/SRPMS;
mv $(distdir).tar.gz $(RPMDIR)/SOURCES/
$(RPMBUILD) -ba $(PACKAGE).spec \
--define "_topdir `pwd`/$(RPMDIR)";
.PHONY: docs more-check full-check