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-depend
binwalk
Commits
b7a3f666
Commit
b7a3f666
authored
Sep 06, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled the building of pyqtgraph and libfuzzy dependencies
parent
e8bd9d9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Makefile
src/bundles/Makefile
+10
-10
No files found.
src/bundles/Makefile
View file @
b7a3f666
LIB_DIR
=
"../
$(PYLIBDIR)
"
FILE_VERSION
=
`
ls
file-
*
.tar.gz | cut
-d
'-'
-f2
| cut
-d
'.'
-f1
,2
`
SSDEEP_VERSION
=
`
ls
ssdeep-
*
.tar.gz | cut
-d
'-'
-f2
| cut
-d
'.'
-f1
,2
`
PYQTGRAPH_VERSION
=
`
ls
pyqtgraph-
*
.tar.gz | cut
-d
'-'
-f2
| cut
-d
'.'
-f1
,2,3
`
#
SSDEEP_VERSION=`ls ssdeep-*.tar.gz | cut -d'-' -f2 | cut -d '.' -f1,2`
#
PYQTGRAPH_VERSION=`ls pyqtgraph-*.tar.gz | cut -d'-' -f2 | cut -d '.' -f1,2,3`
.PHONY
:
all clean_libs clean distclean
all
:
if
[
"
$(BUILD_FUZZY)
"
=
"yes"
]
;
then
make
-C
ssdeep-
$(SSDEEP_VERSION)
libfuzzy.la
;
fi
if
[
"
$(BUILD_FUZZY)
"
=
"yes"
]
;
then
cp ssdeep-
$(SSDEEP_VERSION)
/.libs/libfuzzy.
$(SOEXT)
$(LIB_DIR)
;
fi
#
if [ "$(BUILD_FUZZY)" = "yes" ]; then make -C ssdeep-$(SSDEEP_VERSION) libfuzzy.la; fi
#
if [ "$(BUILD_FUZZY)" = "yes" ]; then cp ssdeep-$(SSDEEP_VERSION)/.libs/libfuzzy.$(SOEXT) $(LIB_DIR); fi
if
[
"$(BUILD_MAGIC)"
=
"yes"
];
then
make
-C
file-$(FILE_VERSION)/src
magic.h;
fi
# This must be done first for OSX, else MAGIC_VERSION is undefined
if
[
"$(BUILD_MAGIC)"
=
"yes"
];
then
make
-C
file-$(FILE_VERSION)/src
libmagic.la;
fi
if
[
"$(BUILD_MAGIC)"
=
"yes"
];
then
cp
file-$(FILE_VERSION)/src/.libs/libmagic.$(SOEXT)
$(LIB_DIR);
fi
if
[
"
$(BUILD_PYQTGRAPH)
"
=
"yes"
]
&&
[
!
-e
$(LIB_DIR)
/pyqtgraph
]
;
then
cp
-R
pyqtgraph-
$(PYQTGRAPH_VERSION)
/pyqtgraph
$(LIB_DIR)
/
;
fi
#
if [ "$(BUILD_PYQTGRAPH)" = "yes" ] && [ ! -e $(LIB_DIR)/pyqtgraph ]; then cp -R pyqtgraph-$(PYQTGRAPH_VERSION)/pyqtgraph $(LIB_DIR)/; fi
clean_libs
:
rm
-f
$(LIB_DIR)
/libmagic.
$(SOEXT)
rm
-f
$(LIB_DIR)
/libfuzzy.
$(SOEXT)
rm
-rf
$(LIB_DIR)
/pyqtgraph
#
rm -f $(LIB_DIR)/libfuzzy.$(SOEXT)
#
rm -rf $(LIB_DIR)/pyqtgraph
clean
:
clean_libs
if
[
"
$(BUILD_FUZZY)
"
=
"yes"
]
;
then
make
-C
ssdeep-
$(SSDEEP_VERSION)
clean
;
fi
#
if [ "$(BUILD_FUZZY)" = "yes" ]; then make -C ssdeep-$(SSDEEP_VERSION) clean; fi
if
[
"$(BUILD_MAGIC)"
=
"yes"
];
then
make
-C
file-$(FILE_VERSION)
clean;
fi
distclean
:
clean_libs
rm
-rf
./ssdeep-
$(SSDEEP_VERSION)
#
rm -rf ./ssdeep-$(SSDEEP_VERSION)
rm
-rf
./file-$(FILE_VERSION)
rm
-rf
./pyqtgraph-
$(PYQTGRAPH_VERSION)
#
rm -rf ./pyqtgraph-$(PYQTGRAPH_VERSION)
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