summaryrefslogtreecommitdiff
path: root/audio/tracker/files/patch-aa
blob: c1451d18ab48525e7a7187427e6cbb9554f2f5ca (plain) (blame)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
*** Makefile.orig	Wed May  8 00:20:50 1996
--- Makefile	Wed Dec 29 06:05:14 1999
***************
*** 10,26 ****
  #  hpalib, hplow, hp3, dec, solaris, sparc, linux, freebsd, sgi, 
  #  soundblaster, aix, next, MM1, NAS, sbos2, SVR4
  # gmake needed to handle this file in FreeBSD
! MACHINE = sparc
  VERSION = 5.3
  #VPATH=..
  
  # The name of your C compiler. For most machines this will be
  # either 'cc' or 'gcc'.
! CC = gcc
  
  OPTS=-c 
  
! 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'
--- 10,26 ----
  #  hpalib, hplow, hp3, dec, solaris, sparc, linux, freebsd, sgi, 
  #  soundblaster, aix, next, MM1, NAS, sbos2, SVR4
  # gmake needed to handle this file in FreeBSD
! MACHINE = freebsd
  VERSION = 5.3
  #VPATH=..
  
  # The name of your C compiler. For most machines this will be
  # either 'cc' or 'gcc'.
! CC ?= gcc
  
  OPTS=-c 
  
! 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'
***************
*** 30,36 ****
  INFO_DIR = $(PREFIX)/info
  
  # Where to put the compression methods description
! COMPRESSION_FILE=$(PREFIX)/lib/compression_methods
  
  # How to install the binaries and manpage. If you have a unix system,
  # use the GNU install program if you have it, otherwise try 'cp'. For
--- 30,36 ----
  INFO_DIR = $(PREFIX)/info
  
  # Where to put the compression methods description
! COMPRESSION_FILE=$(PREFIX)/etc/compression_methods
  
  # How to install the binaries and manpage. If you have a unix system,
  # use the GNU install program if you have it, otherwise try 'cp'. For
***************
*** 166,179 ****
  UI_linux = Unix/
  SHELL_linux = /bin/sh
  
! CFLAGS_freebsd = -O2 -funroll-loops -finline-functions -fno-strength-reduce
  LIBS_freebsd = -lm
  AUDIODIR_freebsd=PCux/
  CONFIG_freebsd = PCux/freebsd_
  O_freebsd = .o
  EXE_freebsd = 
  UI_freebsd = Unix/
! SHELL_freebsd = /bin/sh
  
  CFLAGS_aix = -O
  LIBS_aix = -lm
--- 166,179 ----
  UI_linux = Unix/
  SHELL_linux = /bin/sh
  
! CFLAGS_freebsd = -funroll-loops -finline-functions
  LIBS_freebsd = -lm
  AUDIODIR_freebsd=PCux/
  CONFIG_freebsd = PCux/freebsd_
  O_freebsd = .o
  EXE_freebsd = 
  UI_freebsd = Unix/
! SHELL_freebsd = ${SH}
  
  CFLAGS_aix = -O
  LIBS_aix = -lm
***************
*** 220,226 ****
  UI_sbos2 = OS2/./
  SHELL_sbos2 = /bin/sh
  
! CFLAGS = $(CFLAGS_${MACHINE})
  COPTS = $(OPTS) $(CFLAGS)
  LIBS = $(LIBS_${MACHINE})
  CONFIG = Arch/$(CONFIG_${MACHINE})
--- 220,226 ----
  UI_sbos2 = OS2/./
  SHELL_sbos2 = /bin/sh
  
! CFLAGS += $(CFLAGS_${MACHINE})
  COPTS = $(OPTS) $(CFLAGS)
  LIBS = $(LIBS_${MACHINE})
  CONFIG = Arch/$(CONFIG_${MACHINE})
***************
*** 250,256 ****
  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
  
  config.h: $(CONFIG)config.h 
  	rm -f config.h
--- 250,256 ----
  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} Docs/tracker.info
  
  config.h: $(CONFIG)config.h 
  	rm -f config.h
***************
*** 270,280 ****
  	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}
  
  # no manpage available, use the texinfo manual.
  install.man:
--- 270,279 ----
  	echo >version.c char \*VERSION=\"${VERSION}\"\;
  
  install: 
! 	${BSD_INSTALL_PROGRAM} tracker $(BIN_DIR)
! 	${BSD_INSTALL_PROGRAM} randomize $(BIN_DIR)
  	[ -f ${COMPRESSION_FILE} ] || \
! 		${BSD_INSTALL_MAN} Lib/compression_methods ${COMPRESSION_FILE}
  
  # no manpage available, use the texinfo manual.
  install.man:
***************
*** 285,291 ****
  install.info: Docs/tracker.info
  	(cd Docs; \
            for f in tracker.info tracker.info-* ; do \
!             $(INSTALL) $(INST_INFO_OPT) $$f $(INFO_DIR)/$$f; \
            done)
  
  devel: 
--- 284,290 ----
  install.info: Docs/tracker.info
  	(cd Docs; \
            for f in tracker.info tracker.info-* ; do \
!             ${BSD_INSTALL_DATA} $$f $(INFO_DIR)/$$f; \
            done)
  
  devel: