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
|
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
|
-
-
+
+
+
+
+
+
+
|
help :
@echo You may need to do the following first:
@echo sudo apt-get install libreadline-dev
@echo sudo apt-get install libwebkitgtk-dev
@echo sudo apt-get install libmotif3
@echo You are using PREFIX=$(PREFIX)
@echo You are using proxy="$(proxy)"
@echo If needed set proxy to host.dom:port
@echo You are using PROXY="$(PROXY)"
@echo If needed set PROXY to host.dom:port
@echo http_proxy=$(http_proxy)
@echo PROX=$(PROX)
@echo
@echo To make all do: make all
# Put the installation here
ifeq ($(PREFIX),)
PREFIX=$(PWD)/target
endif
# Set this on the command line of your make call if needed: make PROXY=host.com:1234
PROXY=
# Select version of chicken, sqlite3 etc
CHICKEN_VERSION=4.8.0
SQLITE3_VERSION=3071401
# Override IUPBRANCH to use other than trunk
IUPBRANCH=trunk
# Eggs to install (straightforward ones)
EGGS=matchable readline apropos base64 regex-literals format regex-case test coops trace csv \
dot-locking posix-utils posix-extras directory-utils hostinfo tcp-server rpc csv-xml fmt \
json md5 awful http-client spiffy uri-common intarweb spiffy-request-vars \
spiffy-directory-listing ssax sxml-serializer sxml-modifications sqlite3 sql-de-lite \
srfi-19
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
+
|
ifeq ($(ISARCHX86_64),)
ARCHSIZE=
else
ARCHSIZE=64_
endif
CSCLIBS=$(shell echo $(LD_LIBRARY_PATH) | sed 's/:/ -L/g')
CSC_OPTIONS="-I$(PREFIX)/include -L$(CSCLIBS)" $(CHICKEN_INSTALL) $(PROX) -D no-library-checks -feature disable-iup-web iup
# CSC_OPTIONS=-I$(PREFIX)/include -L$(CSCLIBS)
all : chkn eggs libiup logprobin
chkn : $(CHICKEN_INSTALL)
eggs : $(EGGSOFILES)
|
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
-
+
|
cd ffcall;./configure --prefix=$(PREFIX) --enable-shared && make && make install
iuplib.fossil :
fossil clone http://www.kiatoa.com/fossils/iuplib iuplib.fossil
iup/installall.sh : iuplib.fossil
mkdir -p iup
cd iup && if [ -e installall.sh ];then fossil update; else fossil open ../iuplib.fossil; fi
cd iup && if [ -e installall.sh ];then fossil update $(IUPBRANCH); else fossil open ../iuplib.fossil;fossil update $(IUPBRANCH); fi
iup/iup/alldone : iup/installall.sh
cd iup && ./makeall.sh
$(PREFIX)/lib/libiup.so : iup/iup/alldone
touch -c $(PREFIX)/lib/libiup.so
|