aboutsummaryrefslogtreecommitdiff
path: root/mail/hashcash/files/patch-Makefile
blob: 8ddf79f93d087a9704446e77bed0c69da740f848 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Makefile.orig	Wed Aug 11 19:01:24 2004
+++ Makefile	Wed Sep  8 10:01:54 2004
@@ -1,7 +1,7 @@
 HC_VERS = 1.02
-INSTALL_PATH = /usr/bin
-MAN_INSTALL_PATH = /usr/share/man/man1
-DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS)
+INSTALL_PATH = ${PREFIX}/bin
+MAN_INSTALL_PATH = ${PREFIX}/man/man1
+DOC_INSTALL_PATH = ${PREFIX}/share/doc/hashcash
 MAKEDEPEND = makedepend
 # add -DCHROMATIX for libfastmint integration
 EXTRA_COPT = -O3 -funroll-loops
@@ -12,8 +12,8 @@
 # if no POSIX or BSD, disable, still have builtin basic wildcard support
 # OPT = -O
 LDFLAGS = $(CARCH)
-CFLAGS = $(COPT) $(OPT) $(CWARN) $(CARCH)
-EXES = hashcash sha1 sha1test fastmint_benchtest
+CFLAGS += $(COPT) $(OPT) $(CWARN) $(CARCH)
+EXES = hashcash sha1 sha1test
 INSTALL = /usr/bin/install
 POD2MAN = pod2man
 POD2HTML = pod2html
@@ -31,7 +31,7 @@
 
 DIST = ../dist.csh
 
-build:	hashcash sha1 #fastmint_benchtest
+build:	hashcash sha1
 
 hashcash:	$(OBJS)
 	$(CC) $(LDFLAGS) $(OBJS) -o $@