1998-09-28 02:32:25 +00:00
|
|
|
--- Makefile.custom.orig Wed May 24 09:12:05 1995
|
|
|
|
+++ Makefile.custom Sun Sep 27 12:04:31 1998
|
1997-01-03 09:27:10 +00:00
|
|
|
@@ -28,18 +28,18 @@
|
|
|
|
VERS = 1.2p03
|
|
|
|
|
|
|
|
# Installation directory
|
|
|
|
-prefix=/usr/local
|
|
|
|
+prefix=$(PREFIX)
|
|
|
|
#prefix=/public/projects/shogi
|
|
|
|
|
|
|
|
# Change these to something less transitory, like /usr/games, and then
|
|
|
|
# compile.
|
|
|
|
# Where the binaries live (especially gnushogix).
|
|
|
|
-BINDIR= $(prefix)/games
|
|
|
|
+BINDIR= $(prefix)/bin
|
|
|
|
#BINDIR=/public/projects/shogi/bin
|
|
|
|
|
|
|
|
|
|
|
|
# Distribution directory
|
|
|
|
-DISTDIR=/public/projects/shogi
|
|
|
|
+#DISTDIR=/public/projects/shogi
|
|
|
|
|
|
|
|
# Compress program
|
|
|
|
COMPRESS = gzip
|
1998-09-28 02:32:25 +00:00
|
|
|
@@ -73,8 +73,12 @@
|
1997-01-03 09:27:10 +00:00
|
|
|
#CCOPTIONS= -g
|
|
|
|
#LDOPTIONS= -lXaw -lXmu -lXt -lXext -lX11
|
|
|
|
# This is for cc on SunOS with debug
|
|
|
|
-CCOPTIONS= -g -I/usr/include
|
|
|
|
-LDOPTIONS= -L/usr/lib -lXaw -lXmu -lXt -lXext -lX11
|
1999-01-10 10:05:03 +00:00
|
|
|
+CCOPTIONS= -g ${CFLAGS} -fno-strength-reduce \
|
1997-01-03 09:27:10 +00:00
|
|
|
+ -I/usr/include -I$(PREFIX)/include
|
|
|
|
+LDOPTIONS= -L/usr/lib -L$(PREFIX)/lib -lXaw -lXmu -lXt -lXext -lX11
|
1998-09-28 02:32:25 +00:00
|
|
|
+.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
+LDOPTIONS+=-Wl,-rpath,$(X11BASE)/lib
|
|
|
|
+.endif
|
1997-01-03 09:27:10 +00:00
|
|
|
|
|
|
|
# Options for xshogi
|
|
|
|
# Use -DSENDTIME with at least gnushogix 1.2 patchlevel 3
|
1998-09-28 02:32:25 +00:00
|
|
|
@@ -88,8 +92,8 @@
|
1997-01-03 09:27:10 +00:00
|
|
|
# The option -DISS compiles xshogi for supporting the Internet Shogi Server.
|
|
|
|
OPT = -DHAS_GETTIMEOFDAY -DSENDTIME -DISS -DTOP_PART_BITMAPS # -DBOTH_BITMAPS -DWESTERN_BITMAPS
|
|
|
|
|
|
|
|
-FIRST_PROGRAM = -DFIRST_CHESS_PROGRAM=\"$(BINDIR)/gnushogix\"
|
|
|
|
-SECOND_PROGRAM = -DSECOND_CHESS_PROGRAM=\"$(BINDIR)/gnushogix\"
|
|
|
|
+FIRST_PROGRAM = -DFIRST_CHESS_PROGRAM=\"$(LOCALBASE)/libexec/gnushogix\"
|
|
|
|
+SECOND_PROGRAM = -DSECOND_CHESS_PROGRAM=\"$(LOCALBASE)/libexec/gnushogix\"
|
|
|
|
FIRST_HOST = -DFIRST_HOST=\"localhost\"
|
|
|
|
SECOND_HOST = -DSECOND_HOST=\"localhost\"
|
|
|
|
|