54 lines
1.2 KiB
Text
54 lines
1.2 KiB
Text
$NetBSD: patch-aa,v 1.3 1998/08/07 10:40:41 agc Exp $
|
|
|
|
--- source/Makefile.orig Thu Feb 22 23:01:18 1996
|
|
+++ source/Makefile Fri Jul 31 00:43:52 1998
|
|
@@ -10,7 +10,7 @@
|
|
##
|
|
|
|
#DEFINES=
|
|
-BINDIR=..
|
|
+BINDIR=$(PREFIX)/bin
|
|
COPT=-O
|
|
#CC=
|
|
|
|
@@ -119,6 +119,14 @@
|
|
SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK' \
|
|
all
|
|
|
|
+netbsd:
|
|
+ $(MAKE) \
|
|
+ GRAF=MOTIF \
|
|
+ GRAFLIBS='$$(MOTIFLIBS)' \
|
|
+ GRAFINCLUDES='$$(MOTIFINCLUDES)' \
|
|
+ SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND -DJOYSTICK -DDEFAULT_SOUND_DIR="$$(PREFIX)/share/imaze/sound"' \
|
|
+ all
|
|
+
|
|
irix:
|
|
$(MAKE) \
|
|
GRAF=MOTIF \
|
|
@@ -138,13 +146,13 @@
|
|
###########################################################################
|
|
|
|
LD=$(CC)
|
|
-INSTALL=install -s -m 755
|
|
+INSTALL=install -c -s -o bin -g bin -m 0755
|
|
|
|
XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11
|
|
XVINCLUDES=-I$(OPENWINHOME)/include
|
|
|
|
-MOTIFLIBS=-lXm -lXt -lX11
|
|
-MOTIFINCLUDES=
|
|
+MOTIFLIBS=-L$(PREFIX)/lib -lXm -lXt -lX11
|
|
+MOTIFINCLUDES=-I$(PREFIX)/include
|
|
|
|
GRAFLIBS=$($(GRAF)LIBS)
|
|
GRAFINCLUDES=$($(GRAF)INCLUDES)
|
|
@@ -152,7 +160,7 @@
|
|
|
|
GRAF=NONE
|
|
|
|
-LDFLAGS=
|
|
+LDFLAGS=$(RPATH)
|
|
CFLAGS=$(GRAFINCLUDES) $(COPT) $(DEFINES) $(SYSDEFS)
|
|
|
|
# bis hier Optionen eintragen
|