Files
harbour-core/harbour/external/pcre/Makefile
Viktor Szakats 9adc0c8611 2010-06-14 11:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * include/hbsetup.h
  * utils/hbmk2/hbmk2.prg
    + Added experimental support for QNX operating systems.
      Tested with 6.2.1.

  + config/qnx
  + config/qnx/gcc.mk
  + config/qnx/global.mk
    + Added qnx GNU make files. For now this is a simple copy
      of linux ones.

  * src/common/hbgete.c
  * src/common/hbprintf.c
    + HB_OS_QNX tweaks.

  * src/common/hbffind.c
  * src/rtl/fssize.c
    ! Disabled stat64 for HB_OS_QNX.

  * src/common/hbffind.c
    ! Fixed very old error in default (todo) branch 
      where hbrtl function was mistakenly referenced.

  * external/Makefile
  * contrib/Makefile
  * contrib/sddoci/Makefile
  * config/none.mk
  * config/global.mk
  * config/bin.mk
  * config/dir.mk
    + Since QNX has GNU Make 3.79.1, I had to re-xmastree
      the GNU Make files (though I didn't restore the xmas
      indentation), plus restore all logic that dealt
      with older GNU Make versions. Also added some new logic.
    + Changed to give warning only when using older than
      3.81 make versions. Some feature are disabled in this case,
      f.e. HB_BUILD_PKG (win/dos specific feature)
    ; TOFIX: host platform and cpu detection relies on $(eval)
             which is not present on pre 3.80.

  ; habour and hbpp builds fine, but there are several remaining
    problems in rtl and vm.

  * mpkg_nightly.sh
    + Added feeback about what the script does.
    + Using -q for zip to lessen large amount of unnecessary feedback

  * external/pcre/pcre.dif
  * external/pcre/Makefile
    ! Tweak to make PCRE build on djgpp 2.3
      Patch by Tamas Tevesz (2nd version posted on dev list)
2010-06-14 09:59:41 +00:00

69 lines
1.3 KiB
Makefile

#
# $Id$
#
ROOT := ../../
include $(TOP)$(ROOT)config/global.mk
HB_BUILD_WARN := no
HB_BUILD_MODE := c
C_SOURCES := \
chartabs.c \
pcrecomp.c \
pcreconf.c \
pcredfa.c \
pcreexec.c \
pcrefinf.c \
pcreget.c \
pcreglob.c \
pcreinfo.c \
pcremktb.c \
pcrenewl.c \
pcreoutf.c \
pcrerefc.c \
pcrestud.c \
pcretabs.c \
pcretryf.c \
pcreucd.c \
pcrever.c \
pcrevutf.c \
pcrexcls.c \
LIBNAME := hbpcre
ifneq ($(HB_HAS_PCRE_LOCAL),)
HB_CFLAGS += -DHAVE_STDINT_H=0
# only needed for win/wce, for other platforms this is noop
HB_CFLAGS_STA := -DPCRE_STATIC
ifneq ($(filter $(HB_COMPILER),bcc msvc msvc64 msvcia64 icc iccia64 djgpp),)
HB_CFLAGS += -DHAVE_INTTYPES_H=0
endif
HB_CFLAGS += -DHAVE_CONFIG_H
# workaround for problems in sunpro x86 PIC builds exploited by hbpcre library code
ifeq ($(HB_COMPILER),sunpro)
ifeq ($(HB_PLATFORM),sunos)
ifeq ($(findstring sparc,$(shell isalist)),)
HB_CFLAGS += -xbuiltin=%none
endif
else
HB_CFLAGS += -xbuiltin=%none
endif
endif
# suppress bcc warnings
ifeq ($(HB_COMPILER),bcc)
HB_CFLAGS += -w-use -w-csu -w-aus -w-sig
endif
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := unused
include $(TOP)$(ROOT)config/none.mk
endif