* harbour/harbour.spec
* harbour/harbour-ce-spec
* harbour/harbour-w32-spec
* updated for new library names
* harbour/ChangeLog
* harbour/include/hbexprb.c
* formatting
* harbour/source/rtl/net.c
! fixed casting
* harbour/harbour.spec
* harbour/harbour-ce-spec
* harbour/harbour-w32-spec
* harbour/contrib/Makefile
* removed hbzlib - it cannot be longer part of default build
because Viktor removed zlib header files. Viktor sorry but
IMHO you should revert it and also restore ace.h - it creates
serious problems without any valuable addition. Now we will
have to rebuild Harbour on many different platforms and often
it will not be possible to install some libraries. We cannot
force installing additional libs by people who will create
binaries for incoming releases so it's important to revert
it. Please do it.
* harbour/config/bsd/install.cf
* harbour/config/darwin/install.cf
* harbour/config/hpux/install.cf
* harbour/config/linux/install.cf
* harbour/config/sunos/install.cf
* harbour/config/dos/install.cf
* harbour/config/os2/install.cf
* harbour/config/w32/install.cf
* redirected echo error messages to stderr when *sh shell is used
* harbour/config/lib.cf
* harbour/config/bin.cf
* harbour/config/global.cf
* harbour/config/hpux/gcc.cf
* harbour/config/hpux/global.cf
* harbour/config/darwin/gcc.cf
* harbour/config/darwin/global.cf
* harbour/config/dos/owatcom.cf
* harbour/config/dos/global.cf
* harbour/config/dos/rsx32.cf
* harbour/config/global.cf
* harbour/config/linux/owatcom.cf
* harbour/config/linux/global.cf
* harbour/config/os2/gcc.cf
* harbour/config/os2/global.cf
* harbour/config/sunos/gcc.cf
* harbour/config/sunos/global.cf
* harbour/config/bsd/global.cf
* harbour/config/w32/owatcom.cf
* harbour/config/w32/bcc32.cf
* harbour/config/w32/gcc.cf
* harbour/config/w32/rsxnt.cf
* harbour/config/w32/global.cf
! fixed build process. DOS and WINDOWS users should make tests for
different compilers. I tested only DOS-OpenWatcom, DOS-DJGPP,
W32-BCC32, W32-OpenWatcom, W32-POCC, W32-XCC and corss builds
W32-MinGW, W32-MinGW-CE. OS2 version not testes at all - I hope
it will work. LINUX-GCC, LINUX-G++, LINUX-OpenWatcom, BSD-GCC,
HPUX-GCC tested and they are working. I hope that SunOS version
also works though I do not have any solaris installation where
I can make real tests.
112 lines
2.5 KiB
CFEngine3
112 lines
2.5 KiB
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifndef MK
|
|
|
|
all : first
|
|
|
|
HB_GT_LIST=\
|
|
gtcgi \
|
|
gtpca \
|
|
gtstd \
|
|
gtdos \
|
|
|
|
# gtcrs \
|
|
# gtsln \
|
|
|
|
ifeq ($(HB_GTALLEG),yes)
|
|
HB_GT_LIST += gtalleg
|
|
endif
|
|
|
|
# verify if GT drivers exist
|
|
#HB_GT_LIBS := $(foreach gt, $(HB_GT_LIST), $(if $(wildcard $(TOP)$(ROOT)source/rtl/$(gt)),$(gt),))
|
|
HB_GT_LIBS := $(HB_GT_LIST)
|
|
|
|
ifeq ($(HB_GT_LIB),)
|
|
HB_GT_LIB = gtdos
|
|
endif
|
|
|
|
ifeq ($(SHLVL),) # COMMAND.COM
|
|
|
|
# There is a conflict with the use of '\' and '/' characters
|
|
# The MAKE requires '/' in filenames (ARCH_DIR) however some compilers
|
|
# and some DOS commands require '\' (ARCH_DOS)
|
|
ARCH_DIR = $(subst \,/,$(HB_ARCH))
|
|
ARCH_DOS = $(subst /,\,$(HB_ARCH))
|
|
LIB_DIR_DOS = $(subst /,\,$(LIB_DIR))
|
|
LIB_PATH_DOS = $(subst /,\,$(LIB_PATH))
|
|
LIB_ARCH_DOS = $(subst /,\,$(LIB_ARCH))
|
|
DIRSEP = $(subst /,\,\)
|
|
|
|
MK := $(subst \,/,$(subst \~,~,$(MAKE)))
|
|
|
|
ifeq ($(COMSPEC),) #location of command.com
|
|
COMSPEC := command.com
|
|
else
|
|
ifeq ($(HB_COMPILER),bcc16)
|
|
#Use standard dos path, which is already set up.
|
|
else
|
|
ifeq ($(HB_COMPILER),rsx32)
|
|
#Use standard dos path, which is already set up.
|
|
else
|
|
ifneq ($(findstring watcom,$(HB_COMPILER)),)
|
|
#Use standard dos path, which is already set up.
|
|
else
|
|
ifeq ($(HB_COMPILER),djgpp)
|
|
#Use standard dos path, which is already set up.
|
|
else
|
|
ifeq ($(HB_COMPILER),emx)
|
|
#Use standard dos path, which is already set up.
|
|
else
|
|
COMSPEC := $(subst \,/,$(COMSPEC))
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
RM = del
|
|
RD = rmdir
|
|
CP = $(COMSPEC) /Ccopy
|
|
MV = move
|
|
MD = md
|
|
|
|
#this will be used only under DJGPP
|
|
RANLIB = ranlib
|
|
|
|
dirbase::
|
|
-@$(COMSPEC) /Cfor %d in ($(HB_ARCHITECTURE) $(ARCH_DOS)) do if not exist %d\nul $(MD) %d
|
|
$(if $(LIB_PATH_DOS),-@$(COMSPEC) /Cfor %d in ($(LIB_PATH_DOS) $(LIB_DIR_DOS)) do if not exist %d\nul $(MD) %d,)
|
|
|
|
clean::
|
|
-@$(COMSPEC) /Cfor %f in ($(ARCH_DOS)\*.* *.bak *.obj *.o *.tds) do $(RM) %f
|
|
-@$(COMSPEC) /Cfor %d in ($(ARCH_DOS) $(HB_ARCHITECTURE)) do if exist %d\nul $(RD) %d
|
|
$(if $(LIB_ARCH_DOS),-@$(COMSPEC) /Cif exist $(LIB_ARCH_DOS) $(RM) $(LIB_ARCH_DOS),)
|
|
|
|
else # bash
|
|
|
|
ARCH_DIR = $(HB_ARCH)
|
|
MK = $(MAKE)
|
|
|
|
RM = rm -f
|
|
RD = rm -f -r
|
|
CP = cp -f
|
|
MV = mv -f
|
|
MD = mkdir
|
|
MDP = mkdir -p
|
|
|
|
#this will be used only under MINGW
|
|
RANLIB = ranlib
|
|
|
|
dirbase::
|
|
@[ -d $(ARCH_DIR) ] || $(MDP) $(ARCH_DIR)
|
|
@[ -z $(LIB_DIR) ] || [ -d $(LIB_DIR) ] || $(MDP) $(LIB_DIR)
|
|
|
|
clean::
|
|
-$(RD) $(ARCH_DIR) $(LIB_ARCH)
|
|
|
|
endif
|
|
endif
|