blob: 8c64d7873f1ab744ea3e3cdb7de45cf89680881a (
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.4 1998/08/27 14:06:09 garbled 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$(X11BASE)/lib -lXm -lXt -lX11
+MOTIFINCLUDES=-I$(X11BASE)/include
GRAFLIBS=$($(GRAF)LIBS)
GRAFINCLUDES=$($(GRAF)INCLUDES)
@@ -152,7 +160,7 @@
GRAF=NONE
-LDFLAGS=
+LDFLAGS= -Wl,-R$(X11BASE)/lib
CFLAGS=$(GRAFINCLUDES) $(COPT) $(DEFINES) $(SYSDEFS)
# bis hier Optionen eintragen
|