Files
harbour-core/harbour/contrib/hbfimage/Makefile
Viktor Szakats e267c38c93 2009-03-14 14:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu_xmingwce.sh
    - Disabled modifying PATH when host OS is Windows.
    ; NOTE: Hack.

  * include/hbtrace.h
    + Added HB_EXPORT.

  * doc/whatsnew.txt
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbfimage/Makefile
    - Restored previous state, because latest changed addressing
      Linux build failure were causing problems for the Windows
      platform.
    ; TOFIX: We must clean our types, to avoid these problems
             and all bad hacks to work it around.

  * mpkg_win.bat
  * mpkg_win.nsi
    + Added files ChangeLog, TODO, ERRATA, INSTALL to root dir.
    * Some changed to batch targeting robustness for situations
      which cannot normally happen in normal cases, but it's
      useful for debugging.
2009-03-14 13:41:18 +00:00

54 lines
934 B
Makefile

#
# $Id$
#
ROOT = ../../
LIBNAME=hbfimage
HB_INC_FREEIMAGE_OK =
ifneq ($(HB_ARCHITECTURE),dos)
# disabled until a proper solution is found for type collision
ifneq ($(HB_ARCHITECTURE),linux)
ifneq ($(HB_ARCHITECTURE),darwin)
ifeq ($(HB_INC_FREEIMAGE),)
ifeq ($(HB_XBUILD),)
HB_INC_FREEIMAGE = /usr/include /opt/local/include
endif
endif
HB_INC_FREEIMAGE_OK += $(foreach d, $(HB_INC_FREEIMAGE), $(if $(wildcard $(d)/FreeImage.h),$(d),))
endif
ifneq ($(strip $(HB_INC_FREEIMAGE_OK)),)
HB_USER_CFLAGS += $(foreach d, $(HB_INC_FREEIMAGE_OK), -I$(d))
C_SOURCES = \
fi_winfu.c \
fi_wrp.c \
PRG_SOURCES= \
PRG_HEADERS=\
freeimage.ch \
include $(TOP)$(ROOT)config/header.cf
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
include $(TOP)$(ROOT)config/lib.cf
install::
$(INSTALL_RULE_HEADERS)
else
include $(TOP)$(ROOT)config/none.cf
endif
else
include $(TOP)$(ROOT)config/none.cf
endif
else
include $(TOP)$(ROOT)config/none.cf
endif