# # $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