|
|
|
@ -451,9 +451,9 @@ Only Linux, FreeBSD and Darwin can use the 'install' target
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(SHARED),1)
|
|
|
|
|
install: install_docs install_shared install_library install_library_dev install_hashcat
|
|
|
|
|
install: install_docs install_shared install_library install_library_dev install_kernels install_modules install_hashcat
|
|
|
|
|
else
|
|
|
|
|
install: install_docs install_shared install_hashcat
|
|
|
|
|
install: install_docs install_shared install_kernels install_modules install_hashcat
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# we need this extra target to make sure that for parallel builds (i.e. 2+ Makefile targets could possible run at the same time)
|
|
|
|
@ -502,10 +502,17 @@ install_shared: install_make_shared_root
|
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)
|
|
|
|
|
$(INSTALL) -m 644 hashcat.hctune $(DESTDIR)$(SHARED_FOLDER)/
|
|
|
|
|
$(INSTALL) -m 644 hashcat.hcstat2 $(DESTDIR)$(SHARED_FOLDER)/
|
|
|
|
|
|
|
|
|
|
install_kernels: install_shared
|
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/OpenCL
|
|
|
|
|
$(FIND) OpenCL/ -mindepth 1 -type d -execdir $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/OpenCL/{} \;
|
|
|
|
|
$(FIND) OpenCL/ -mindepth 1 -type f -execdir $(INSTALL) -m 644 {} $(DESTDIR)$(SHARED_FOLDER)/OpenCL/{} \;
|
|
|
|
|
|
|
|
|
|
install_modules: install_shared modules
|
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/modules
|
|
|
|
|
$(FIND) modules/ -mindepth 1 -type d -execdir $(INSTALL) -m 755 -d $(DESTDIR)$(SHARED_FOLDER)/modules/{} \;
|
|
|
|
|
$(FIND) modules/ -mindepth 1 -type f -execdir $(INSTALL) -m 644 {} $(DESTDIR)$(SHARED_FOLDER)/modules/{} \;
|
|
|
|
|
|
|
|
|
|
install_library: $(HASHCAT_LIBRARY)
|
|
|
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(LIBRARY_FOLDER)
|
|
|
|
|
$(INSTALL) -m 755 $(HASHCAT_LIBRARY) $(DESTDIR)$(LIBRARY_FOLDER)/
|
|
|
|
|