diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 56b6a40cec..02b796c9b3 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,39 @@ The license applies to all entries newer than 2009-04-28. */ +2010-09-07 09:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbmysql/hbmysql.hbp + * harbour/contrib/gtalleg/gtalleg.hbm + * harbour/contrib/sddmy/sddmy.hbp + * harbour/contrib/hbodbc/hbodbc.hbp + * harbour/contrib/sddfb/sddfb.hbp + * harbour/contrib/hbsqlit3/hbsqlit3.hbp + * harbour/contrib/hbmzip/hbmzip.hbp + * harbour/contrib/hbqt/hbqt_common.hbc + * harbour/contrib/hbfbird/hbfbird.hbp + * harbour/contrib/sddpg/sddpg.hbp + * harbour/contrib/hbbz2/hbbz2.hbp + * harbour/contrib/hbcurl/hbcurl.hbm + * harbour/contrib/hbcups/hbcups.hbp + * harbour/contrib/hbhpdf/hbhpdf.hbp + * harbour/contrib/hbpgsql/hbpgsql.hbp + * harbour/contrib/sddsqlt3/sddsqlt3.hbp + * harbour/contrib/hbfimage/hbfimage.hbp + * harbour/contrib/sddodbc/sddodbc.hbp + * harbour/contrib/hbgd/hbgd.hbp + * harbour/contrib/sddoci/sddoci.hbp + * harbour/contrib/hbwin/hbwin.hbp + * harbour/contrib/hbcairo/hbcairo.hbp + * harbour/contrib/hbssl/hbssl.hbm + * updated to respect HB_BUILD_EXTDEF=no setting and automatic + switching to locally hosted external libraries (if available) + Thanks to Viktor for the proposed solution. + + * harbour/config/c.mk + * harbour/config/rules.mk + + added rules to compile .s files by GCC. + I will need it for serial port support in DJGPP builds. + 2010-09-07 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/compiler/hbcomp.c ! Revisiting non-*nix stdout/stderr usage in compiler. diff --git a/harbour/config/c.mk b/harbour/config/c.mk index cd51030c6f..81ba3513cb 100644 --- a/harbour/config/c.mk +++ b/harbour/config/c.mk @@ -3,6 +3,7 @@ # C_OBJS := $(C_SOURCES:.c=$(OBJ_EXT)) $(CPP_SOURCES:.cpp=$(OBJ_EXT)) +S_OBJS := $(S_SOURCES:.s=$(OBJ_EXT)) $(SS_SOURCES:.S=$(OBJ_EXT)) C_MAIN_OBJ := $(C_MAIN:.c=$(OBJ_EXT)) @@ -19,7 +20,7 @@ ifdef YACC_SOURCE endif endif -ALL_C_OBJS := $(YACC_OBJ) $(C_OBJS) $(C_MAIN_OBJ) +ALL_C_OBJS := $(YACC_OBJ) $(C_OBJS) $(C_MAIN_OBJ) $(S_OBJS) $(YACC_OBJ) : $(YACC_C) diff --git a/harbour/config/rules.mk b/harbour/config/rules.mk index 6a84df7d76..e557e169a4 100644 --- a/harbour/config/rules.mk +++ b/harbour/config/rules.mk @@ -56,6 +56,15 @@ ifeq ($(CC_RULE),) endif endif +ifeq ($(S_RULE),) + # the hack with .s => .S translation is workaround for + # some filesystems which can change filename to lowercase + S_RULE = $(CC) $(subst $(CC_DIRSEPFROM),$(CC_DIRSEPTO),$(CC_FLAGS) $(HB_USER_CFLAGS) $(CC_OUT)$(