* doc/linux1st.txt
- Deleted Linux build instructions no more relevant.
* Formatting. Probably this file should be moved into INSTALL.
* doc/gmake.txt
* Little updates.
* harbour-win-spec
* doc/gmake.txt
* doc/linux1st.txt
* doc/whatsnew.txt
* harbour-wce-spec
* INSTALL
* bin/hb-mkdyn.sh
* bin/postinst.cmd
* bin/postinst.bat
* bin/hb-func.sh
* bin/postinst.sh
* external/sqlite3/Makefile
* external/libhpdf/Makefile
* external/libpng/Makefile
* mpkg_tgz.sh
* harbour.spec
* source/pp/hbpp.c
* source/pp/Makefile
* source/vm/Makefile
* source/vm/cmdarg.c
* source/vm/vmmt/Makefile
* source/main/harbour.c
* source/rtl/gtdos/Makefile
* source/rtl/gtwin/Makefile
* source/rtl/gtcrs/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/Makefile
* source/rtl/gtos2/Makefile
* source/rtl/gtgui/Makefile
* source/rtl/gtwvt/Makefile
* source/rdd/Makefile
* source/Makefile
* contrib/hbodbc/Makefile
* contrib/hbsqlit3/Makefile
* contrib/hbblat/Makefile
* contrib/hbqt/Makefile
* contrib/hbxbp/Makefile
* contrib/hbcurl/Makefile
* contrib/gtqtc/Makefile
* contrib/rddsql/sddodbc/Makefile
* contrib/rddado/Makefile
* contrib/gtwvg/Makefile
* contrib/rddads/Makefile
* contrib/hbfimage/Makefile
* contrib/hbtip/Makefile
* contrib/hbwin/Makefile
* contrib/hbssl/Makefile
* utils/hbmk2/hbmk2.pt_BR.po
* utils/hbmk2/hbmk2.hu_HU.po
* config/none.mk
* config/global.mk
* config/lib.mk
* config/wce/mingw.mk
* config/bin.mk
* config/dir.mk
* config/common/watcom.mk
* config/win/msvc64.mk
* config/win/iccia64.mk
* config/win/mingw64.mk
* config/win/gcc.mk
* config/win/msvcia64.mk
* config/win/pocc64.mk
* config/header.mk
* config/dyn.mk
* config/doc.mk
* HB_ARCHITECTURE -> HB_PLATFORM
* hb_arch -> hb_plat (internal script variable)
* ARCH_COMP -> PLAT_COMP (internal make variable)
; INCOMPATIBLE: Please update your environment, if you used this setting.
; NOTE: So now Harbour uses only two names for platforms: 'OS' and 'platform'.
'Architecture' is nowhere used to refer to as an operating system
anymore. 'Architecture' is only used to refer to CPU/hardware
architecture.
127 lines
2.7 KiB
Makefile
127 lines
2.7 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
HB_BUILD_WARN := no
|
|
HB_BUILD_MODE := c
|
|
HB_CFLAGS += -I$(TOP)$(ROOT)source/hbzlib
|
|
|
|
LIBNAME := libhpdf
|
|
|
|
ifeq ($(HB_WITH_LIBHPDF),)
|
|
HB_WITH_LIBHPDF := yes
|
|
ifeq ($(HB_PLATFORM)-$(HB_COMPILER),win-watcom)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
# NOTE: dos hosts can't build this lib due to long filename. [vszakats]
|
|
ifeq ($(HB_HOST_PLAT),dos)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
ifeq ($(HB_COMPILER),pocc64)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
ifeq ($(HB_PLATFORM),wce)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
ifeq ($(HB_COMPILER),mingwarm)
|
|
HB_WITH_LIBHPDF := yes
|
|
HB_CFLAGS += -U__COREDLL__
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_WITH_LIBHPDF),yes)
|
|
|
|
ifeq ($(HB_INC_LIBPNG),)
|
|
ifeq ($(HB_XBUILD),)
|
|
HB_INC_LIBPNG = /usr/include
|
|
ifeq ($(HB_PLATFORM),win)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_PLATFORM),wce)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_PLATFORM),os2)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_PLATFORM),dos)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_PLATFORM),darwin)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
HB_INC_LIBPNG_OK := $(foreach d, $(HB_INC_LIBPNG), $(if $(wildcard $(d)/png.h),$(d),))
|
|
|
|
ifneq ($(strip $(HB_INC_LIBPNG_OK)),)
|
|
|
|
HB_CFLAGS += $(foreach d,$(HB_INC_LIBPNG_OK),-I$(d))
|
|
|
|
C_SOURCES := \
|
|
_hbhbpdf.c \
|
|
hpdf_annotation.c \
|
|
hpdf_array.c \
|
|
hpdf_binary.c \
|
|
hpdf_boolean.c \
|
|
hpdf_catalog.c \
|
|
hpdf_destination.c \
|
|
hpdf_dict.c \
|
|
hpdf_doc.c \
|
|
hpdf_doc_png.c \
|
|
hpdf_encoder.c \
|
|
hpdf_encoder_cns.c \
|
|
hpdf_encoder_cnt.c \
|
|
hpdf_encoder_jp.c \
|
|
hpdf_encoder_kr.c \
|
|
hpdf_encrypt.c \
|
|
hpdf_encryptdict.c \
|
|
hpdf_error.c \
|
|
hpdf_ext_gstate.c \
|
|
hpdf_font.c \
|
|
hpdf_font_cid.c \
|
|
hpdf_font_tt.c \
|
|
hpdf_font_type1.c \
|
|
hpdf_fontdef.c \
|
|
hpdf_fontdef_base14.c \
|
|
hpdf_fontdef_cid.c \
|
|
hpdf_fontdef_cns.c \
|
|
hpdf_fontdef_cnt.c \
|
|
hpdf_fontdef_jp.c \
|
|
hpdf_fontdef_kr.c \
|
|
hpdf_fontdef_tt.c \
|
|
hpdf_fontdef_type1.c \
|
|
hpdf_gstate.c \
|
|
hpdf_image.c \
|
|
hpdf_image_png.c \
|
|
hpdf_info.c \
|
|
hpdf_list.c \
|
|
hpdf_mmgr.c \
|
|
hpdf_name.c \
|
|
hpdf_null.c \
|
|
hpdf_number.c \
|
|
hpdf_objects.c \
|
|
hpdf_outline.c \
|
|
hpdf_page_label.c \
|
|
hpdf_page_operator.c \
|
|
hpdf_pages.c \
|
|
hpdf_real.c \
|
|
hpdf_streams.c \
|
|
hpdf_string.c \
|
|
hpdf_u3d.c \
|
|
hpdf_utils.c \
|
|
hpdf_xref.c \
|
|
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
|
|
else
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|
|
else
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|