blob: d84fa58da84c2adecc961d390613d814685d21b6 (
plain)
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
|
$NetBSD: patch-aa,v 1.4 2009/02/09 23:25:45 joerg Exp $
--- Makefile.orig Thu Aug 30 17:03:17 2001
+++ Makefile Wed Dec 3 15:29:20 2003
@@ -1,7 +1,7 @@
# Makefile - makefile for lbrate
CC=gcc
-CFLAGS=-O2 -Wall
+#CFLAGS=-O2 -Wall
# Set BINDIR to directory for binary,
# MANDIR to directory for man page.
@@ -19,14 +19,14 @@
all: lbrate
lbrate: $(OBJ)
- $(CC) $(CFLAGS) -o lbrate $(OBJ)
+ $(CC) $(CFLAGS) -o lbrate $(OBJ) $(LDFLAGS)
installdirs:
/bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
install: lbrate installdirs
- install -m 755 lbrate $(BINDIR)
- install -m 644 lbrate.1 $(MANDIR)
+ $(BSD_INSTALL_PROGRAM) lbrate ${DESTDIR}$(BINDIR)
+ $(BSD_INSTALL_MAN) lbrate.1 ${DESTDIR}${PREFIX}/$(PKGMANDIR)/man1/
uninstall:
$(RM) $(BINDIR)/lbrate $(MANDIR)/lbrate.1
|