1998-09-15 22:05:58 +00:00
|
|
|
--- Makefile.orig Tue Jul 26 18:29:53 1994
|
2000-08-28 18:42:02 +00:00
|
|
|
+++ Makefile Sun Dec 26 12:00:15 1999
|
1998-09-15 22:05:58 +00:00
|
|
|
@@ -1,14 +1,15 @@
|
|
|
|
#### ack 1993,94 H.Ogasawara (COR.)
|
|
|
|
####
|
|
|
|
#### -- install directory
|
|
|
|
-BINARY = /usr/local/bin
|
|
|
|
-MANUAL = /usr/local/man/man1
|
2000-08-28 18:42:02 +00:00
|
|
|
+PREFIX ?= /usr/local
|
1998-09-15 22:05:58 +00:00
|
|
|
+BINARY = ${PREFIX}/bin
|
|
|
|
+MANUAL = ${PREFIX}/man/ja/man1
|
|
|
|
|
|
|
|
####
|
|
|
|
#### -- UNIX
|
2000-08-28 18:42:02 +00:00
|
|
|
-CC = cc
|
1998-09-15 22:05:58 +00:00
|
|
|
-CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
|
|
|
|
-#CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
|
2000-08-28 18:42:02 +00:00
|
|
|
+CC ?= cc
|
1998-09-15 22:05:58 +00:00
|
|
|
+#CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
|
2000-08-28 18:42:02 +00:00
|
|
|
+CFLAGS += -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
|
1998-09-15 22:05:58 +00:00
|
|
|
####
|
|
|
|
#### -- Human68k
|
|
|
|
#CC = gcc
|
|
|
|
@@ -34,8 +35,8 @@
|
|
|
|
$(CC) $(LDFLAGS) $(OBJ) -o $@
|
|
|
|
|
|
|
|
install: $(PROG)
|
|
|
|
- install -s -c $(PROG) $(BINARY)
|
|
|
|
- install -c ack.1 $(MANUAL)
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} $(PROG) $(BINARY)
|
|
|
|
+ ${BSD_INSTALL_MAN} ack.1 $(MANUAL)
|
|
|
|
|
|
|
|
codetosjis.o: codetosjis.c kanjicode.h
|
|
|
|
codetoeuc.o: codetoeuc.c kanjicode.h
|