blob: eae3940befaef50a6181f0f25e7d5090f0d9cc90 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
$NetBSD: patch-aa,v 1.1.1.1 2006/04/02 22:18:58 ben Exp $
--- Makefile.orig 2006-01-06 15:20:13.000000000 -0800
+++ Makefile
@@ -26,9 +26,9 @@ SHELL=/bin/sh
# You might want to change this to control how to install things:
# How we link or copy the program to where it belongs:
-LC=./Lc
+#LC=./Lc
#LC=/bin/ln -f
-#LC=/bin/cp -f
+LC=/bin/cp -f
#LC=/bin/mv -f
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
@@ -70,8 +70,8 @@ PS= \
Words1 w_01 w_AllMyLoving1 w_AllMyLoving2 w_NoFrontiers w_OrdinaryMan
# compilation options
-CC = gcc
-CFLAGS = -Wall -I/usr/demo/SOUND/include
+#CC = gcc
+#CFLAGS = -Wall -I/usr/demo/SOUND/include
# using Sun audio library
#CC = cc
@@ -79,15 +79,16 @@ CFLAGS = -Wall -I/usr/demo/SOUND/includ
#LDFLAGS = -L/usr/demo/SOUND/lib -laudio -lm
# using supplied audio functions
-CC = cc
-CFLAGS = -g
-LDFLAGS = -lm -g
+#CC = cc
+#CFLAGS = -g
+#LDFLAGS = -lm -g
+LDFLAGS+=-lm
# installation directories
-SYSDIR = $(HOME)
-BINDIR1 = $(HOME)/bin
-BINDIR2 = $(HOME)/p/cgi/abc
-MANDIR = $(SYSDIR)/man/man1
+SYSDIR = ${PREFIX}
+BINDIR1 = ${PREFIX}/bin
+#BINDIR2 = $(HOME)/p/cgi/abc
+#MANDIR = $(SYSDIR)/man/man1
OBJECTS=jcabc2ps.o \
buffer.o format.o macro.o memBlock.o minStr.o misc.o music.o parse.o \
@@ -189,7 +190,7 @@ util.o: \
# takes a file name and a directory in which to install it. The manual
# installation might take some tweaking for your system.
-install: $(BINDIR1)/$(A2P1) $(BINDIR2)/$(A2P1)
+install: $(BINDIR1)/$(A2P1)
man: $(MANDIR)/$(A2P1).1.gz
@@ -199,7 +200,7 @@ $(MANDIR)/$(A2P1).1: $(A2P1).1
# $(LC) $(A2P1).1.gz $(MANDIR)
$(BINDIR1)/$(A2P1): $(A2P1); $(LC) $(A2P1) $(BINDIR1)
-$(BINDIR2)/$(A2P1): $(A2P1); $(LC) $(A2P1) $(BINDIR2)
+#$(BINDIR2)/$(A2P1): $(A2P1); $(LC) $(A2P1) $(BINDIR2)
neat:
-rm -f core *- *.out log/*
|