mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 09:58:16 +00:00
commit
c62d7c9786
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
|||||||
hashcat
|
hashcat
|
||||||
hashcat.exe
|
hashcat.exe
|
||||||
libhashcat.so
|
libhashcat.so
|
||||||
|
libhashcat*.dylib
|
||||||
hashcat.dll
|
hashcat.dll
|
||||||
*.potfile
|
*.potfile
|
||||||
*.restore
|
*.restore
|
||||||
|
@ -98,6 +98,10 @@ LIBRARY_DEV_FOLDER ?= $(LIBRARY_DEV_ROOT_FOLDER)/hashcat
|
|||||||
HASHCAT_FRONTEND := hashcat
|
HASHCAT_FRONTEND := hashcat
|
||||||
HASHCAT_LIBRARY := libhashcat.so.$(VERSION_PURE)
|
HASHCAT_LIBRARY := libhashcat.so.$(VERSION_PURE)
|
||||||
|
|
||||||
|
ifeq ($(UNAME),Darwin)
|
||||||
|
HASHCAT_LIBRARY := libhashcat.$(VERSION_PURE).dylib
|
||||||
|
endif # Darwin
|
||||||
|
|
||||||
ifeq ($(UNAME),CYGWIN)
|
ifeq ($(UNAME),CYGWIN)
|
||||||
HASHCAT_FRONTEND := hashcat.exe
|
HASHCAT_FRONTEND := hashcat.exe
|
||||||
HASHCAT_LIBRARY := hashcat.dll
|
HASHCAT_LIBRARY := hashcat.dll
|
||||||
@ -477,8 +481,13 @@ obj/%.NATIVE.SHARED.o: deps/lzma_sdk/%.c
|
|||||||
$(CC) -c $(CFLAGS_NATIVE) $< -o $@ -fpic
|
$(CC) -c $(CFLAGS_NATIVE) $< -o $@ -fpic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(UNAME),Darwin)
|
||||||
|
$(HASHCAT_LIBRARY): $(NATIVE_SHARED_OBJS)
|
||||||
|
$(CC) $^ -o $@ $(LFLAGS_NATIVE) -shared -current_version $(VERSION_PURE) -compatibility_version $(VERSION_PURE)
|
||||||
|
else
|
||||||
$(HASHCAT_LIBRARY): $(NATIVE_SHARED_OBJS)
|
$(HASHCAT_LIBRARY): $(NATIVE_SHARED_OBJS)
|
||||||
$(CC) $^ -o $@ $(LFLAGS_NATIVE) -shared -Wl,-soname,$(HASHCAT_LIBRARY)
|
$(CC) $^ -o $@ $(LFLAGS_NATIVE) -shared -Wl,-soname,$(HASHCAT_LIBRARY)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(SHARED),1)
|
ifeq ($(SHARED),1)
|
||||||
$(HASHCAT_FRONTEND): src/main.c $(HASHCAT_LIBRARY)
|
$(HASHCAT_FRONTEND): src/main.c $(HASHCAT_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user