Commit Graph
84 Commits
Author SHA1 Message Date
jsteube 3dc77ced14 More preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-06 11:49:26 +02:00
jsteube 4b79ccd416 Preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-05 21:47:26 +02:00
jsteube ff376ce112 Moved bit operations out of shared.[hc] and created bitops.[hc]
based on https://github.com/hashcat/hashcat/pull/485/commits/1aafa13e09973568ae58e4a539ce1d7772bd7e0b
2016-09-05 14:12:31 +02:00
philsmd 04baf0ee54 added additional forward slash between folder and file (to make sure) 2016-08-18 15:48:44 +02:00
philsmd ab1005ab1a fixes #425: flexible way of searching for CRT_glob.o on linux and cygwin 2016-08-18 15:16:10 +02:00
Jens Steube e7214abee3 Do not remove *.dictstat with make clean 2016-07-09 09:54:11 +02:00
jsteube 49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__ 2016-07-08 23:23:16 +02:00
jsteube 96f2ade4bb Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
2016-07-08 23:14:57 +02:00
Nikolai Lifanov f1960ec73c use native compiler on FreeBSD 2016-07-05 15:14:11 -04:00
Nikolai Lifanov dd66aba33f Revert "make native build play well with external build systems"
This reverts commit 61efadb684.
2016-07-05 15:09:40 -04:00
Nikolai Lifanov 61efadb684 make native build play well with external build systems 2016-07-05 14:59:46 -04:00
Nikolai Lifanov 4a598af78c add FreeBSD Makefile target 2016-07-05 14:58:28 -04:00
anthraxx 7f8aaf7430 extend global CFLAGS and LDFLAGS to aid distro packaging
This preserves globally defined CFLAGS and LDFLAGS and simply
extends those variables to aid distro based packaging toolchains
and predefined distro wide defaults like SSP, relro etc.
2016-07-04 21:01:51 +02:00
Josh de Kock 86cf95e878 Makefile: remove .app for OSX 2016-07-02 00:11:37 +01:00
Josh de Kock 75a38b2e2e Makefile: fix sed on OSX
sed on OSX doesn't have -r so default to the usage of GNU sed
2016-07-02 00:08:12 +01:00
Unix-Ninja 2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN' 2016-06-27 08:13:50 -04:00
jsteube 9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU 2016-06-18 10:59:58 +02:00
jsteube aa78cf2c74 Fix sed call in Makefile 2016-06-11 11:39:49 +02:00
jsteube f600b9dd59 Get rid of cp in Makefile install target 2016-06-11 10:52:00 +02:00
philsmd eb08afa543 makefile: indentation fix (replace tabs with spaces) + comments about cygwin builds 2016-06-11 08:08:22 +02:00
Jens Steube f30629b21a Merge pull request #369 from hlein/DESTDIR
Added DESTDIR support
2016-06-10 23:54:46 +02:00
Jens Steube 10b086a31d Merge pull request #364 from neheb/patch-2
Add cygwin support
2016-06-10 23:51:04 +02:00
Mangix 37ff7fbc11 Small fix for < 10 Windows 2016-06-10 14:14:22 -07:00
Hank Leininger 8254e2e3c4 Make sure the INSTALL_FOLDER path exists.
This is only likely to come up when using DESTDIR to point to an
alternate directory tree, or if the user has pointed at some
exotic PREFIX for some reason, but should be harmless in the
normal case.
2016-06-10 15:29:10 -04:00
Hank Leininger 8a2bfff917 Added DESTDIR support.
This is a common thing for distros or build environments that want
to install to a sandbox location as part of testing or package-building.
It should be a harmless/no-op change when make is called without
DESTDIR defined.
2016-06-10 15:20:53 -04:00
Hank Leininger ecb7ba6f3e Removed obsolete entries from install: target.
These files have been renamed+moved under OpenCL, and are already
installed from there elsewhere in the install: target.
2016-06-10 15:10:50 -04:00
jsteube b875cb51ac Use CRT_glob.o to enable commandline globbing on windows binaries 2016-06-07 12:39:41 +02:00
neheb a8bebb4a55 Add cygwin support
Doesn't actually build but "make win64" or "make win32" still works.

Actually, why is the operating system even checked in the makefile?
2016-06-05 13:22:38 -07:00
jsteube 829289b109 Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune; 2016-06-04 00:54:28 +02:00
jsteube e9960709b5 Makefile fix 2016-06-03 13:05:18 +02:00
jsteube 040bbd416a More nvapi preparations and display skip reason in benchmark 2016-06-03 11:33:59 +02:00
jsteube 3c6296801a Prepare for reintegration of nvapi for checking thermal limit 2016-06-02 14:20:15 +02:00
jsteube d89a8a68d6 Finally got rid of NvAPI on Windows, replace with NVML 2016-05-31 22:48:58 +02:00
jsteube 19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
2016-05-30 00:05:46 +02:00
Jens Steube 2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
Rename includes in OpenCL so that it's easier to recognize them as such
2016-05-25 23:04:26 +02:00
anthraxx 3828ea354c fallback for Makefile version if its not a git checkout (tarball) (refix)
This makes use of git export-subst to insert the current ref names.
If git describe fails because because an extracted tarball is used
to build from source then the fallback will get called and the last
part of the ref names will be used for the version variable.

if it is a git checkout and HEAD is the current tag:

    v3.00-beta

If it is a git checkout and HEAD is ahead of the latest tag:

    v3.00-beta-36-g24a6095

If it is a tarball from a tag created via 'git archive HEAD --format=tar':

    v3.00-beta

If it is a tarball from the master created via 'git archive HEAD --format=tar':

    master

NOTE: If a tarball is manually created (without git archive) then the
version will "$Format:%D$", however before this commit it would not be
possible to build a release tarball at all (because git describe would fail)

Tarballs that you manually want to distribute on your website need to be either
downloaded from github and re-uploaded or need to be create via git-archive:

gzip:

git archive --format=tar HEAD|gzip > oclHashcat.tar.gz

bzip2:

git archive --format=tar HEAD|bzip2 > oclHashcat.tar.bz2

You can also use a tag for git archive like:

git archive --format=tar v2.01|bzip2 > oclHashcat-2.01.tar.bz2
2016-05-19 14:03:58 +02:00
Jens Steube a55c051c28 Revert "fallback for Makefile version if its not a git checkout (tarball)" 2016-05-19 11:10:16 +02:00
anthraxx a4e1692647 fallback for Makefile version if its not a git checkout (tarball)
This makes use of git export-subst to insert the current ref names.
If git describe fails because because an extracted tarball is used
to build from source then the fallback will get called and the last
part of the ref names will be used for the version variable.

if it is a git checkout and HEAD is the current tag:
- v3.00-beta

If it is a git checkout and HEAD is ahead of the latest tag:
- v3.00-beta-36-g24a6095

If it is a tarball from a tag created via 'git archive HEAD --format=tar':
- v3.00-beta

If it is a tarball from the master created via 'git archive HEAD --format=tar':
- master

NOTE: If a tarball is manually created (without git archive) then the
version will "$Format:%D$", however before this commit it would not be
possible to build a release tarball that is not a git checkout (because
git describe would fail)
2016-05-18 19:20:42 +02:00
jsteube aefd3b03a3 Use VERSION_TAG only, but uncut 2016-05-11 12:19:02 +02:00
jsteube e47030ed7d Prepare to rename project into hashcat
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
2016-05-10 19:07:07 +02:00
Jens Steube d7f8b356ef Fix for #265: hashcat_tuning.hctab wasn't installed automatically 2016-03-10 19:20:05 +01:00
philsmd 6636cc144d #245: Makefile DEBUG fix 2016-03-06 12:03:08 +01:00
magnum a5be8a75ed Allow and support vector-width 16, which is current maximum for
OpenCL. Closes #226.
2016-02-18 08:51:45 +01:00
Jens Steube e01038083c Update Makefile and BUILD.md 2016-02-04 09:44:52 +01:00
Gabriele 'matrix' Gristina f3407cd7f4 HWMon mod 2016-02-02 01:14:33 +01:00
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader 2016-01-31 23:48:38 +01:00
jsteube 21525b74e1 Remove more unnecessary libOpenCL*.a related stuff 2016-01-31 22:01:32 +01:00
Gabriele 'matrix' Gristina dcb4888dd5 Remove unnecessary libOpenCL*.a from Makefile 2016-01-31 19:48:40 +01:00
Jens Steube bfe3f148d7 As long as we depend on NVAPI for windows we also need to add a path to its includes 2016-01-27 20:09:17 +01:00
magnum 115d2b6a5a Drop dependencies on non-distributable ADL/NVML headers. The needed glue
is copied into our respective local headers. Should close #120.
2016-01-27 18:48:54 +01:00