Files
harbour-core/harbour/external/pcre/Makefile
Viktor Szakats 1e8519b5b7 2009-09-12 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/pcreglob.c
    ! Fixed watcom compilation. There are still warnings.
      Please review it.

  * external/pcre/config.h
  * external/pcre/Makefile
    * -DPCRE_STATIC moved to Makefile from config.h. There is 
      no dynlib build mode here, so this could be done.
2009-09-12 14:47:55 +00:00

62 lines
1.1 KiB
Makefile

#
# $Id$
#
ROOT := ../../
include $(TOP)$(ROOT)config/global.mk
HB_BUILD_WARN := no
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
# 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
HB_CFLAGS += -DHAVE_CONFIG_H
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := unused
include $(TOP)$(ROOT)config/none.mk
endif