- source/rtl/gtalleg
+ contrib/gtalleg
* TODO
* doc/dirstruc.txt
* include/hbgtcore.h
* contrib/gtalleg/Makefile
* contrib/gtalleg/make_b32.bat
* contrib/gtalleg/make_vc.bat
* contrib/gtalleg/make_gcc.sh
* contrib/make_b32_all.bat
* contrib/make_vc_all.bat
* contrib/make_gcc_all.sh
* contrib/Makefile
* config/hpux/gcc.cf
* config/hpux/global.cf
* config/darwin/gcc.cf
* config/darwin/global.cf
* config/dos/global.cf
* config/linux/gcc.cf
* config/linux/global.cf
* config/sunos/gcc.cf
* config/sunos/global.cf
* config/bsd/gcc.cf
* config/bsd/global.cf
* config/w32/global.cf
* harbour-ce-spec
* harbour-w32-spec
* harbour.spec
* GTALLEG moved to contrib to make it possible to build
using the non-GNU make system, also to align the build
process with other 3rd party package dependent parts
of Harbour.
HB_INC_ALLEGRO or HB_DIR_ALLEGRO may be used to point
to Allegro package directory. This is generally necessary
on non-*nix systems.
; NOTE: Review and test build processes and modified files,
and unmodified, but potentially related files:
bin/hb-func.sh
make_gnu.sh
make_rpm.sh
make_rpmce.sh
make_rpmw32.sh
50 lines
774 B
CFEngine3
50 lines
774 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
all : first
|
|
|
|
HB_GT_LIST=\
|
|
gtcgi \
|
|
gtpca \
|
|
gtstd \
|
|
gttrm \
|
|
|
|
ifneq ($(HB_WITHOUT_GTCRS),yes)
|
|
HB_GT_LIST += gtcrs
|
|
endif
|
|
ifeq ($(HB_COMMERCE),yes)
|
|
HB_GPM_MOUSE = no
|
|
else
|
|
ifneq ($(HB_WITHOUT_GTSLN),yes)
|
|
HB_GT_LIST += gtsln
|
|
endif
|
|
endif
|
|
ifneq ($(HB_WITHOUT_X11),yes)
|
|
HB_GT_LIST += gtxwc
|
|
endif
|
|
|
|
# verify if GT drivers exist
|
|
HB_GT_LIBS := $(foreach gt, $(HB_GT_LIST), $(if $(wildcard $(TOP)$(ROOT)source/rtl/$(gt)),$(gt),))
|
|
|
|
ifeq ($(HB_GT_LIB),)
|
|
HB_GT_LIB = gtstd
|
|
endif
|
|
|
|
ARCH_DIR = $(HB_ARCH)
|
|
MK = $(MAKE)
|
|
RM = rm -f
|
|
RD = rm -f -r
|
|
CP = cp -f
|
|
MV = mv -f
|
|
MD = mkdir
|
|
MDP = mkdir -p
|
|
RANLIB = ranlib
|
|
|
|
dirbase::
|
|
@[ -d $(ARCH_DIR) ] || $(MDP) $(ARCH_DIR)
|
|
@[ -z $(LIB_DIR) ] || [ -d $(LIB_DIR) ] || $(MDP) $(LIB_DIR)
|
|
|
|
clean::
|
|
-$(RD) $(ARCH_DIR) $(LIB_ARCH)
|