Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Practical-Cryptdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhaozhen
Practical-Cryptdb
Commits
0bf9f739
Commit
0bf9f739
authored
Apr 18, 2017
by
casualet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nothing
parent
e65211e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
1 deletion
+91
-1
.gitignore
.gitignore
+0
-1
GNUmakefile
GNUmakefile
+91
-0
No files found.
.gitignore
View file @
0bf9f739
...
@@ -12,7 +12,6 @@ reset.sql
...
@@ -12,7 +12,6 @@ reset.sql
startMM.sh
startMM.sh
test
test
tutorial-basic.lua
tutorial-basic.lua
GNUmakefile
cscope.files
cscope.files
cscope.out
cscope.out
cscope.files
cscope.files
...
...
GNUmakefile
0 → 100644
View file @
0bf9f739
OBJDIR
:=
obj
TOP
:=
$(
shell
echo
$$
{
PWD-
`
pwd
`
}
)
CXX
:=
g++
AR
:=
ar
## -g -O0 -> -O2
CXXFLAGS
:=
-g
-O0
-fno-strict-aliasing
-fno-rtti
-fwrapv
-fPIC
\
-Wall
-Werror
-Wpointer-arith
-Wendif-labels
-Wformat
=
2
\
-Wextra
-Wmissing-noreturn
-Wwrite-strings
-Wno-unused-parameter
\
-Wno-deprecated
\
-Wmissing-declarations
-Woverloaded-virtual
\
-Wunreachable-code
-D_GNU_SOURCE
-std
=
c++0x
-I
$(TOP)
LDFLAGS
:=
-L
$(TOP)
/
$(OBJDIR)
-Wl
,--no-undefined
## Copy conf/config.mk.sample to conf/config.mk and adjust accordingly.
include
conf/config.mk
## Use RPATH only for debug builds; set RPATH=1 in config.mk.
ifeq
($(RPATH),1)
LDRPATH
:=
-Wl
,-rpath
=
$(TOP)
/
$(OBJDIR)
-Wl
,-rpath
=
$(TOP)
endif
CXXFLAGS
+=
-I
$(MYBUILD)
/include
\
-I
$(MYSRC)
/include
\
-I
$(MYSRC)
/sql
\
-I
$(MYSRC)
/regex
\
-I
$(MYBUILD)
/sql
\
-DHAVE_CONFIG_H
-DMYSQL_SERVER
-DEMBEDDED_LIBRARY
-DDBUG_OFF
\
-DMYSQL_BUILD_DIR
=
\"
$(MYBUILD)
\"
LDFLAGS
+=
-lpthread
-lrt
-ldl
-lcrypt
-lreadline
## To be populated by Makefrag files
OBJDIRS
:=
.PHONY
:
all
all
:
.PHONY
:
install
install
:
.PHONY
:
clean
clean
:
rm
-rf
$(OBJDIR)
.PHONY
:
doc
doc
:
doxygen CryptDBdoxgen
.PHONY
:
whitespace
whitespace
:
find
.
-name
'*.cc'
-o
-name
'*.hh'
-type
f
-exec
sed
-i
's/ *$//'
'{}'
';'
.PHONY
:
always
always
:
# Eliminate default suffix rules
.SUFFIXES
:
# Delete target files if there is an error (or make is interrupted)
.DELETE_ON_ERROR
:
# make it so that no intermediate .o files are ever deleted
.PRECIOUS
:
%.o
$(OBJDIR)/%.o
:
%.cc
@
mkdir
-p
$
(
@D
)
$(CXX)
-MD
$(CXXFLAGS)
-c
$<
-o
$@
echo
"11111111111111111111111"
$(OBJDIR)/%.o
:
$(OBJDIR)/%.cc
@
mkdir
-p
$
(
@D
)
$(CXX)
-MD
$(CXXFLAGS)
-c
$<
-o
$@
echo
"2222222222222222222222"
include
crypto/Makefrag
include
parser/Makefrag
include
main/Makefrag
#include test/Makefrag
include
util/Makefrag
include
udf/Makefrag
include
mysqlproxy/Makefrag
#include tools/import/Makefrag
#include tools/learn/Makefrag
#include scripts/Makefrag
$(OBJDIR)/.deps
:
$(foreach dir
,
$(OBJDIRS)
,
$(wildcard $(OBJDIR)/$(dir)/*.d))
@
mkdir
-p
$
(
@D
)
perl mergedep.pl
$@
$^
echo
"after merge"
-include
$(OBJDIR)/.deps
Write
Preview
Markdown
is supported
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