* harbour/include/hbapicom.h
* harbour/src/rtl/hbcom.c
+ added public C function: void hb_comSetError( int iPort, int iError )
* harbour/src/rtl/hbcomhb.c
+ added PRG function: HB_COMSETERROR( nPort, nError ) --> NIL
* harbour/src/rtl/hbsocket.c
* minor formatting
* harbour/config/doc.mk
* harbour/config/postinst.hbs
* harbour/contrib/make.hbs
* do not install documentation files when HB_INSTALL_DOC=no
* harbour/config/postinst.hbs
! do not install .hbl files for core utils when HB_BUILD_PARTS=lib
+ added support for HB_INSTALL_SCRIPT executed after install step.
It allows to extract some variables set by our GNU make system,
i.e. it's used to retrieve HB_CCPREFIX in win/wince .spec files.
* harbour/package/harbour-win.spec.in
* use HB_INSTALL_DOC=no to disable DOC file installation
* generate hb{w|ce}mk2 scripts as wrappers to hbmk2 with cross
build settings so it can be easy used used by users to create
Windows/WindowsCE binaries.
Temporary solution until we will not have something more general.
34 lines
443 B
Makefile
34 lines
443 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
ifneq ($(HB_PLATFORM),)
|
|
ifneq ($(HB_COMPILER),)
|
|
|
|
first::
|
|
|
|
ifeq ($(HB_INSTALL_DOC),no)
|
|
install::
|
|
|
|
else
|
|
ifeq ($(HB_INSTALL_DOC),)
|
|
install::
|
|
|
|
else
|
|
INSTALL_FILES := $(DOC_FILES)
|
|
INSTALL_DIR := $(HB_INSTALL_DOC)$(DOC_SUBDIR)
|
|
include $(TOP)$(ROOT)config/instsh.mk
|
|
INSTALL_RULE_DOC := $(INSTALL_RULE)
|
|
ifneq ($(INSTALL_RULE_DOC),)
|
|
install:: first
|
|
$(INSTALL_RULE_DOC)
|
|
|
|
endif
|
|
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|