Files
harbour-core/harbour/external/pcre/Makefile
Viktor Szakats 094521bd25 2010-04-11 09:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/Makefile
    ! Fixed to compile 8.02 with msvc and bcc.

  * package/winuni/RELNOTES
    * Updated external package versions.
2010-04-11 07:25:49 +00:00

67 lines
1.2 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 += -DPCRE_STATIC -DHAVE_STDINT_H=0
ifneq ($(filter $(HB_COMPILER),bcc msvc msvc64 msvcia64 icc iccia64),)
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