chiark / gitweb /
changed build arrangements, added version number, in preparation for productisation
[chiark-tcl.git] / base / common.make
index 1a42772f756252f768a2394fbc2bc41d229a48b8..12259fafc24fd6689f703e6bf076f4785e76e553 100644 (file)
@@ -1,8 +1,12 @@
+VERSION ?=     1
+FAMILY ?=      chiark_tcl
+
 OPTIMISE ?=            -O2
 TCL_MEM_DEBUG ?=       -DTCL_MEM_DEBUG
 
 TCMDIFGEN ?=   $(BASE_DIR)/tcmdifgen
 BASE_TCT ?=    $(BASE_DIR)/base.tct
+BASE_SHLIB ?=  $(FAMILY)-$(VERSION)
 
 ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),)
 CFLAGS +=      -Wno-pointer-sign