Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
b707bf46
Commit
b707bf46
authored
10 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
only build CGC tools when --enable-cgc specified
Former-commit-id: 4d54a2573dd34b05bbe59c9134fc031be3ba176f
parent
4196cc67
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitattributes
+1
-1
1 addition, 1 deletion
.gitattributes
configure
+5
-1
5 additions, 1 deletion
configure
configure.in
+4
-1
4 additions, 1 deletion
configure.in
tools/Makefile.in
+13
-0
13 additions, 0 deletions
tools/Makefile.in
with
23 additions
and
3 deletions
.gitattributes
+
1
−
1
View file @
b707bf46
...
...
@@ -534,7 +534,7 @@ third_party/do_bea_update.sh -text
third_party/elfio-2.2.tar.gz -text
third_party/elfio.hpp -text
third_party/sqlite-autoconf-3071300.tar.gz -text
tools/Makefile -text
tools/Makefile
.in
-text
tools/cgclibc/Makefile -text
tools/cgclibc/cgclibc.cpp -text
tools/cgclibc/cgclibc.hpp -text
...
...
This diff is collapsed.
Click to expand it.
configure
+
5
−
1
View file @
b707bf46
...
...
@@ -565,6 +565,7 @@ ac_subst_vars='LTLIBOBJS
LIBOBJS
LD
CXX
BUILD_CGC
EXTRA_CXXFLAGS
target_alias
host_alias
...
...
@@ -1664,13 +1665,15 @@ LD=g++
if
test
"
$enable_cgc
"
=
yes
;
then
EXTRA_CXXFLAGS
=
-DCGC
BUILD_CGC
=
"yes"
fi
ac_config_files
=
"
$ac_config_files
tools/watch_syscall/Makefile tools/transforms/Makefile libIRDB/src/syscall/Makefile libIRDB/test/Makefile"
ac_config_files
=
"
$ac_config_files
tools/Makefile tools/watch_syscall/Makefile tools/transforms/Makefile libIRDB/src/syscall/Makefile libIRDB/test/Makefile"
cat
>
confcache
<<
\
_ACEOF
# This file is a shell script that caches the results of configure
...
...
@@ -2389,6 +2392,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
for ac_config_target in
$ac_config_targets
do
case
$ac_config_target
in
"tools/Makefile") CONFIG_FILES="
$CONFIG_FILES
tools/Makefile" ;;
"tools/watch_syscall/Makefile") CONFIG_FILES="
$CONFIG_FILES
tools/watch_syscall/Makefile" ;;
"tools/transforms/Makefile") CONFIG_FILES="
$CONFIG_FILES
tools/transforms/Makefile" ;;
"libIRDB/src/syscall/Makefile") CONFIG_FILES="
$CONFIG_FILES
libIRDB/src/syscall/Makefile" ;;
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
4
−
1
View file @
b707bf46
...
...
@@ -8,13 +8,16 @@ LD=g++
if test "$enable_cgc" = yes; then
EXTRA_CXXFLAGS=-DCGC
BUILD_CGC="yes"
fi
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(BUILD_CGC)
AC_SUBST(CXX)
AC_SUBST(LD)
AC_OUTPUT(tools/watch_syscall/Makefile
AC_OUTPUT(tools/Makefile
tools/watch_syscall/Makefile
tools/transforms/Makefile
libIRDB/src/syscall/Makefile
libIRDB/test/Makefile
...
...
This diff is collapsed.
Click to expand it.
tools/Makefile
→
tools/Makefile
.in
+
13
−
0
View file @
b707bf46
DIRS
=
safefr transforms spasm meds2pdb cover ret_shadow_stack selective_cfi
CGC_DIRS
=
cgclibc inferfn cinderella watch_syscall
DIRS
=
safefr transforms spasm meds2pdb cover ret_shadow_stack selective_cfi cgclibc inferfn cinderella watch_syscall
BUILD_CGC
=
@BUILD_CGC@
all
:
for
i
in
$(
DIRS
);
do
cd
$$
i
;
make all
;
cd
..
;
done
for
i
in
$(
DIRS
);
do
cd
$$
i
;
make all
;
cd
..
;
done
if
[
$(
BUILD_CGC
)
]
;
then for
i
in
$(
CGC_DIRS
);
do
cd
$$
i
;
make all
;
cd
..
;
done
;
fi
clean
:
for
i
in
$(
DIRS
);
do
cd
$$
i
;
make clean
;
cd
..
;
done
if
[
$(
BUILD_CGC
)
]
;
then for
i
in
$(
CGC_DIRS
);
do
cd
$$
i
;
make clean
;
cd
..
;
done
;
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment