Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
097466b7
Commit
097466b7
authored
Apr 05, 2013
by
Axel Auweter
Browse files
Add mrproper target.
Ensure Thrift is being built with only one thread.
parent
6756d3eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
097466b7
...
...
@@ -19,8 +19,8 @@ info:
@
echo
"DCDB - Data Center Database"
@
echo
"Buildsystem description"
@
echo
""
@
echo
"Use the DCDBDEPSPATH environment variable to specify a build path
.
"
@
echo
"Currently, the project will be built to:"
@
echo
"Use the DCDBDEPSPATH environment variable to specify a build path
for the
"
@
echo
"
dependencies.
Currently, the project
dependenceis
will be built to:"
@
echo
"
$(DCDBDEPSPATH)
"
@
echo
""
@
echo
"Use the DCDBDEPLOYPATH environment variable to specifiy the path for deployment"
...
...
@@ -46,6 +46,13 @@ distclean: clean
@
echo
"Wiping dependencies..."
@
rm
-rf
$(DCDBDEPSPATH)
mrproper
:
distclean
$(
eval
U :
=
$(
shell
whoami
))
@
if
[
"
$(U)
"
=
"root"
]
;
then
echo
"Sorry, I won't allow you to use mrproper as root."
;
exit
1
;
fi
@
echo
""
@
echo
"Wiping installation directory..."
@
rm
-rf
$(DCDBDEPLOYPATH)
all
:
$(DCDBDEPSPATH)/.prerequesites
make
$(PROJECTS)
...
...
@@ -71,7 +78,8 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
$(eval T
:
= $(shell echo "$(DISTFILESPATHS)" | sed 's/.*thrift/thrift/' | sed 's/
\
.*//'))
@
cd
$(DCDBDEPSPATH)
/
$(T)
&&
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--without-qt4
--without-csharp
\
--without-java
--without-erlang
--without-python
--without-perl
--without-php
--without-php_extension
\
--without-ruby
--without-haskell
--without-go
--without-d
--with-cpp
--with-boost
=
$(DCDBDEPLOYPATH)
&&
make
&&
make
install
--without-ruby
--without-haskell
--without-go
--without-d
--with-cpp
--with-boost
=
$(DCDBDEPLOYPATH)
\
--enable-libtool-lock
&&
make
-j
1
&&
make
install
@echo
""
@echo
"Staging and configuring Cassandra..."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment