* external/libpng/Makefile
! Fixed to properly link with DJGPP.
* utils/hbmk2/hbmk2.prg
! Fixed ${hb_cpu} macro for dos/os2 platforms.
* contrib/hbhpdf/Makefile
* utils/hbmk2/examples/contribf.hbc
+ Enabled for DOS platform.
; I could back port my app to DOS after these changes, with
only inet stuff not linked in.
63 lines
894 B
Makefile
63 lines
894 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
HB_BUILD_WARN = no
|
|
HB_USER_CFLAGS += -I$(TOP)$(ROOT)source/hbzlib
|
|
|
|
ifeq ($(HB_COMPILER),djgpp)
|
|
HB_USER_CFLAGS += -DPNG_NO_SNPRINTF
|
|
endif
|
|
|
|
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
|