* utils/hbmk2/hbmk2.*.po
* utils/hbmk2/hbmk2.prg
+ added experimental feature to embed whole build-file
logic into the hbmk2 executable and reference these
from user make files. Currently .hbm files are supported
(.hbm file is simply a collection of hbmk2 options
which do not form a separate subproject). To refer
to such built-in .hbm files, one should use $<filename.hbm>
It's a straightforward way to ship ready-made
collections of options for specific purposes, without
installing external .hbm files. Filenames are case-sensitive.
NOTE: When referring to built-in .hbm files, it will
behave as it was part of the parent make file, which
means ${HB_DIR}, ${HB_DIRNAME}, ${HB_NAME}, ${HB_SELF}
will return the parent file, not the name of the
built-in file itself.
As usual you can override any options by overriding
them after including the .hbm file.
+ added option to remove files added via -instfile=
option by using -instfile=[<group>:]. All files to
the specified group will be removed. Note that
removing internally added files by hbmk2 itself
(f.e. the main built target and implibs) have
undefined results, so avoid it.
! fixed to use THREAD STATIC instead of STATIC in some
places (could not cause problems in current usage)
* use hb_HCaseMatch() instead of hb_HSetCaseMatch()
+ utils/hbmk2/pkg_inst.hbm
* utils/hbmk2/hbmk2.prg
+ added built-in .hbm file named '$hb_pkg_install.hbm'
Its purpose is to provide complete 'install' logic
for external projects. It will install .hb, .hbx,
.ch, .txt, tests/* files, along with installing
necessary libs, dynlibs and implibs. It honors
HB_INSTALL_3RDDYN and HB_INSTALL_IMPLIB settings.
* extras/hbusb/hbusb.hbp
+ use $hb_pkg_install.hbm instead of rolling the complete
install logic locally.
* utils/hbmk2/Makefile
+ added Harbour compiler option so that files from subdirs
can be included (not yet used)
31 lines
413 B
Makefile
31 lines
413 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
PRG_SOURCES := \
|
|
hbmk2.prg \
|
|
|
|
RC_SOURCES := \
|
|
hbmk2.rc
|
|
|
|
PRG_MAIN := hbmk2.prg
|
|
|
|
LIBS = $(HB_LIBS_MT_RDD)
|
|
|
|
HB_PRGFLAGS += -u -i$(TOP)
|
|
|
|
ifneq ($(HB_HAS_GPM),)
|
|
HB_PRGFLAGS += -DHB_HAS_GPM
|
|
endif
|
|
ifneq ($(HB_HAS_WATT),)
|
|
HB_PRGFLAGS += -DHB_HAS_WATT
|
|
endif
|
|
|
|
HB_PRGFLAGS += -DHBMK_WITH_ALL_EMBEDDED_HEADERS
|
|
|
|
include $(TOP)$(ROOT)config/bin.mk
|