summaryrefslogtreecommitdiff
path: root/lang/icon/patches/patch-an
blob: 851eb53fcd716bb54393ac0a32e31a1806ae93ce (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
55
56
57
58
59
60
61
62
63
64
$NetBSD: patch-an,v 1.5 2003/06/06 08:58:43 jtb Exp $

--- ipl/Makefile.orig
+++ ipl/Makefile
@@ -8,9 +8,9 @@
 
 Ilib:	cfuncs/libcfunc.so
 cfuncs/libcfunc.so:  ../bin/icont
-	cp incl/*.icn gincl/*.icn cfuncs/icall.h ../lib
-	cd procs;  LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib
-	cd gprocs; LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib
+	cp incl/*.icn gincl/*.icn cfuncs/icall.h ../lib/icon
+	cd procs;  LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib/icon
+	cd gprocs; LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib/icon
 	if grep '^ *# *define LoadFunc' ../src/h/define.h >/dev/null; \
 	   then $(MAKE) Cfunctions; fi
 
@@ -19,12 +19,12 @@
 
 Cfunctions:
 	cd cfuncs; LPATH= $(MAKE) ICONT=../../bin/icont
-	cp cfuncs/*.u? ../lib
-	cp cfuncs/libcfunc.so ../bin
+	cp cfuncs/*.u? ../lib/icon
+	cp cfuncs/libcfunc.so ../lib/icon
 
 
 #  Make selected graphics program binaries (platform-dependent icode)
-#  for ../bin, given that ../lib is ready
+#  for ../bin, given that ../lib/icon is ready
 
 Ibin:	gpacks/vib/vib
 gpacks/vib/vib:  ../bin/icont
@@ -32,18 +32,18 @@
 
 
 #  Make a full set of program binaries (not usually done) in ./iexe,
-#  given that ../lib is ready
+#  given that ../lib/icon is ready
 
 Iexe:
 	rm -f iexe/*
 	MAKE=$(MAKE) ./BuildExe
 
 
-#  Check for undefined identifiers in ../lib.
+#  Check for undefined identifiers in ../lib/icon.
 #  (A few are expected: references to Mp, program, init, goal).
 
 Undef:
-	cd ../lib; for f in *.u2; do (echo $$f; icont -us -fs $$f); done
+	cd ../lib/icon; for f in *.u2; do (echo $$f; icont -us -fs $$f); done
 
 
 #  Check for stray files
@@ -67,7 +67,7 @@
 	zip -qrX9 gipl.zip gdocs gincl gprocs gprogs gpacks gdata  -x '*/CVS/*'
 	zip -qrX9 mipl.zip mincl mprocs mprogs                     -x '*/CVS/*'
 	mkdir ilib
-	cp ../lib/*.* ilib
+	cp ../lib/icon/*.* ilib
 	zip -qrX9 ilib.zip ilib
 	rm -rf ilib