harbour-core-onedir

Directory:
build\harbour-core-onedir
Fetch Style:
Git
From:
https://github.com/harbour/core/archive/refs/heads/master.tar.gz

Declared Dependencies

Probed Makefile variables (Linux zig 64-bit)

Variable (in eval order)Evaluated setting
PATH/bin
PKGNAMEharbour-core
PKGVER3.2.1dev
PKGBLD+zig+onedir
DEPENDSzig
HB_COMPILERzig
_DETPLAT_STRLinux
MACHINEx86_64
HB_ZIG_TARGETx86_64-linux-musl
PACKAGE/harbour-core-3.2.1dev+zig+onedir.hbpk
WORKDIRharbour-core-3.2.1dev
SOURCESmaster.tar.gz
SRCURLhttps://github.com/harbour/core/archive/refs/heads
HB_CPUx86_64
PROVIDESharbour-core

Probed Makefile variables (Windows zig 64-bit)

Variable (in eval order)Evaluated setting
PATH/bin:/usr/share/zig
MSYSTEMMINGW64
PKGNAMEharbour-core
PKGVER3.2.1dev
PKGBLD+zig+onedir
DEPENDSzig
HB_COMPILERzig
_DETPLAT_STRMsys
HBPK_CC_FAMILYCC=clang CXX=clang++
MACHINEx86_64
HB_ZIG_TARGETx86_64-windows-gnu
HBPK_VCPKG_TARGETx64-windows
PACKAGE/harbour-core-3.2.1dev+zig+onedir.hbpk
WORKDIRharbour-core-3.2.1dev
SOURCESmaster.tar.gz
SRCURLhttps://github.com/harbour/core/archive/refs/heads
HB_CPUx86_64
PROVIDESharbour-core

Makefile Header Source

PKGNAME = harbour-core
PKGVER  = 3.2.1dev
ifneq ($(HBPK_COMPILER),)
	ifeq ($(HBPK_COMPILER),zig)
		DEPENDS = zig
	endif
	PKGBLD = +$(HBPK_COMPILER)+onedir
	export HB_COMPILER = $(HBPK_COMPILER)
else
	PKGBLD  = +zig+onedir
	DEPENDS = zig
	export HB_COMPILER = zig
endif

ifeq ($(HB_COMPILER),zig)
	ifeq ($(findstring -fPIC,$(HB_USER_CFLAGS)),)
		export HB_USER_CFLAGS += -fPIC
	endif
endif

TOPDIR  = ../..
include $(TOPDIR)/common.mk
include $(TOPDIR)/pmgr.mk

WORKDIR = $(PKGNAME)-$(PKGVER)
SOURCES = master.tar.gz
SRCURL  = https://github.com/harbour/core/archive/refs/heads

include $(TOPDIR)/hbarch.mk

do-fetch: std-fetch
do-extract: std-extract
do-patch: #fix-configure

do-config:
	mv core-master $(WORKDIR)
	-ln -f -s ../$(PKGNAME)/$(WORKDIR) ../harbour-contribs/tree
do-build:
	cd $(WORKDIR) && \
	HB_BUILD_3RDEXT=no \
	HB_WITH_PCRE=local \
	HB_WITH_ZLIB=local \
	HB_WITH_PNG=local  \
	HB_WITH_JPEG=local \
	HB_WITH_X11=no     \
	make -j8

do-pkginst:
	mkdir -p dest/harbour && mkdir -p dest/bin && cd $(WORKDIR) && \
	cp -r addons bin contrib doc extras include lib tests ChangeLog.txt LICENSE.txt README.md ../dest/harbour && \
	rm -rf ../dest/harbour/lib/$(HBPK_PLATFORM)/$(HBPK_COMPILER)/.hbmk