* external/sqlite3/Makefile
* external/libhpdf/Makefile
* external/libpng/Makefile
* external/Makefile
* include/Makefile
* source/pp/Makefile
* source/hbextern/Makefile
* source/lang/Makefile
* source/vm/maindllh/Makefile
* source/vm/mainstd/Makefile
* source/vm/maindllp/Makefile
* source/vm/Makefile
* source/vm/vmmt/Makefile
* source/vm/mainwin/Makefile
* source/main/Makefile
* source/debug/Makefile
* source/common/Makefile
* source/nortl/Makefile
* source/rtl/gtdos/Makefile
* source/rtl/gtwin/Makefile
* source/rtl/gtxwc/Makefile
* source/rtl/gtcrs/Makefile
* source/rtl/gtstd/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/Makefile
* source/rtl/gtcgi/Makefile
* source/rtl/gtos2/Makefile
* source/rtl/gtsln/Makefile
* source/rtl/gtpca/Makefile
* source/rtl/gtgui/Makefile
* source/rtl/gt_tpl/Makefile
* source/rtl/gtwvt/Makefile
* source/macro/Makefile
* source/hbpcre/Makefile
* source/codepage/Makefile
* source/rdd/dbfntx/Makefile
* source/rdd/nulsys/Makefile
* source/rdd/Makefile
* source/rdd/dbfnsx/Makefile
* source/rdd/dbfcdx/Makefile
* source/rdd/hsx/Makefile
* source/rdd/usrrdd/rdds/Makefile
* source/rdd/usrrdd/Makefile
* source/rdd/dbffpt/Makefile
* source/rdd/hbsix/Makefile
* source/hbzlib/Makefile
* source/compiler/Makefile
* source/Makefile
* utils/hbformat/Makefile
* utils/hbmk2/Makefile
* utils/hbtest/Makefile
* utils/hbi18n/Makefile
* utils/Makefile
* utils/hbrun/Makefile
* contrib/gtalleg/Makefile
* contrib/hbmysql/Makefile
* contrib/hbct/Makefile
* contrib/xhb/Makefile
* contrib/hbodbc/Makefile
* contrib/hbtpathy/Makefile
* contrib/hbgt/Makefile
* contrib/hbmzip/Makefile
* contrib/hbsqlit3/Makefile
* contrib/hbblat/Makefile
* contrib/hbqt/Makefile
* contrib/hbfbird/Makefile
* contrib/hbziparc/Makefile
* contrib/hbxbp/Makefile
* contrib/xpp/Makefile
* contrib/Makefile
* contrib/hbnf/Makefile
* contrib/hbcurl/hbcurls/Makefile
* contrib/hbcurl/Makefile
* contrib/gtqtc/Makefile
* contrib/rddsql/sddmy/Makefile
* contrib/rddsql/sddpg/Makefile
* contrib/rddsql/sddfb/Makefile
* contrib/rddsql/sddodbc/Makefile
* contrib/rddsql/Makefile
* contrib/hbhpdf/Makefile
* contrib/rddado/Makefile
* contrib/gtwvg/Makefile
* contrib/hbpgsql/Makefile
* contrib/rddads/Makefile
* contrib/hbclipsm/Makefile
* contrib/hbfimage/Makefile
* contrib/hbgd/Makefile
* contrib/hbmisc/Makefile
* contrib/hbtip/Makefile
* contrib/hbwin/Makefile
* contrib/hbbmcdx/Makefile
* contrib/hbvpdf/Makefile
* contrib/hbssl/Makefile
* contrib/hbbtree/Makefile
* tests/bldtest/Makefile
* doc/en-EN/Makefile
* doc/Makefile
* Makefile
* Renaming .cf files to .mk.
Pass 3. Changing .cf references to .mk ones outside config.
SVN is in working state again. I'll do a final check after
this commit.
126 lines
2.6 KiB
Makefile
126 lines
2.6 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_COMPILER),watcom)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
ifeq ($(HB_COMPILER),pocc64)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_WITH_LIBHPDF := no
|
|
endif
|
|
ifeq ($(HB_COMPILER),mingwarm)
|
|
HB_WITH_LIBHPDF := yes
|
|
HB_CFLAGS += -U__COREDLL__
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),os2)
|
|
HB_WITH_LIBHPDF := yes
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_WITH_LIBHPDF),yes)
|
|
|
|
ifeq ($(HB_INC_LIBPNG),)
|
|
ifeq ($(HB_XBUILD),)
|
|
HB_INC_LIBPNG = /usr/include
|
|
ifeq ($(HB_ARCHITECTURE),win)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),wce)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),os2)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_INC_LIBPNG += $(TOP)$(ROOT)external/libpng
|
|
endif
|
|
ifeq ($(HB_ARCHITECTURE),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
|