From e260a1aea7146ba70a2f131199f75e6f7b533ce3 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 20 Aug 2009 22:04:49 +0000 Subject: [PATCH] 2009-08-21 00:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * external/libhpdf/Makefile * contrib/hbhpdf/Makefile ! Fixed to skip them when using dos hosts (due to long filenames in libhpdf lib sources/headers) * external/libhpdf/Makefile + Enabled for watcom/dos and watcom/linux targets. * config/common/watcom.mk * config/rules.mk + Added CC_FLAGS variable similar to HB_FLAGS to aid moving flags to envvars and to reduce redundancy in rules. * The CC_RULE hack was a little bit modified accordingly for c-mode non-linux watcom. We're now a bit closer to be able to drop CC_RULE override. ! Adapted above change for watcom where now all (non-user) flags are moved to envvar when using dos shells. --- harbour/ChangeLog | 19 +++++++++++++++++++ harbour/config/common/watcom.mk | 25 +++++++++++++++---------- harbour/config/rules.mk | 10 ++++++---- harbour/contrib/hbhpdf/Makefile | 6 ++++-- harbour/external/libhpdf/Makefile | 9 +++++---- 5 files changed, 49 insertions(+), 20 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f70784105d..7d211919b0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,25 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-08-21 00:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * external/libhpdf/Makefile + * contrib/hbhpdf/Makefile + ! Fixed to skip them when using dos hosts (due to long filenames + in libhpdf lib sources/headers) + + * external/libhpdf/Makefile + + Enabled for watcom/dos and watcom/linux targets. + + * config/common/watcom.mk + * config/rules.mk + + Added CC_FLAGS variable similar to HB_FLAGS to aid + moving flags to envvars and to reduce redundancy in rules. + * The CC_RULE hack was a little bit modified accordingly + for c-mode non-linux watcom. We're now a bit closer to + be able to drop CC_RULE override. + ! Adapted above change for watcom where now all (non-user) + flags are moved to envvar when using dos shells. + 2009-08-20 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/common/watcom.mk ! Yet another fix to prev moving dos shell specific diff --git a/harbour/config/common/watcom.mk b/harbour/config/common/watcom.mk index 423f23f316..f63c3bcfb8 100644 --- a/harbour/config/common/watcom.mk +++ b/harbour/config/common/watcom.mk @@ -12,13 +12,6 @@ # http://www.users.pjwstk.edu.pl/~jms/qnx/help/watcom/compiler-tools/wlib.html # --------------------------------------------------------------- -ifeq ($(CC),wcc386) - ifneq ($(HB_HOST_ARCH),linux) - CPPFLAGS := $(subst /,\,$(CPPFLAGS)) - CC_RULE = $(CC) $(subst /,\,$(HB_INC_DEPEND)) $(CPPFLAGS) $(subst /,\,$(CFLAGS)) $(subst /,\,$(HB_CFLAGS)) $(subst /,\,$(HB_USER_CFLAGS)) $(CC_OUT)$(