* INSTALL
+ Added Linux build on NT host example.
* utils/hbmk2/hbmk2.prg
+ Added support for most watcom cross-compile situations.
(os2/linux/dos on win, os2/linux/win on dos, dos/win/linux on os2,
dos/win/os2 on linux - I didn't test them all obviously)
! Some fixes regarding Linux targets on non-Linux hosts cross
build situations. This is brand new situation.
! Synced watcom/os2 flags with build ones to avoid hbmk2 build errors
on os2.
! Fixed linux/watcom object extension, which appears to be .obj
when using non-Linux hosts.
* make_gnu.bat
* Linux cross-build support.
! Fixed to find make_gnu.sh when doing partial builds using
bash on Windows.
* config/win/global.cf
* config/win/install.cf
* config/linux/dir.cf
* config/linux/global.cf
* config/linux/install.cf
* config/os2/global.cf
* config/os2/install.cf
* config/wce/global.cf
* config/wce/install.cf
+ install bash section synced across linux/windosos2 platforms.
+ empty target handling synced across linux/windosos2 platforms.
+ Added support to linux build files for cross builds on
Windows and OS/2 hosts.
; TODO: Whole install/global/dir.cf logic is just crying to be moved
to central location and be branched by host platform/shell
rather than target platform.
; Please check me on the linux changes, could be that I messed it up.
* source/rtl/Makefile
+ Enabled to try building all GTs on every platform.
Local autodetection should take care of the decision to finally
build it or not.
* source/rtl/gtxwc/Makefile
* source/rtl/gtcrs/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/gtsln/Makefile
+ Added self-detection for external headers just like it's done
in contribs. This is required to support Linux cross-builds on
Windows. (djgpp + curses ends with build errors)
+ Added GPM autodetection.
+ Enabled gttrm for cygwin. (only in local make file)
; TOFIX: Remove such detection logic from make_gnu.sh (it's
now redundant and doesn't work for djgpp/cygwin)
* source/rtl/gtwin/gtwin.c
* source/rtl/hbgtcore.c
* contrib/xhb/txml.prg
* Minor formatting.
278 lines
3.4 KiB
Makefile
278 lines
3.4 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
ifneq ($(HB_ARCHITECTURE),wce)
|
|
HB_GCMODE=3
|
|
endif
|
|
|
|
C_SOURCES=\
|
|
abs.c \
|
|
accept.c \
|
|
ampm.c \
|
|
at.c \
|
|
ati.c \
|
|
base64c.c \
|
|
binnum.c \
|
|
binnumx.c \
|
|
box.c \
|
|
cdpapi.c \
|
|
chrasc.c \
|
|
colorind.c \
|
|
console.c \
|
|
copyfile.c \
|
|
cputime.c \
|
|
datec.c \
|
|
dates.c \
|
|
dateshb.c \
|
|
datesx.c \
|
|
defpath.c \
|
|
defpathu.c \
|
|
descend.c \
|
|
dirdrive.c \
|
|
direct.c \
|
|
diskspac.c \
|
|
disksphb.c \
|
|
do.c \
|
|
empty.c \
|
|
errapi.c \
|
|
errapiu.c \
|
|
errint.c \
|
|
errintlo.c \
|
|
file.c \
|
|
filebuf.c \
|
|
filehb.c \
|
|
filesys.c \
|
|
fkmax.c \
|
|
fmhb.c \
|
|
fnsplit.c \
|
|
fscopy.c \
|
|
fserr.c \
|
|
fssize.c \
|
|
fstemp.c \
|
|
gete.c \
|
|
gt.c \
|
|
gtapi.c \
|
|
gtchrmap.c \
|
|
gtclip.c \
|
|
gtfunc.c \
|
|
gtkbstat.c \
|
|
gtkeycod.c \
|
|
gtsys.c \
|
|
gttone.c \
|
|
gx.c \
|
|
hardcr.c \
|
|
hbadler.c \
|
|
hbbit.c \
|
|
hbcrc.c \
|
|
hbhex.c \
|
|
hbmd5.c \
|
|
hbntos.c \
|
|
hbffind.c \
|
|
hbfile.c \
|
|
hbgtcore.c \
|
|
hbi18n1.c \
|
|
hbinet.c \
|
|
hbproces.c \
|
|
hbprocfn.c \
|
|
hbrandom.c \
|
|
hbregex.c \
|
|
hbregexc.c \
|
|
hbrunfun.c \
|
|
hbstrfmt.c \
|
|
hbstrsh.c \
|
|
hbtoken.c \
|
|
hbzlib.c \
|
|
hbzlibgz.c \
|
|
idle.c \
|
|
idlex.c \
|
|
inkey.c \
|
|
inkeyapi.c \
|
|
is.c \
|
|
isprint.c \
|
|
itemseri.c \
|
|
lang.c \
|
|
langapi.c \
|
|
left.c \
|
|
len.c \
|
|
lennum.c \
|
|
math.c \
|
|
maxrow.c \
|
|
memofile.c \
|
|
minmax.c \
|
|
mlcfunc.c \
|
|
mod.c \
|
|
mouse53.c \
|
|
mouseapi.c \
|
|
mousehb.c \
|
|
mousex.c \
|
|
mtran.c \
|
|
natmsg.c \
|
|
natmsgu.c \
|
|
net.c \
|
|
oemansi.c \
|
|
oemansix.c \
|
|
oldbox.c \
|
|
oldclear.c \
|
|
pad.c \
|
|
padc.c \
|
|
padl.c \
|
|
padr.c \
|
|
philes.c \
|
|
philes53.c \
|
|
philesx.c \
|
|
rat.c \
|
|
replic.c \
|
|
right.c \
|
|
round.c \
|
|
run.c \
|
|
samples.c \
|
|
saverest.c \
|
|
scroll.c \
|
|
scrrow.c \
|
|
secondfs.c \
|
|
seconds.c \
|
|
setcolor.c \
|
|
setcurs.c \
|
|
setkey.c \
|
|
setpos.c \
|
|
setposbs.c \
|
|
shadow.c \
|
|
shadowu.c \
|
|
soundex.c \
|
|
space.c \
|
|
spfiles.c \
|
|
str.c \
|
|
strc.c \
|
|
strcase.c \
|
|
strmatch.c \
|
|
strpeek.c \
|
|
strtoexp.c \
|
|
strtran.c \
|
|
strxor.c \
|
|
strzero.c \
|
|
stuff.c \
|
|
substr.c \
|
|
tone.c \
|
|
trace.c \
|
|
transfrm.c \
|
|
trim.c \
|
|
tscalara.c \
|
|
tscalarb.c \
|
|
tscalarc.c \
|
|
tscalard.c \
|
|
tscalarh.c \
|
|
tscalarl.c \
|
|
tscalarn.c \
|
|
tscalarp.c \
|
|
tscalars.c \
|
|
tscalart.c \
|
|
tscalaru.c \
|
|
type.c \
|
|
val.c \
|
|
valtostr.c \
|
|
valtype.c \
|
|
version.c \
|
|
word.c \
|
|
xhelp.c \
|
|
xsavescr.c \
|
|
|
|
|
|
PRG_SOURCES=\
|
|
achoice.prg \
|
|
adir.prg \
|
|
alert.prg \
|
|
altd.prg \
|
|
base64.prg \
|
|
browdb.prg \
|
|
browdbx.prg \
|
|
browse.prg \
|
|
checkbox.prg \
|
|
color53.prg \
|
|
dbedit.prg \
|
|
devoutp.prg \
|
|
dircmd.prg \
|
|
dirscan.prg \
|
|
einstv52.prg \
|
|
einstvar.prg \
|
|
einstvau.prg \
|
|
errsys.prg \
|
|
fieldbl.prg \
|
|
getlist.prg \
|
|
getsys.prg \
|
|
getsys53.prg \
|
|
gui.prg \
|
|
hbi18n2.prg \
|
|
hbini.prg \
|
|
input.prg \
|
|
listbox.prg \
|
|
memoedit.prg \
|
|
memvarbl.prg \
|
|
menuto.prg \
|
|
menusys.prg \
|
|
objfunc.prg \
|
|
perfuncs.prg \
|
|
profiler.prg \
|
|
pushbtn.prg \
|
|
radiobhb.prg \
|
|
radiobtn.prg \
|
|
radiogrp.prg \
|
|
readkey.prg \
|
|
readvar.prg \
|
|
scrollbr.prg \
|
|
setfunc.prg \
|
|
setta.prg \
|
|
tclass.prg \
|
|
tbcolumn.prg \
|
|
tbrowse.prg \
|
|
tbrowsys.prg \
|
|
teditor.prg \
|
|
text.prg \
|
|
tget.prg \
|
|
tgethb.prg \
|
|
tgetint.prg \
|
|
tgetlist.prg \
|
|
tgetx.prg \
|
|
thfuncx.prg \
|
|
tlabel.prg \
|
|
tmenuitm.prg \
|
|
tmenusys.prg \
|
|
tobject.prg \
|
|
tpersist.prg \
|
|
tpopup.prg \
|
|
treport.prg \
|
|
tscalar.prg \
|
|
tsymbol.prg \
|
|
ttextlin.prg \
|
|
tthreadx.prg \
|
|
ttopbar.prg \
|
|
typefile.prg \
|
|
typefilx.prg \
|
|
valtoexp.prg \
|
|
wait.prg \
|
|
|
|
LIBNAME=hbrtl
|
|
|
|
DIRS=\
|
|
gtcgi \
|
|
gtcrs \
|
|
gtdos \
|
|
gtgui \
|
|
gtos2 \
|
|
gtpca \
|
|
gtsln \
|
|
gtstd \
|
|
gttrm \
|
|
gtwin \
|
|
gtwvt \
|
|
gtxwc \
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
include $(TOP)$(ROOT)config/dir.cf
|
|
|
|
ifneq ($(HB_GT_LIB),)
|
|
CFLAGS += -DHB_GT_LIB=$(HB_GT_LIB:gt%=%)
|
|
endif
|