OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / tcl / makefile
1
2 URL       = http://downloads.sourceforge.net/project/tcl/Tcl/8.4.19/tcl8.4.19-src.tar.gz
3 BUILDDIR  = tcl8.4.19/unix
4 CONFVARS  = ac_cv_func_strtod=yes tcl_cv_strtod_unbroken=ok
5 CONFOPTS  = --disable-symbols --disable-langinfo --disable-framework
6 ifdef USER_TCL_STATIC
7 CONFOPTS += --disable-shared
8 endif
9
10 AUTOMAKE_ROMFS = tcl84_romfs
11
12 include $(ROOTDIR)/tools/automake.inc
13
14 tcl84_romfs:
15 ifndef USER_TCL_LIBTCL_ONLY
16         $(ROMFSINST) build/tcl8.4.19-src-install/bin/tclsh8.4 /bin/tclsh8.4
17         $(ROMFSINST) -s /bin/tclsh8.4 /bin/tclsh
18 endif
19 ifndef USER_TCL_STATIC
20         $(ROMFSINST) build/tcl8.4.19-src-install/lib/libtcl8.4.so /lib/libtcl8.4.so
21 endif
22         $(ROMFSINST) build/tcl8.4.19-src-install/lib/tcl8.4 /lib/tcl8.4
23 ifndef USER_TCL_INSTALL_ENCODINGS
24         rm -rf $(ROMFSDIR)/lib/tcl8.4/encoding
25 endif
26