summaryrefslogtreecommitdiff
path: root/lang/gcl/files/patch-ab
blob: d6ce950eb7cee9f0c06832aed6643053dd9b44a4 (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
*** makefile.0	Mon Apr 10 03:14:48 1995
--- makefile	Mon Apr 10 23:12:23 1995
***************
*** 29,44 ****
  
  LBINDIR=/usr/local/bin
  
! OFLAG	=  -O 
! LIBS	= -lm 
! ODIR_DEBUG= -O4 
  
  # This CC string will be used for compilation of the system,
  # and also in the compiler::*cc* variable for later compilation of
  # lisp files.
  # (the -pipe is just since our file system is slow..)
! CC = gcc -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o 
! LDCC=${CC} -static 
  
  # Enable the fastloading mechanism which does not use ld -A
  # requires c/rel_.. machine dependent code.
--- 29,44 ----
  
  LBINDIR=/usr/local/bin
  
! OFLAG	=  -O
! LIBS	= -lm
! ODIR_DEBUG= -O4
  
  # This CC string will be used for compilation of the system,
  # and also in the compiler::*cc* variable for later compilation of
  # lisp files.
  # (the -pipe is just since our file system is slow..)
! CC = gcc -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o
! LDCC=${CC} -static
  
  # Enable the fastloading mechanism which does not use ld -A
  # requires c/rel_.. machine dependent code.
***************
*** 46,52 ****
  RSYM	= rsym
  SFASL	= $(ODIR)/sfasl.o
  
! #  Use the mp.s file on 68k machine 
  
  # new gcc doesn't make a good .s file using optimisations.
  # so either use $(MPDIR)/mpi.o   $(MPDIR)/libmport.a
--- 46,52 ----
  RSYM	= rsym
  SFASL	= $(ODIR)/sfasl.o
  
! #  Use the mp.s file on 68k machine
  
  # new gcc doesn't make a good .s file using optimisations.
  # so either use $(MPDIR)/mpi.o   $(MPDIR)/libmport.a
***************
*** 66,72 ****
  # the  make to use for saved_kcp the profiler.
  KCP=kcp-bsd
  
! # dont add the .data 
  CAT=true
  # end makedefs
  
--- 66,72 ----
  # the  make to use for saved_kcp the profiler.
  KCP=kcp-bsd
  
! # dont add the .data
  CAT=true
  # end makedefs
  
***************
*** 132,138 ****
  	echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' >> ${PREFIX_DIR}/bin/gcl
  	chmod a+x ${PREFIX_DIR}/bin/gcl
  
! install: 
  	make install1 "INSTALL_LIB_DIR=${PREFIX_DIR}/lib/gcl-`cat majvers`.`cat minvers`" "PREFIX_DIR=${PREFIX_DIR}"
  INSTALL_LIB_DIR=
  install1:
--- 132,138 ----
  	echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 3)"' >> ${PREFIX_DIR}/bin/gcl
  	chmod a+x ${PREFIX_DIR}/bin/gcl
  
! install:
  	make install1 "INSTALL_LIB_DIR=${PREFIX_DIR}/lib/gcl-`cat majvers`.`cat minvers`" "PREFIX_DIR=${PREFIX_DIR}"
  INSTALL_LIB_DIR=
  install1:
***************
*** 142,148 ****
  	make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "PREFIX_DIR=${PREFIX_DIR}"
  	rm -f ${PREFIX_DIR}/bin/gcl.exe
  	tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
!     	gcl-tk/gcl.tcl gcl-tk/gcltkaux  |  (cd ${INSTALL_LIB_DIR} ;tar xvf -)
  	ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
  	 ${PREFIX_DIR}/bin/gcl.exe
  	cat gcl-tk/gcltksrv | \
--- 142,149 ----
  	make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "PREFIX_DIR=${PREFIX_DIR}"
  	rm -f ${PREFIX_DIR}/bin/gcl.exe
  	tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
! 		h/cmpinclude.h gcl-tk/gcl.tcl gcl-tk/gcltkaux  | \
! 		(cd ${INSTALL_LIB_DIR} ;tar xvf -)
  	ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
  	 ${PREFIX_DIR}/bin/gcl.exe
  	cat gcl-tk/gcltksrv | \
***************
*** 161,167 ****
  foo:
  		cat gcl-tk/gcltksrv | \
  	sed -e "s:#put correct dir:DIR=${INSTALL_LIB_DIR}/gcl-tk:g"  \
! 	-e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g" 
  install-elisp-files:
  	(cd doc ; make install)
  
--- 162,168 ----
  foo:
  		cat gcl-tk/gcltksrv | \
  	sed -e "s:#put correct dir:DIR=${INSTALL_LIB_DIR}/gcl-tk:g"  \
! 	-e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g"
  install-elisp-files:
  	(cd doc ; make install)
  
***************
*** 173,179 ****
  	(cd $(CMPDIR); make clean)
  	(cd $(PORTDIR); make clean)
  	(cd gcl-tk ; make clean)
! 	
  
  
  CMPINCLUDE_FILES=${HDIR}cmpincl1.h ${HDIR}compbas.h ${HDIR}enum.h ${HDIR}object.h ${HDIR}vs.h \
--- 174,180 ----
  	(cd $(CMPDIR); make clean)
  	(cd $(PORTDIR); make clean)
  	(cd gcl-tk ; make clean)
! 
  
  
  CMPINCLUDE_FILES=${HDIR}cmpincl1.h ${HDIR}compbas.h ${HDIR}enum.h ${HDIR}object.h ${HDIR}vs.h \
***************
*** 181,187 ****
  	${HDIR}lex.h ${HDIR}eval.h    ${HDIR}funlink.h \
  	${HDIR}att_ext.h ${HDIR}compbas2.h ${HDIR}/compat.h ${HDIR}/cmponly.h
  
! OTHERS=${HDIR}notcomp.h ${HDIR}rgbc.h ${HDIR}stacks.h 
  
  ${HDIR}cmpinclude.h: ${CMPINCLUDE_FILES} ${HDIR}config.h
  	cat ${HDIR}config.h | sed -e "1,/Begin for cmpincl/d" \
--- 182,188 ----
  	${HDIR}lex.h ${HDIR}eval.h    ${HDIR}funlink.h \
  	${HDIR}att_ext.h ${HDIR}compbas2.h ${HDIR}/compat.h ${HDIR}/cmponly.h
  
! OTHERS=${HDIR}notcomp.h ${HDIR}rgbc.h ${HDIR}stacks.h
  
  ${HDIR}cmpinclude.h: ${CMPINCLUDE_FILES} ${HDIR}config.h
  	cat ${HDIR}config.h | sed -e "1,/Begin for cmpincl/d" \