Files
harbour-core/harbour/contrib/hbodbc/Makefile
Przemyslaw Czerpak b33f79ec8b 2008-07-15 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbfbird/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbgf/hbgfgtk/Makefile
    * do not add default system include directory to C_USR during testing
      for foreign header files when HB_XBUILD variable is set - protection
      against including wrong header files in cross builds

  * harbour/contrib/hbtpathy/ChangeLog
    * changed SVN EOL style to 'native'

  * harbour/contrib/hbbmcdx/bmdbfcdx.c
    * pacified warning
2008-07-15 12:32:34 +00:00

55 lines
797 B
Makefile

#
# $Id$
#
ROOT = ../../
LIBNAME=hbodbc
ifeq ($(HB_COMPILER),rsxnt)
HB_WITHOUT_ODBC=yes
endif
ifneq ($(HB_ARCHITECTURE),w32)
ifeq ($(HB_WITHOUT_ODBC),)
ifeq ($(HB_INC_ODBC),)
ifeq ($(HB_XBUILD),)
HB_INC_ODBC = /usr/include /usr/local/include
endif
endif
HB_INC_ODBC_OK += $(foreach d, $(HB_INC_ODBC), $(if $(wildcard $(d)/sql.h),$(d),))
ifneq ($(strip $(HB_INC_ODBC_OK)),)
C_USR += $(foreach d, $(HB_INC_ODBC_OK), -I$(d))
else
HB_WITHOUT_ODBC=yes
endif
endif
endif
ifneq ($(HB_WITHOUT_ODBC),yes)
C_SOURCES= \
odbc.c \
PRG_SOURCES= \
todbc.prg \
browodbc.prg \
PRG_HEADERS=\
sql.ch \
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