Commit 3af5636c by devttys0

Updated configure/makefiles, INSTALL

parent 51604ea8
...@@ -14,8 +14,8 @@ names and installation procedures may differ slightly. ...@@ -14,8 +14,8 @@ names and installation procedures may differ slightly.
INSTALLATION INSTALLATION
----------------------------------------- -----------------------------------------
Installation follows the typical configure/make process (python, gcc, libtool and autoconf Installation follows the typical configure/make process (standard development tools
must be installed in order to build): such as gcc, make, and Python must be installed in order to build):
$ ./configure $ ./configure
$ make $ make
......
...@@ -3353,14 +3353,14 @@ then ...@@ -3353,14 +3353,14 @@ then
then then
rm -rf $(ls ./src/C/file-*.tar.gz | sed -e 's/\.tar\.gz//') rm -rf $(ls ./src/C/file-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/C && tar -zxvf file-*.tar.gz > /dev/null) (cd ./src/C && tar -zxvf file-*.tar.gz > /dev/null)
(cd ./src/C/file-*/ && autoreconf -v && ./configure) || exit 1 (cd ./src/C/file-*/ && ./configure) || exit 1
fi fi
if test "$BUILD_FUZZY" != "0" if test "$BUILD_FUZZY" != "0"
then then
rm -rf $(ls ./src/C/ssdeep-*.tar.gz | sed -e 's/\.tar\.gz//') rm -rf $(ls ./src/C/ssdeep-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/C && tar -zxvf ssdeep-*.tar.gz > /dev/null) (cd ./src/C && tar -zxvf ssdeep-*.tar.gz > /dev/null)
(cd ./src/C/ssdeep-*/ && mkdir -p m4 && autoreconf -v && ./configure) || exit 1 (cd ./src/C/ssdeep-*/ && ./configure) || exit 1
fi fi
fi fi
......
...@@ -50,14 +50,14 @@ then ...@@ -50,14 +50,14 @@ then
then then
rm -rf $(ls ./src/C/file-*.tar.gz | sed -e 's/\.tar\.gz//') rm -rf $(ls ./src/C/file-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/C && tar -zxvf file-*.tar.gz > /dev/null) (cd ./src/C && tar -zxvf file-*.tar.gz > /dev/null)
(cd ./src/C/file-*/ && autoreconf -v && ./configure) || exit 1 (cd ./src/C/file-*/ && ./configure) || exit 1
fi fi
if test "$BUILD_FUZZY" != "0" if test "$BUILD_FUZZY" != "0"
then then
rm -rf $(ls ./src/C/ssdeep-*.tar.gz | sed -e 's/\.tar\.gz//') rm -rf $(ls ./src/C/ssdeep-*.tar.gz | sed -e 's/\.tar\.gz//')
(cd ./src/C && tar -zxvf ssdeep-*.tar.gz > /dev/null) (cd ./src/C && tar -zxvf ssdeep-*.tar.gz > /dev/null)
(cd ./src/C/ssdeep-*/ && mkdir -p m4 && autoreconf -v && ./configure) || exit 1 (cd ./src/C/ssdeep-*/ && ./configure) || exit 1
fi fi
fi fi
......
...@@ -144,7 +144,6 @@ for (root, dirs, files) in os.walk(os.path.join(MODULE_NAME, "libs", "pyqtgraph" ...@@ -144,7 +144,6 @@ for (root, dirs, files) in os.walk(os.path.join(MODULE_NAME, "libs", "pyqtgraph"
for directory in dirs: for directory in dirs:
install_data_files.append(os.path.join(os.path.sep.join(root.split(os.path.sep)[1:]), os.path.join(directory, "*.py"))) install_data_files.append(os.path.join(os.path.sep.join(root.split(os.path.sep)[1:]), os.path.join(directory, "*.py")))
print(install_data_files)
# Install the module, script, and support files # Install the module, script, and support files
setup(name = MODULE_NAME, setup(name = MODULE_NAME,
version = "2.0.0", version = "2.0.0",
......
LIBNAME=libcompress42.$(SOEXT) LIBNAME=libcompress42.$(SOEXT)
all: clean $(LIBNAME) all: $(LIBNAME)
$(LIBNAME): compress42.o $(LIBNAME): compress42.o
$(CC) $(CFLAGS) -shared -Wl,$(SONAME),$(LIBNAME) compress42.o -o $(LIBNAME) $(LDFLAGS) $(CC) $(CFLAGS) -shared -Wl,$(SONAME),$(LIBNAME) compress42.o -o $(LIBNAME) $(LDFLAGS)
...@@ -19,7 +19,6 @@ uninstall: ...@@ -19,7 +19,6 @@ uninstall:
.PHONY: clean distclean .PHONY: clean distclean
clean: clean:
rm -f *.o rm -f *.o $(LIBNAME)
distclean: clean distclean: clean
rm -f $(LIBNAME)
LIBNAME=libtinfl.$(SOEXT) LIBNAME=libtinfl.$(SOEXT)
all: clean $(LIBNAME) all: $(LIBNAME)
$(LIBNAME): tinfl.o $(LIBNAME): tinfl.o
$(CC) $(CFLAGS) -shared -Wl,$(SONAME),$(LIBNAME) tinfl.o -o $(LIBNAME) $(LDFLAGS) $(CC) $(CFLAGS) -shared -Wl,$(SONAME),$(LIBNAME) tinfl.o -o $(LIBNAME) $(LDFLAGS)
...@@ -19,7 +19,6 @@ uninstall: ...@@ -19,7 +19,6 @@ uninstall:
.PHONY: clean distclean .PHONY: clean distclean
clean: clean:
rm -f *.o rm -f *.o $(LIBNAME)
distclean: clean distclean: clean
rm -f $(LIBNAME)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment