# $Header$
top_srcdir=@top_srcdir@
-top_builddir=../..
+top_builddir=..
srcdir=@srcdir@
VPATH=.:@srcdir@
SUBDIRS = OBJECT SMDS SMESHDS Driver DriverMED DriverDAT DriverUNV MEFISTO2 \
SMESH SMESH_I SMESHFiltersSelection SMESHGUI \
SMESH_SWIG
-# OBJECT SMDS SMESHDS SMESH SMESH_I SMESHGUI
+
+ifeq (@WITHNETGEN@,yes)
+SUBDIRS = OBJECT SMDS SMESHDS Driver DriverMED DriverDAT DriverUNV MEFISTO2 \
+ NETGEN SMESH SMESH_I SMESHFiltersSelection SMESHGUI \
+ SMESH_SWIG
+endif
@MODULE@