2011-11-22 21:57:34 +01:00
|
|
|
$NetBSD: patch-aa,v 1.5 2011/11/22 20:57:35 wiz Exp $
|
1998-08-07 12:35:47 +02:00
|
|
|
|
2011-11-22 21:57:34 +01:00
|
|
|
--- Makefile.orig 1994-06-23 12:14:46.000000000 +0000
|
|
|
|
+++ Makefile
|
|
|
|
@@ -39,7 +39,7 @@ OBJS = maplay.o ibitstream.o header.o sc
|
2002-06-27 17:52:11 +02:00
|
|
|
|
|
|
|
.SUFFIXES: .cc
|
|
|
|
|
|
|
|
-install:
|
|
|
|
+pre-install:
|
|
|
|
@./configuration.sh
|
|
|
|
|
|
|
|
all: maplay
|
2011-11-22 21:57:34 +01:00
|
|
|
@@ -48,6 +48,9 @@ maplay: $(OBJS)
|
2002-06-27 17:52:11 +02:00
|
|
|
$(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES) -lm
|
|
|
|
-strip $@
|
2011-11-22 21:57:34 +01:00
|
|
|
|
2002-06-27 17:52:11 +02:00
|
|
|
+install: all
|
2009-07-07 17:25:39 +02:00
|
|
|
+ ${INSTALL} -s -c -m 755 maplay ${DESTDIR}${PREFIX}/bin
|
2011-11-22 21:57:34 +01:00
|
|
|
+
|
2002-06-27 17:52:11 +02:00
|
|
|
.cc.o:
|
|
|
|
$(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
|
2011-11-22 21:57:34 +01:00
|
|
|
|