* contrib/make.hbs
* Internal renames, cleaned debug stuff, comments.
+ Added some provision to cleanup the referenced component
directory handling. Still a TODO.
* Makefile
* contrib/Makefile
* Will now skip all hbrun/hbscript based build parts
if HB_NO_HBSCRIPT=yes is set. Name tentative.
* contrib/hbide/hbide.hbp
* contrib/hbqt/hbqt.hbc
! Added SVN header.
- Deleted -gc3 switch. It will make the final exe 2MB smaller.
+ Moved HBQT specific msvc settings to hbqt.hbc.
* Added QUESTION to -gc3 switch enabled for HBIDE. It makes
the executable significantly larger (~2MB without debug info)
Was this ever tested, or just enabled and forgotten about?
; TODO: HBIDE should hold its 'plugins' dir in user and all users
home dirs, and use the name 'hbide_plugins' in the
executable's home directory to avoid collision with
other tool which might also have a "plugin" folder.
- contrib/rddbmcdx/hbbmcdx.hbp
+ contrib/rddbmcdx/rddbmcdx.hbp
- contrib/rddbmcdx/hbbmcdx.hbc
+ contrib/rddbmcdx/rddbmcdx.hbc
* contrib/make.hbs
* Renamed make files and output name (when using hbmk2)
to match its recently renamed directory.
Thanks to Juan Galvez for reporting it.
62 lines
1.1 KiB
Makefile
62 lines
1.1 KiB
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)
|
|
|
|
ifeq ($(HB_SHELL),sh)
|
|
HB_POSTINST := $(TOP)$(ROOT)bin/postinst.sh
|
|
else
|
|
HB_POSTINST :=
|
|
endif
|
|
|
|
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))
|
|
$(if $(wildcard $(HB_POSTINST)),+$(HB_POSTINST),)
|
|
|
|
endif
|