Overview
Comment: | Fixed up makefile based installer for chicken/iup etc. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.55 |
Files: | files | file ages | folders |
SHA1: |
3afb28af9d27eea0765d947b55421c3c |
User & Date: | matt on 2014-03-22 19:06:39 |
Other Links: | branch diff | manifest | tags |
Context
2014-03-22
| ||
22:57 | Put executables in sub dir and call based on MACHTYPE check-in: 1d89f11f7f user: matt tags: v1.55 | |
19:06 | Fixed up makefile based installer for chicken/iup etc. check-in: 3afb28af9d user: matt tags: v1.55 | |
2014-03-06
| ||
13:33 | Added ; to list of whitespace characters to quote in setenv check-in: 68ba4dfea5 user: mrwellan tags: v1.55, v1.5515 | |
Changes
Modified utils/Makefile.installall from [be549557c7] to [3d28c758b8].
︙ | ︙ | |||
39 40 41 42 43 44 45 | KTYPE=26g4 # Select version of chicken, sqlite3 etc CHICKEN_VERSION=4.8.0 SQLITE3_VERSION=3071401 # Eggs to install (straightforward ones) | | > > > | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | KTYPE=26g4 # Select version of chicken, sqlite3 etc CHICKEN_VERSION=4.8.0 SQLITE3_VERSION=3071401 # 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 # # Derived variables # ifeq ($(PROXY),) PROX= |
︙ | ︙ | |||
79 80 81 82 83 84 85 | ARCHSIZE=64_ endif IUPFILES=cd-5.5.1_Linux$(KTYPE)_$(ARCHSIZE)lib.tar.gz im-3.8_Linux$(KTYPE)_$(ARCHSIZE)lib.tar.gz iup-3.6_Linux$(KTYPE)_$(ARCHSIZE)lib.tar.gz CSCLIBS=$(shell echo $(LD_LIBRARY_PATH) | sed 's/:/ -L/g') CSC_OPTIONS=-I$(PREFIX)/include -L$(CSCLIBS) | | | > > > > > | | 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 | ARCHSIZE=64_ endif IUPFILES=cd-5.5.1_Linux$(KTYPE)_$(ARCHSIZE)lib.tar.gz im-3.8_Linux$(KTYPE)_$(ARCHSIZE)lib.tar.gz iup-3.6_Linux$(KTYPE)_$(ARCHSIZE)lib.tar.gz CSCLIBS=$(shell echo $(LD_LIBRARY_PATH) | sed 's/:/ -L/g') CSC_OPTIONS=-I$(PREFIX)/include -L$(CSCLIBS) all : chkn eggs libiup sqlite3 logprobin mutils chkn : $(CHICKEN_INSTALL) eggs : $(EGGSOFILES) sqlite3 : $(CHICKEN_EGG_DIR)/sqlite3.so libiup : $(PREFIX)/lib/libavcall.a $(CHICKEN_EGG_DIR)/iup.so $(CHICKEN_EGG_DIR)/canvas-draw.so logprobin : $(PREFIX)/bin/logpro $(PREFIX)/bin/logpro : $(CHICKEN_EGG_DIR)/regex-literals.so $(CHICKEN_INSTALL) logpro # Silly rule to make installing eggs more makeish, I don't understand why I need the basename $(CHICKEN_EGG_DIR)/%.so : eggflags/%.flag $(CHICKEN_INSTALL) $(PROX) $(shell basename $*) $(EGGFLAGS) : # $(CHICKEN_INSTALL) mkdir -p eggflags touch $(EGGFLAGS) # some setup stuff |
︙ | ︙ | |||
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | $(PREFIX)/bin/sqlite3 : sqlite-autoconf-$(SQLITE3_VERSION) (cd sqlite-autoconf-$(SQLITE3_VERSION);./configure --prefix=$(PREFIX);make;make install) $(CHICKEN_EGG_DIR)/sqlite3.so : $(PREFIX)/bin/sqlite3 CSC_OPTIONS="-I$(PREFIX)/include -L$(PREFIX)/lib" $(CHICKEN_INSTALL) $(PROX) sqlite3 # Get and install my various utilities that haven't been eggified yet. opensrc/margs/margs.scm opensrc/dbi/dbi.scm opensrc/qtree/qtree.scm : $(CHICKEN_INSTALL) $(CHICKEN_EGG_DIR)/sqlite3.so mkdir -p opensrc cd opensrc;if [ ! -e opensrc.fossil ]; then fossil clone http://www.kiatoa.com/fossils/opensrc opensrc.fossil; fi cd opensrc;if [ -e dbi/dbi.scm ]; then fossil update; else fossil open opensrc.fossil; fi $(CHICKEN_EGG_DIR)/dbi.so : opensrc/dbi/dbi.scm cd opensrc/dbi;chicken-install $(CHICKEN_EGG_DIR)/margs.so : opensrc/margs/margs.scm cd opensrc/margs;chicken-install $(CHICKEN_EGG_DIR)/qtree.so : opensrc/qtree/qtree.scm cd opensrc/qtree;chicken-install | > < < < | 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 163 164 165 166 167 | $(PREFIX)/bin/sqlite3 : sqlite-autoconf-$(SQLITE3_VERSION) (cd sqlite-autoconf-$(SQLITE3_VERSION);./configure --prefix=$(PREFIX);make;make install) $(CHICKEN_EGG_DIR)/sqlite3.so : $(PREFIX)/bin/sqlite3 CSC_OPTIONS="-I$(PREFIX)/include -L$(PREFIX)/lib" $(CHICKEN_INSTALL) $(PROX) sqlite3 mutils : $(CHICKEN_EGG_DIR)/margs.so $(CHICKEN_EGG_DIR)/qtree.so # $(CHICKEN_EGG_DIR)/dbi.so # Get and install my various utilities that haven't been eggified yet. opensrc/margs/margs.scm opensrc/dbi/dbi.scm opensrc/qtree/qtree.scm : $(CHICKEN_INSTALL) $(CHICKEN_EGG_DIR)/sqlite3.so mkdir -p opensrc cd opensrc;if [ ! -e opensrc.fossil ]; then fossil clone http://www.kiatoa.com/fossils/opensrc opensrc.fossil; fi cd opensrc;if [ -e dbi/dbi.scm ]; then fossil update; else fossil open opensrc.fossil; fi $(CHICKEN_EGG_DIR)/dbi.so : opensrc/dbi/dbi.scm cd opensrc/dbi;chicken-install $(CHICKEN_EGG_DIR)/margs.so : opensrc/margs/margs.scm cd opensrc/margs;chicken-install $(CHICKEN_EGG_DIR)/qtree.so : opensrc/qtree/qtree.scm cd opensrc/qtree;chicken-install # # IUP # ffcall.tar.gz : wget http://www.kiatoa.com/matt/iup/ffcall.tar.gz |
︙ | ︙ |