blob: b0f4ad4b8f3dcd0cd66fb116394b5fd6bf645969 (
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
|
$NetBSD: patch-aa,v 1.5 2000/11/20 04:11:48 toshii Exp $
--- Makefile.in.orig Tue Jan 25 13:40:18 2000
+++ Makefile.in
@@ -36,7 +36,7 @@
# Change these values to tell make where to put the binary and the man page
# when it's done compiling.
-PREFIX = @PREFIX@
+PREFIX = @prefix@
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man
@@ -53,11 +53,13 @@
CFLAGS = @CFLAGS@ $(INCS)
# CFLAGS = -ggdb -DDEBUG=1 -Wall -Werror -Wwrite-strings $(INCS)
-LFLAGS = $(LIBDIR)
+LFLAGS = $(LIBDIR) @LDFLAGS@
# LFLAGS = -ggdb $(LIBDIR)
OBJS = @OBJS@
+all: cgoban-$(SYSTEM_TYPE)
+
cgoban-$(SYSTEM_TYPE): $(OBJS) $(OBJLIBS) wmslib/libwms-$(SYSTEM_TYPE).a
$(CC) $(LFLAGS) -o cgoban-$(SYSTEM_TYPE) $(OBJS) $(LIBS)
rm -f cgoban
@@ -66,6 +68,9 @@
install: cgoban-$(SYSTEM_TYPE) man6/cgoban.6
$(INSTALL_PROGRAM) cgoban-$(SYSTEM_TYPE) $(BINDIR)/cgoban
$(INSTALL_DATA) man6/cgoban.6 $(MANDIR)/man6/cgoban.6
+ $(BSD_INSTALL_SCRIPT) grab_cgoban $(BINDIR)/grab_cgoban
+ $(INSTALL_DATA) seigen-minoru.sgf $(PREFIX)/share/misc/seigen-minoru.sgf
+ $(INSTALL_DATA) man6/grab_cgoban.6 $(MANDIR)/man6/grab_cgoban.6
clean:
rm -f obj-$(SYSTEM_TYPE)/*.o obj-$(SYSTEM_TYPE)/client/*.o obj-$(SYSTEM_TYPE)/gmp/*.o
|