2f0c8163e7
samdump2 is a tool for dumping Windows 2k/NT/XP password hashes. with some tweaks by and ok ajacoutot@
29 lines
842 B
Plaintext
29 lines
842 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/06/02 08:36:02 benoit Exp $
|
|
--- Makefile.orig Thu Oct 2 15:44:47 2008
|
|
+++ Makefile Tue Jun 2 09:24:11 2009
|
|
@@ -24,13 +24,13 @@ DISTFILES = AUTHORS ChangeLog hive.c LICENSE list.h Ma
|
|
samdump2.1 samdump2.h bkhive.c COPYING hive.h list.c\
|
|
main.c README samdump2.c
|
|
DESTDIR =
|
|
-PREFIX = /usr/local/
|
|
+PREFIX = ${PREFIX}
|
|
BINDIR = $(PREFIX)/bin
|
|
MANDIR = $(PREFIX)/share/man/man1
|
|
INSTALL = $(shell which install)
|
|
CC = $(shell which gcc)
|
|
CFLAGS = -Wall
|
|
-LIBS = -lssl
|
|
+LIBS = -lssl -lcrypto
|
|
|
|
# Default target
|
|
all: build
|
|
@@ -49,7 +49,7 @@ clean:
|
|
@echo ""
|
|
|
|
# Install target
|
|
-install: build infos
|
|
+install: build
|
|
@echo "Creating directories..."
|
|
$(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(MANDIR)
|