32 lines
749 B
Text
32 lines
749 B
Text
$NetBSD: patch-aa,v 1.2 2009/07/07 21:33:08 joerg Exp $
|
|
|
|
--- Makefile.orig Fri Oct 15 14:19:54 1993
|
|
+++ Makefile Thu May 18 00:48:33 2000
|
|
@@ -1,21 +1,20 @@
|
|
SHELL = /bin/sh
|
|
-DESTDIR = /usr/local/bin
|
|
-MANUAL = /usr/local/man/man1/kbanner.1
|
|
-CFLAGS = -O -KEOPT -KBREG -KINF
|
|
+MANUAL = $(PREFIX)/man/man1/kbanner.1
|
|
+#CFLAGS = -O -KEOPT -KBREG -KINF
|
|
OBJ = kbanner.o font1.o font2.o font3.o
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
- cc -c $(CFLAGS) $<
|
|
+ $(CC) -c $(CFLAGS) $<
|
|
|
|
kbanner: $(OBJ)
|
|
- cc $(OBJ) -o kbanner
|
|
+ $(CC) $(OBJ) -o kbanner
|
|
strip kbanner
|
|
|
|
clean:
|
|
rm -f *.o core
|
|
|
|
install: kbanner
|
|
- cp kbanner $(DESTDIR)/
|
|
- cp kbanner.1 $(MANUAL)
|
|
+ $(BSD_INSTALL_PROGRAM) kbanner $(DESTDIR)${PREFIX}/bin
|
|
+ $(BSD_INSTALL_MAN) kbanner.1 ${DESTDIR}$(MANUAL)
|