* external/pcre/Makefile
! Forcing C mode for this external component, which is
mainly tested and developed for C compiler.
Currently sunpro has problems in C++ mode due to little
bug in current PCRE code. Reported to author here:
http://bugs.exim.org/show_bug.cgi?id=939
* utils/hbmk2/hbmk2.prg
* Minor formatting.
* contrib/hbcairo/core.c
* Using HB_TRUE/HB_FALSE instead of 1/0.
63 lines
1.1 KiB
Makefile
63 lines
1.1 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
|
|
|
|
# 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
|