#
# $Id$
#

ROOT := ../

# contribs _without_ external dependencies
DIRS := \
   gtwvg \
   hbblink \
   hbbz2 \
   hbclipsm \
   hbcomm \
   hbct \
   hbfoxpro \
   hbfship \
   hbgt \
   hbmemio \
   hbmisc \
   hbmzip \
   hbnetio \
   hbnf \
   hbodbc \
   hbsms \
   hbsqlit3 \
   hbtip \
   hbtpathy \
   hbwin \
   hbxpp \
   hbziparc \
   rddbmcdx \
   xhb \

# contribs _with_ external dependencies
DIRS += \
   gtalleg \
   hbblat \
   hbcairo \
   hbcups \
   hbcurl \
   hbfbird \
   hbfimage \
   hbgd \
   hbhpdf \
   hbmysql \
   hbpgsql \
   hbqt \
   hbssl \
   rddads \
   rddsql \
   sddfb \
   sddmy \
   sddoci \
   sddodbc \
   sddpg \
   sddsqlt3 \

# contribs dependent on above
DIRS += \
   hbxbp \

ifeq ($(HB_CONTRIBLIBS),no)
   DIRS :=
else
ifeq ($(firstword $(HB_CONTRIBLIBS)),no)
   DIRS := $(filter-out $(HB_CONTRIBLIBS),$(DIRS))
else
ifneq ($(HB_CONTRIBLIBS),)
   DIRS := $(HB_CONTRIBLIBS)
endif
endif
endif

DIRS += $(HB_CONTRIB_ADDONS)

ifneq ($(DIRS),)
   include $(TOP)$(ROOT)config/dir.mk
else
   include $(TOP)$(ROOT)config/none.mk
endif
