blob: 0a450a64a8a85b31a2a029991901c42b0567bf56 (
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
|
$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
|