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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
$NetBSD: patch-aa,v 1.7 2008/08/09 09:28:19 obache Exp $
--- Makefile.orig 1996-05-07 15:20:50.000000000 +0000
+++ Makefile
@@ -20,7 +20,7 @@ CC = gcc
OPTS=-c
-PREFIX=/users/algo/espie/pub
+PREFIX?=/users/algo/espie/pub
# Destination directory for tracker binaries and manpage.
#
# If you don't wish to use the 'make install' and 'make install.man'
@@ -166,7 +166,7 @@ EXE_linux =
UI_linux = Unix/
SHELL_linux = /bin/sh
-CFLAGS_freebsd = -O2 -funroll-loops -finline-functions -fno-strength-reduce
+CFLAGS_freebsd = -O2 -funroll-loops -finline-functions
LIBS_freebsd = -lm
AUDIODIR_freebsd=PCux/
CONFIG_freebsd = PCux/freebsd_
@@ -175,6 +175,24 @@ EXE_freebsd =
UI_freebsd = Unix/
SHELL_freebsd = /bin/sh
+CFLAGS_dragonfly = -O2 -funroll-loops -finline-functions
+LIBS_dragonfly = -lm
+AUDIODIR_dragonfly = PCux/
+CONFIG_dragonfly = PCux/freebsd_
+O_dragonfly = .o
+EXE_dragonfly =
+UI_dragonfly = Unix/
+SHELL_dragonfly = /bin/sh
+
+CFLAGS_netbsd = -O2 -funroll-loops -finline-functions
+LIBS_netbsd = -lm
+AUDIODIR_netbsd=PCux/
+CONFIG_netbsd = PCux/netbsd_
+O_netbsd = .o
+EXE_netbsd =
+UI_netbsd = Unix/
+SHELL_netbsd = /bin/sh
+
CFLAGS_aix = -O
LIBS_aix = -lm
AUDIODIR_aix = Aix/
@@ -220,9 +238,9 @@ EXE_sbos2 = .exe
UI_sbos2 = OS2/./
SHELL_sbos2 = /bin/sh
-CFLAGS = $(CFLAGS_${MACHINE})
+CFLAGS = $(CFLAGS_${MACHINE}) -DDEVOSSAUDIO=\"${DEVOSSAUDIO}\"
COPTS = $(OPTS) $(CFLAGS)
-LIBS = $(LIBS_${MACHINE})
+LIBS = $(LIBS_${MACHINE}) ${LIBOSSAUDIO}
CONFIG = Arch/$(CONFIG_${MACHINE})
AUDIODIR = Arch/$(AUDIODIR_${MACHINE})
AUDIONAME = $(AUDIONAME_${MACHINE})
@@ -250,7 +268,7 @@ OBJ_SPLITMOD = split$O time$O st_read$O
display$O prefs$O autoinit$O $(UI)ui$O empty$O color$O version$O \
st_virt$O automaton$O
-all: tracker${EXE} randomize${EXE} splitmod${EXE} Docs/tracker.text
+all: tracker${EXE} randomize${EXE}
config.h: $(CONFIG)config.h
rm -f config.h
@@ -270,11 +288,10 @@ version.c: Makefile
echo >version.c char \*VERSION=\"${VERSION}\"\;
install:
- $(INSTALL) $(INST_BIN_OPT) tracker $(BIN_DIR)
- $(INSTALL) $(INST_BIN_OPT) randomize $(BIN_DIR)
- $(INSTALL) $(INST_BIN_OPT) splitmod $(BIN_DIR)
- [ -f ${COMPRESSION_FILE} ] || \
- $(INSTALL) $(INST_MAN_OPT) compression_methods ${COMPRESSION_FILE}
+ $(BSD_INSTALL_PROGRAM) tracker $(DESTDIR)$(BIN_DIR)
+ $(BSD_INSTALL_PROGRAM) randomize $(DESTDIR)$(BIN_DIR)
+ [ -f $(DESTDIR)${COMPRESSION_FILE_EG} ] || \
+ $(BSD_INSTALL_MAN) Lib/compression_methods $(DESTDIR)${COMPRESSION_FILE_EG}
# no manpage available, use the texinfo manual.
install.man:
|