Files
harbour-core/harbour/source/rtl/Makefile
Viktor Szakats 84b016778c 2009-09-11 03:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Ubuntu pcre and zlib pkg information.
    + Documented HB_INC_ZLIB and HB_INC_PCRE settings.
    + Documented 'local' setting of HB_INC_* values.

  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/rtl/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    % Avoid redetection for local packages.
    + Integrated logic to find out whether we're using the local
      copy of any given package. This is now returned in a
      variable called HB_HAS_*_LOCAL, if this value is non-empty
      we're using the local version.
    + Added HB_INC_* option 'local', which will force using the
      locally hosted version of given package.
    + HB_HAS_* variable will now contain only the first dir where
      header was detected.
    + Locally hosted headers will always be detected now, if they
      weren't found at any default system locations.
    + Added 'nolocal' HB_INC_* option which disables above behaviour.
    ; TODO: Delete _DET_LOC_PLAT variable if current system turns
            out to work well.
    ; NOTE: I've yet to test all this on *nix.

  * config/global.mk
    + Added HB_HOST_PLAT_UNIX variable.

  * contrib/hbhpdf/Makefile
    ! Fixed mistake in prev commit.

  * contrib/gtwvg/Makefile
  * source/rtl/gttrm/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
    % Optimization in make logic in GTWVG Makefile.
    - HB_WITH_* vars changed to not aid user override.
    + Displaying more meaningful reason if skipped.
    + compiler/platform availability checks laxed to reflect real buildability
      (will most probably need refinements), so that it becomes possible to
      use these even on *nix platforms, in case the system hosted copy is not
      good for us or not available.
    + Now these will be built if autodetections reveals that local version
      is to be used.
    * Renamed HB_WITH_* vars to HB_SUPPORTED to not collide with HB_WITH_*
      concept which is due to replace HB_INC_*.
    ; IOW: Now it should be possible to enable these locally hosted components
           on any systems/scenarios where compilation of the given component
           is supported. This happens automatically according to HB_INC_*
           variables.
2009-09-11 01:37:44 +00:00

303 lines
4.5 KiB
Makefile

#
# $Id$
#
ROOT := ../../
include $(TOP)$(ROOT)config/global.mk
ifneq ($(HB_PLATFORM),wce)
HB_PRGFLAGS := -gc3
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 \
hbbyte.c \
hbcrc.c \
hbhex.c \
hbfeof.c \
hbmd5.c \
hbntos.c \
hbfile.c \
hbgtcore.c \
hbi18n1.c \
hbinet.c \
hbproces.c \
hbprocfn.c \
hbrandom.c \
hbregex.c \
hbregexc.c \
hbrunfun.c \
hbsha1.c \
hbsha1hm.c \
hbsha2.c \
hbsha2hm.c \
hbsocket.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 \
sha1.c \
sha1hmac.c \
sha2.c \
sha2hmac.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 \
ifneq ($(HB_HAS_ZLIB),)
ifneq ($(HB_HAS_PCRE),)
HB_CFLAGS += -DHB_HAS_PCRE $(foreach d,$(HB_HAS_PCRE),-I$(d))
ifneq ($(HB_HAS_PCRE_LOCAL),)
HB_CFLAGS += -DPCRE_STATIC
endif
endif
ifneq ($(HB_HAS_ZLIB),)
HB_CFLAGS += -DHB_HAS_ZLIB $(foreach d,$(HB_HAS_ZLIB),-I$(d))
endif
ifneq ($(HB_HAS_WATT),)
HB_CFLAGS += -DHB_HAS_WATT $(foreach d,$(HB_HAS_WATT),-I$(d))
endif
include $(TOP)$(ROOT)config/lib.mk
include $(TOP)$(ROOT)config/dir.mk
else
$(error ! Error: zlib component required, but not available)
endif