* config/rules.cf
! Changed CC_RULE and CPP_RULE to have CC_OUT option _before_ CC_IN.
Quick check didn't reveal any problems with this accross our supported
compiler, but I may be wrong, so pls check me, I didn't test this
change thoroughly.
This change fixes CC_OUT for bcc, where it was ignored before.
If this is breaks other compilers, bcc specific CC_RULE should be
added to win/bcc.cf.
* utils/hbmk2/hbmk2.prg
* source/rtl/gtcrs/gtcrs.c
* source/rtl/gtcrs/gtcrs.h
* source/rtl/gtcrs/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/gttrm/gttrm.c
* source/rtl/gtsln/mousesln.c
* source/rtl/gtsln/gtsln.c
* source/rtl/gtsln/Makefile
* HAVE_GPM_H -> HB_HAS_GPM
* config/global.cf
+ Added some compile-time macros in comment.
* Minor correction to MKFLAGS comment.
* source/rtl/console.c
* source/rtl/hbgtcore.c
* Changed wording 'screen driver' to 'Harbour terminal (GT)'.
Former term isn't used by us.
* config/bsd/gcc.cf
* config/darwin/gcc.cf
* config/hpux/gcc.cf
* config/dos/djgpp.cf
* config/linux/gcc.cf
* config/linux/icc.cf
* config/linux/sunpro.cf
* config/os2/gcc.cf
* config/sunos/gcc.cf
* config/sunos/sunpro.cf
+ Readded accidentally deleted feature to include *nix system
libs needed for rtl, only if rtl is actually linked.
(IOW in practice don't link them for harbour/hbpp executables)
! Fixed a few old problems where some extra libs were always
linked. Now m is the only one linked in all scenarios.
+ Added linking pdcurses along with gtcrs for djgpp.
* Standardized LDFLAGS in linux/icc (left from previous modification).
! Indentations corrected.
48 lines
766 B
Makefile
48 lines
766 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../../
|
|
|
|
include $(TOP)$(ROOT)config/global.cf
|
|
|
|
LIBNAME := gttrm
|
|
|
|
C_SOURCES := \
|
|
gttrm.c \
|
|
|
|
HB_WITH_GTTRM := yes
|
|
ifeq ($(HB_ARCHITECTURE),win)
|
|
HB_WITH_GTTRM := no
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_WITH_GTTRM := no
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_WITH_GTTRM := no
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),os2)
|
|
HB_WITH_GTTRM := no
|
|
endif
|
|
ifeq ($(HB_COMPILER),cygwin)
|
|
HB_WITH_GTTRM := yes
|
|
endif
|
|
ifeq ($(HB_COMPILER),djgpp)
|
|
HB_WITH_GTTRM := yes
|
|
endif
|
|
|
|
ifeq ($(HB_WITH_GTTRM),yes)
|
|
|
|
ifeq ($(HB_GPM_MOUSE),yes)
|
|
HB_USER_CFLAGS += -DHB_HAS_GPM
|
|
ifeq ($(HB_GPM_NOICE_DISABLE),yes)
|
|
HB_USER_CFLAGS += -DHB_GPM_NOICE_DISABLE
|
|
endif
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
else
|
|
include $(TOP)$(ROOT)config/none.cf
|
|
endif
|