* utils/hbmk2/hbmk2.prg
+ Added new plugin APIs:
- hbmk2_AddInput_OBJ()
- hbmk2_PathFromWorkdirToCWD()
- hbmk2_CWD()
+ Changed to not abort processing if there are no input files, but
there are custom plugin input parameter.
+ bin/hbmk_l2d.hbs
+ Added rough plugin to convert static libs to dynamic libs
on platforms supporting 'ar' tool (and of course the notion
of such conversion). This is meant to replace functionality
provided by bash script hb-mkdyn.sh.
Pls find cmdline example in the script header.
* config/postinst.hbs
+ Now installs hbmk_l2d.hbs
- bin/hb-mkdyn.sh
- Deleted hb-mkdyn speciality shell tool to convert static
libs to dynamic ones.
- bin/postinst.sh
- Deleted, it only started hb-mkdyn.sh, which was just deleted.
* Makefile
- Do not run postinst.sh anymore.
55 lines
1017 B
Makefile
55 lines
1017 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ./
|
|
|
|
include $(ROOT)config/global.mk
|
|
|
|
ifeq ($(HB_BUILD_PARTS),compiler)
|
|
|
|
DIRS := \
|
|
src \
|
|
utils{src} \
|
|
|
|
else
|
|
|
|
# When doing a plain clean, we must not clean hbrun and hbmk2
|
|
# before calling it to clean the contrib area.
|
|
_CONTRIB_FIRST :=
|
|
ifneq ($(filter clean,$(HB_MAKECMDGOALS)),)
|
|
ifeq ($(filter install,$(HB_MAKECMDGOALS)),)
|
|
_CONTRIB_FIRST := yes
|
|
endif
|
|
endif
|
|
|
|
DIRS := \
|
|
doc \
|
|
include \
|
|
external \
|
|
src{external}
|
|
|
|
ifeq ($(_CONTRIB_FIRST),yes)
|
|
|
|
DIRS += \
|
|
contrib{src} \
|
|
utils{contrib} \
|
|
|
|
else
|
|
|
|
DIRS += \
|
|
utils{src} \
|
|
contrib{utils} \
|
|
|
|
endif
|
|
endif
|
|
|
|
include $(ROOT)config/dir.mk
|
|
|
|
ifneq ($(HB_NO_HBSCRIPT),yes)
|
|
|
|
install::
|
|
$(if $(wildcard $(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT)),+$(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT) --hb:gtcgi $(TOP)$(ROOT)config/postinst.hbs,@$(ECHO) $(ECHOQUOTE)! Warning: hbrun not found, config/postinst.hbs skipped.$(ECHOQUOTE))
|
|
|
|
endif
|