blob: 7272138cfb051fb090f61253013cda3ef2884ceb (
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
32
33
34
35
36
37
38
39
40
|
$NetBSD: patch-aa,v 1.2 2009/07/07 15:28:47 joerg Exp $
--- Makefile.orig 2003-06-30 14:45:27.000000000 +0200
+++ Makefile
@@ -1,13 +1,13 @@
# Makefile - makefile for rexima
-CC=gcc
-CFLAGS=-O -Wall
+#CC=gcc
+#CFLAGS=-O -Wall
# Set BINDIR to directory for binary,
# MANDIR to directory for man page.
# Usually it will be simpler to just set PREFIX.
#
-PREFIX=/usr/local
+#PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man/man1
@@ -17,14 +17,14 @@ MANDIR=$(PREFIX)/man/man1
all: rexima
rexima: rexima.o
- $(CC) $(CFLAGS) -o rexima rexima.o -lncurses
+ $(CC) $(CFLAGS) -o rexima rexima.o -lncurses ${LIBOSSAUDIO}
installdirs:
- /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
+ /bin/sh ./mkinstalldirs ${DESTDIR}$(BINDIR) ${DESTDIR}$(MANDIR)
install: rexima installdirs
- install -s -m 755 rexima $(BINDIR)
- install -m 644 rexima.1 $(MANDIR)
+ ${BSD_INSTALL_PROGRAM} rexima ${DESTDIR}$(BINDIR)
+ ${BSD_INSTALL_DATA} rexima.1 ${DESTDIR}$(MANDIR)
uninstall:
$(RM) $(BINDIR)/rexima $(MANDIR)/rexima.1
|