+ harbour/doc/howtobld.txt
+ added hb* scripts description
* harbour/Makefile
* harbour/source/Makefile
+ harbour/harbour-ce-spec
* harbour/bin/pack_src.sh
+ harbour/make_rpmce.sh
+ added script to build RPMs with cross build of Harbour for PocketPC
make_rpmce.sh should create harbour-ce-1.1.1-0.i386.rpm which
can be installed with other harbour RPMs
It contains Harbour libraries compiled for WinCE/PocketPC and
set of hbce* scripts which should be used instead of standard hb*
ones to create PocketPC binaries. It means that you can create
standard Linux binaries and PocketPC binaries in the same session
without setting/changing any additional environment varibales, f.e:
hbmk -n -w -es2 test.prg
will create linux binaries and:
hbcemk -n -w -es2 test.prg
will create binaries for WinCE/PocketPC
51 lines
707 B
Makefile
51 lines
707 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ./
|
|
|
|
ifeq ($(HB_HOST_BUILD),yes)
|
|
|
|
DIRS=\
|
|
source \
|
|
|
|
else
|
|
|
|
ifeq ($(HB_HOST_BUILD),lib)
|
|
HB_UTIL_DIR=
|
|
else
|
|
HB_UTIL_DIR=utils
|
|
endif
|
|
|
|
DIRS=\
|
|
doc \
|
|
include \
|
|
source \
|
|
$(HB_UTIL_DIR) \
|
|
contrib \
|
|
# samples \
|
|
|
|
endif
|
|
|
|
ifeq ($(HB_POSTINST),)
|
|
|
|
ifneq ($(HB_ROOTPOSTINST),)
|
|
HB_POSTINST = $(HB_ROOTPOSTINST) $(HB_POSTINSTPARAM)
|
|
else
|
|
ifneq ($(SHLVL),)
|
|
HB_POSTINST = $(TOP)$(ROOT)bin/postinst.sh $(HB_POSTINSTPARAM)
|
|
else
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat) $(HB_POSTINSTPARAM)
|
|
else
|
|
ifeq ($(HB_ARCHITECTURE),w32)
|
|
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat) $(HB_POSTINSTPARAM)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
endif
|
|
|
|
include $(ROOT)config/dir.cf
|