- make_gnu.sh
* config/linux/global.cf
- Deleted. The -fPIC logic is moved to linux/global.cf but it's
incomplete yet, some comments were added there.
* contrib/hbcurl/hbcurl.hbc
+ contrib/hbcurl/hbcurls.hbc
+ Added separate .hbc file for static mode hbcurl lib.
This replaces former HB_CURL_STATIC setting.
* contrib/hbcurl/Makefile
* external/Makefile
* contrib/Makefile
% Minor optimization to DIRS var.
(in few cases it wasn't init to empty with := operator)
+ contrib/hbtip/hbtipssl.hbc
+ contrib/hbtip/hbtipssl
+ contrib/hbtip/hbtipssl/Makefile
* contrib/hbtip/Makefile
+ Now building separate SSL enabled hbtip lib in case HB_HAS_OPENSSL.
+ Added separate .hbc file for SSL enabled hbtip lib, which also
pulls hbssl libs and dependencies.
* config/prg.cf
* config/lib.cf
* config/bin.cf
* config/globsh.cf
* config/dir.cf
* config/c.cf
* config/header.cf
* config/doc.cf
* config/instsh.cf
* config/dirsh.cf
% Optimized remaining (more delicate) logic to use :=
instead of = assigment operator.
At this point there is nothing left to optimize in this
regard.
; I didn't restest parallel build and BISON related rules,
please do so, I hope they aren't broken. Or in case you
notice anything strange please shout.
* config/global.cf
+ Added link to GNU Make NEWS files which describes at which release
some features were added.
* config/dos/watcom.cf
* config/win/watcom.cf
* config/os2/watcom.cf
! Synced special watcom CC_RULEs with recent changes to global CC_RULE.
46 lines
927 B
CFEngine3
46 lines
927 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifneq ($(HB_SHELL),sh)
|
|
MK_OS := $(subst /,\,$(MK))
|
|
DIRS_OS := $(subst /,\,$(DIRS))
|
|
endif
|
|
|
|
ifeq ($(DIRS),) # Empty directory list
|
|
DIR_RULE := @echo "! Done"
|
|
else
|
|
|
|
ifeq ($(HB_SHELL),sh)
|
|
DIR_RULE := \
|
|
@for d in $(DIRS); do \
|
|
if [ -d "$$d" ]; then \
|
|
$(MK) $(MKFLAGS) -C $$d $@; \
|
|
fi \
|
|
done
|
|
endif
|
|
|
|
ifeq ($(HB_SHELL),nt)
|
|
DIR_RULE := for %%d in ($(DIRS_OS)) do $(MK_OS) $(MKFLAGS) -C %%d $@
|
|
endif
|
|
|
|
ifeq ($(HB_SHELL),os2)
|
|
DIR_RULE := for %d in ($(DIRS_OS)) do $(MK_OS) $(MKFLAGS) -C %d $@
|
|
endif
|
|
|
|
ifeq ($(HB_SHELL),dos)
|
|
|
|
# We have to use script to overcome the DOS limit of max 128 characters
|
|
# NOTE: The empty line directly before 'endef' HAVE TO exist!
|
|
# It causes that every command will be separated by LF
|
|
define dir_mk
|
|
@$(MK_OS) $(MKFLAGS) -C $(file) $@
|
|
|
|
endef
|
|
|
|
DIR_RULE := $(foreach file,$(DIRS_OS),$(dir_mk))
|
|
|
|
endif
|
|
|
|
endif # ! Empty directory list
|