Files
harbour-core/harbour/external/pcre/Makefile
Viktor Szakats 00cd9e92f3 2010-07-15 16:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + config/vxworks
  + config/vxworks/libs.mk
  + config/vxworks/gcc.mk
  + config/vxworks/diab.mk
  + config/vxworks/global.mk
    + Started experimental VxWorks port.
    ; NOTE: VxWorks port was made possible by Wind River Systems Inc.,
            who were so kind to mail me a full VxWorks development
            environment, for the purpose of porting Harbour to this
            platform. Thank you very much guys.

            [ The free license is valid for one month, so if anyone
            is interested in helping in this project, I can help with
            real tests, builds and information. BTW, the devenv is
            Eclipse based plus cmdline, running on Windows (available
            for Linux and Solaris, too) and the target VxWorks exes
            run in a virtual environment. ]

  * config/global.mk
    + Added autodetection of VxWorks platform.

  * utils/hbmk2/hbmk2.prg
    + Added VxWorks support. It's incomplete yet.
    ! Fixed to quote *nix/gcc compiler family in
      Windows-host cross-platform situations.

  * src/vm/thread.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbdate.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/net.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * external/zlib/inflate.c
  * external/jpeg/jmorecfg.h
  * external/pcre/Makefile
  * include/hbapifs.h
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
    + vxworks/gcc port. First phase.
    ; Please review.
    ; NOTE: - vxworks has no termios, for serial comm
              support it has sioLib.h.
            - vxworks supports another C compiler, which
              was not tested yet.
            - vxworks supports lots of CPUs, only x86 was
              tested yet.
            - There are still mutex related warnings to sort out.
            - Some parts had to disabled, like HB_LIB*() functionality.
    ; TODO: Regenarate .difs in external/.

  * src/vm/hashfunc.c
    * Silenced warnings shown by vxworks/gcc.
2010-07-15 15:02:33 +00:00

105 lines
2.6 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
else
ifneq ($(filter $(HB_PLATFORM),vxworks),)
HB_CFLAGS += -DHAVE_INTTYPES_H=0
endif
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
# ORIGIN http://www.pcre.org/
# VER 8.10
# URL http://sourceforge.net/projects/pcre/files/pcre/8.10/pcre-8.10.zip/download
# DIFF pcre.dif
#
# MAP LICENCE
# MAP config.h.generic config.h
# MAP pcre.h.generic pcre.h
# MAP pcre_internal.h pcreinal.h
# MAP ucp.h
# MAP pcre_chartables.c.dist chartabs.c
# MAP pcre_compile.c pcrecomp.c
# MAP pcre_config.c pcreconf.c
# MAP pcre_dfa_exec.c pcredfa.c
# MAP pcre_exec.c pcreexec.c
# MAP pcre_fullinfo.c pcrefinf.c
# MAP pcre_get.c pcreget.c
# MAP pcre_globals.c pcreglob.c
# MAP pcre_info.c pcreinfo.c
# MAP pcre_maketables.c pcremktb.c
# MAP pcre_newline.c pcrenewl.c
# MAP pcre_ord2utf8.c pcreoutf.c
# MAP pcre_printint.src pcreprni.h
# MAP pcre_refcount.c pcrerefc.c
# MAP pcre_study.c pcrestud.c
# MAP pcre_tables.c pcretabs.c
# MAP pcre_try_flipped.c pcretryf.c
# MAP pcre_ucd.c pcreucd.c
# MAP pcre_valid_utf8.c pcrevutf.c
# MAP pcre_version.c pcrever.c
# MAP pcre_xclass.c pcrexcls.c