Files
harbour-core/harbour/contrib/hbfimage/Makefile
Viktor Szakats f7241e9173 2009-07-11 16:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    + Minor adjustment to support OS/2 cross-builds.

  * source/rtl/gtwvt/gtwvt.c
    * Minor adjustment to casting to Windows type.

  * contrib/hbfimage/Makefile
    - Disabled for OS/2.

  * bin/postinst.cmd
    + Synced with .bat. 'copy' replaced by 'xcopy'.

  * config/os2/watcom.cf
    + Added fix (from win/watcom.cf) to swap dirseps
      for wcc386 as it cannot accept forward slashes.
      Przemek, please adapt this for Linux, as it's
      probably not needed there.
2009-07-11 14:53:21 +00:00

58 lines
1012 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),os2)
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
else
include $(TOP)$(ROOT)config/none.cf
endif