* utils/hbmk2/hbmk2.prg
! Fixed to find headers in originating file directory.
This may need further tweaking. This works a little
differently in Harbour and C compilers and hbmk2 tries
to mimic both. Possible that it's still not fully
compatible, if you know something pls speak up.
+ Added -incpath= option and incpaths= .hbp option. This
is now the preferred method to add headers paths. All
path will be added to both Harbour and C compiler.
Important: a synonym for this switch is simply -i, just
like before, but now the path will be also added to
C compiler command line.
* From now on Harbour include dir will always be the first
one on the include path list passed to compilers. Before
in Harbour it was always first, in C compilers it was
always last. (disregarding include dirs passed directly
to compiler, which will always come first, but isn't
recommended). The ordering is thus this:
compiler ... flags harbourincludedir incpaths ...
- Deleted include path option detection, from now on
only those paths will be scanned wich were passed to
hbmk2 via -incpath/-i options.
% Added -kmo optimization for hbmk2 source.
+ -info and -quiet will now work in .hbm files.
(they will not control some close-to-startup messages
if specified this way though)
* external/libhpdf/Makefile
* external/libpng/Makefile
+ Enabled for darwin.
* contrib/hbqt/generator/hbqtgen.prg
! Recent fix to hbqt.h applied to generator.
* utils/hbmk2/hbmk2.hbm
- Removed no longer needed -km switch.
* utils/hbmk2/examples/hmg.hbp
* utils/hbmk2/examples/hwgui.hbp
* utils/hbmk2/examples/fwh.hbp
% Updated to use -incpaths=
* utils/hbmk2/examples/fwh.hbp
* Updated to work like similar hwgui and hmg files.
; QUESTION: Is hbwin lib required for FWH?
59 lines
823 B
Makefile
59 lines
823 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
HB_BUILD_WARN = no
|
|
HB_USER_CFLAGS += -I$(TOP)$(ROOT)source/hbzlib
|
|
|
|
ROOT = ../../
|
|
|
|
LIBNAME=libpng
|
|
|
|
ifeq ($(HB_WITH_LIBPNG),)
|
|
ifeq ($(HB_ARCHITECTURE),win)
|
|
HB_WITH_LIBPNG=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_WITH_LIBPNG=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),os2)
|
|
HB_WITH_LIBPNG=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_WITH_LIBPNG=yes
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),darwin)
|
|
HB_WITH_LIBPNG=yes
|
|
endif
|
|
ifeq ($(HB_COMPILER),poccarm)
|
|
HB_WITH_LIBPNG=no
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_WITH_LIBPNG),yes)
|
|
|
|
C_SOURCES =\
|
|
png.c \
|
|
pngerror.c \
|
|
pnggccrd.c \
|
|
pngget.c \
|
|
pngmem.c \
|
|
pngpread.c \
|
|
pngread.c \
|
|
pngrio.c \
|
|
pngrtran.c \
|
|
pngrutil.c \
|
|
pngset.c \
|
|
pngtrans.c \
|
|
pngvcrd.c \
|
|
pngwio.c \
|
|
pngwrite.c \
|
|
pngwtran.c \
|
|
pngwutil.c \
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
else
|
|
include $(TOP)$(ROOT)config/none.cf
|
|
endif
|