Makefile
changeset 28 950f79385de7
parent 27 e7c278de2e20
child 29 503b0ef635cc
equal deleted inserted replaced
27:e7c278de2e20 28:950f79385de7
    25 #           in case it would be a problem, run :
    25 #           in case it would be a problem, run :
    26 #           xvfb-run make -f /path/to/this/Makefile
    26 #           xvfb-run make -f /path/to/this/Makefile
    27 
    27 
    28 version = 1.2-rc1
    28 version = 1.2-rc1
    29 
    29 
       
    30 src := $(shell dirname $(lastword $(MAKEFILE_LIST)))
    30 HGREMOTE ?= https://hg.beremiz.org/
    31 HGREMOTE ?= https://hg.beremiz.org/
    31 HGROOT ?= $(abspath $(CURDIR)/..)
    32 HGROOT ?= $(abspath $(src)/..)
    32 GITROOT := $(HGROOT)
    33 GITROOT := $(HGROOT)
    33 DIST =
    34 DIST =
    34 CPUS = 8
    35 CPUS = 8
    35 BLKDEV=/dev/null
    36 BLKDEV=/dev/null
    36 
    37 
    43 define get_runtime_libs
    44 define get_runtime_libs
    44 	cp $(CROSS_COMPILE_LIBS_DIR)/libgcc_s_sjlj-1.dll $(1)
    45 	cp $(CROSS_COMPILE_LIBS_DIR)/libgcc_s_sjlj-1.dll $(1)
    45 	cp $(CROSS_COMPILE_LIBS_DIR)/libstdc++-6.dll $(1)
    46 	cp $(CROSS_COMPILE_LIBS_DIR)/libstdc++-6.dll $(1)
    46 endef
    47 endef
    47 
    48 
    48 src := $(shell dirname $(lastword $(MAKEFILE_LIST)))
       
    49 distfiles = $(src)/distfiles
    49 distfiles = $(src)/distfiles
    50 sfmirror = downloads
    50 sfmirror = downloads
    51 tmp := $(shell mktemp -d)
    51 tmp := $(shell mktemp -d)
    52 
    52 
    53 define hg_get_archive
    53 define hg_get_archive