2009-11-17 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/gtwvg/Makefile
  * external/libpng/Makefile
    % Streamlined platform/compiler filtering logic plus more 
      precise skip reason.
This commit is contained in:
Viktor Szakats
2009-11-17 00:24:27 +00:00
parent 500a63d956
commit 5d048d2d74
3 changed files with 17 additions and 22 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-11-17 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
* external/libpng/Makefile
% Streamlined platform/compiler filtering logic plus more
precise skip reason.
2009-11-17 01:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbfntx/dbfntx1.c
* src/rdd/dbfnsx/dbfnsx1.c

View File

@@ -52,20 +52,18 @@ PRG_HEADERS := \
wvtwin.ch \
wvgparts.ch \
HB_SUPPORTED := no
ifeq ($(HB_PLATFORM),win)
ifneq ($(filter $(HB_COMPILER),mingw msvc msvc64 watcom pocc pocc64 icc bcc),)
HB_SUPPORTED := yes
HB_INC_DEPEND := -I$(TOP)$(ROOT)contrib/hbwin
include $(TOP)$(ROOT)config/header.mk
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := compiler not supported
include $(TOP)$(ROOT)config/none.mk
endif
endif
ifeq ($(HB_SUPPORTED),yes)
HB_INC_DEPEND := -I$(TOP)$(ROOT)contrib/hbwin
include $(TOP)$(ROOT)config/header.mk
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := platform or compiler not supported
HB_SKIP_REASON := platform not supported
include $(TOP)$(ROOT)config/none.mk
endif

View File

@@ -29,16 +29,7 @@ C_SOURCES := \
pngwtran.c \
pngwutil.c \
# decide if it's supported at all
HB_SUPPORTED := yes
ifeq ($(HB_COMPILER),poccarm)
HB_SUPPORTED := no
endif
ifeq ($(HB_COMPILER),xcc)
HB_SUPPORTED := no
endif
ifeq ($(HB_SUPPORTED),yes)
ifeq ($(filter $(HB_COMPILER),poccarm xcc),)
_DET_DSP_NAME := libpng
_DET_VAR_INC_ := HB_INC_PNG
@@ -70,6 +61,6 @@ ifeq ($(HB_SUPPORTED),yes)
include $(TOP)$(ROOT)config/none.mk
endif
else
HB_SKIP_REASON := platform or compiler not supported
HB_SKIP_REASON := compiler not supported
include $(TOP)$(ROOT)config/none.mk
endif