Files
harbour-core/harbour/contrib/hbhpdf/Makefile
Viktor Szakats 74a9559eef 2008-07-29 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbhpdf/Makefile
     ! Refixed to exclude hbhpdf from DOS builds.
2008-07-28 22:11:05 +00:00

44 lines
663 B
Makefile

#
# $Id$
#
ROOT = ../../
LIBNAME=hbhpdf
ifneq ($(HB_ARCHITECTURE),dos)
ifeq ($(HB_INC_LIBHARU),)
ifeq ($(HB_XBUILD),)
HB_INC_LIBHARU = /usr/include
endif
endif
HB_INC_LIBHARU_OK += $(foreach d, $(HB_INC_LIBHARU), $(if $(wildcard $(d)/hpdf.h),$(d),))
ifneq ($(strip $(HB_INC_LIBHARU_OK)),)
C_USR += $(foreach d, $(HB_INC_LIBHARU_OK), -I$(d))
C_SOURCES=\
harupdf.c \
PRG_HEADERS=\
harupdf.ch \
PRG_SOURCES=\
include $(TOP)$(ROOT)config/header.cf
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
include $(TOP)$(ROOT)config/lib.cf
install::
$(INSTALL_RULE_HEADERS)
else
include $(TOP)$(ROOT)config/none.cf
endif
else
include $(TOP)$(ROOT)config/none.cf
endif