Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
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
fact-gitdep
binwalk
Commits
4ca9b19d
Commit
4ca9b19d
authored
Jul 29, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added --with-ida configure option; added ida Makefile target
parent
2bf2c4a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
Makefile.in
Makefile.in
+9
-2
configure
configure
+14
-0
configure.ac
configure.ac
+6
-0
No files found.
Makefile.in
View file @
4ca9b19d
...
...
@@ -16,8 +16,11 @@ BUILD_C_LIBS=@BUILD_C_LIBS@
BUILD_BUNDLES
=
@BUILD_BUNDLES@
PYTHON
=
@PYTHON@
SRC_C_DIR
=
"./src/C"
SRC_BUNDLES_DIR
=
"./src/bundles"
IDA_DIR
?=
@IDA_DIR@
SRC_DIR
=
"./src"
SCRIPTS_DIR
=
"
$(SRC_DIR)
/scripts"
SRC_C_DIR
=
"
$(SRC_DIR)
/C"
SRC_BUNDLES_DIR
=
"
$(SRC_DIR)
/bundles"
ifeq
($(strip
$(prefix)),)
PREFIX
=
""
...
...
@@ -32,6 +35,10 @@ all: build
install
:
build
$(PYTHON)
./setup.py install
$(PREFIX)
ida
:
build
if
[
"
$(IDA_DIR)
"
!=
""
]
&&
[
-e
"
$(IDA_DIR)
/plugins"
]
;
then
cp
$(SCRIPTS_DIR)
/binida.py
$(IDA_DIR)
/plugins/
;
fi
if
[
"
$(IDA_DIR)
"
!=
""
]
&&
[
-e
"
$(IDA_DIR)
/python/lib/python2.7"
]
;
then
cp
-R
$(SRC_DIR)
/binwalk
$(IDA_DIR)
/python/lib/python2.7/
;
fi
build
:
if
[
"
$(BUILD_C_LIBS)
"
-eq
"1"
]
;
then
make
-C
$(SRC_C_DIR)
;
fi
if
[
"
$(BUILD_BUNDLES)
"
-eq
"1"
]
;
then
make
-C
$(SRC_BUNDLES_DIR)
;
fi
...
...
configure
View file @
4ca9b19d
...
...
@@ -603,6 +603,7 @@ INSTALL_OPTIONS
PLATFORM
SOEXT
SONAME
IDA_DIR
PYTHON
BUILD_PYQTGRAPH
BUILD_FUZZY
...
...
@@ -661,6 +662,7 @@ SHELL'
ac_subst_files
=
''
ac_user_opts
=
'
enable_option_checking
with_ida
with_python
enable_clibs
enable_bundles
...
...
@@ -1295,6 +1297,7 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-ida=
$HOME
/ida define the IDA install path
--with-python=python explicitly install using the specified python
interpreter (python2, python3, etc)
...
...
@@ -3304,6 +3307,15 @@ fi
# Check whether --with-ida was given.
if
test
"
${
with_ida
+set
}
"
=
set
;
then
:
withval
=
$with_ida
;
IDA_DIR
=
$withval
else
IDA_DIR
=
$HOME
/ida
fi
# Check whether --with-python was given.
if
test
"
${
with_python
+set
}
"
=
set
;
then
:
withval
=
$with_python
;
PYTHON
=
$withval
...
...
@@ -3407,6 +3419,8 @@ BUILD_PYQTGRAPH=$BUILD_PYQTGRAPH
PYTHON
=
$PYTHON
IDA_DIR
=
$IDA_DIR
SONAME
=
$SONAME
SOEXT
=
$SOEXT
...
...
configure.ac
View file @
4ca9b19d
...
...
@@ -7,6 +7,11 @@ AC_LANG(C)
AC_TYPE_SIZE_T
AC_FUNC_MALLOC
AC_ARG_WITH([ida],
[AS_HELP_STRING([--with-ida=$HOME/ida], [define the IDA install path])],
[IDA_DIR=$withval],
[IDA_DIR=$HOME/ida])
AC_ARG_WITH([python],
[AS_HELP_STRING([--with-python=python], [explicitly install using the specified python interpreter (python2, python3, etc)])],
[PYTHON=$withval],
...
...
@@ -86,6 +91,7 @@ AC_SUBST(BUILD_MAGIC, $BUILD_MAGIC)
AC_SUBST(BUILD_FUZZY, $BUILD_FUZZY)
AC_SUBST(BUILD_PYQTGRAPH, $BUILD_PYQTGRAPH)
AC_SUBST(PYTHON, $PYTHON)
AC_SUBST(IDA_DIR, $IDA_DIR)
AC_SUBST(SONAME, $SONAME)
AC_SUBST(SOEXT, $SOEXT)
AC_SUBST(PLATFORM, $(uname -s))
...
...
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