diff --git a/build/doxyfile.api b/build/doxyfile.api
index 3739a642607633ba9d859edf9d6c156504f43a6d..4b8b1037510215cd437c13a37c13f3a9d15392d2 100644
--- a/build/doxyfile.api
+++ b/build/doxyfile.api
@@ -86,7 +86,8 @@ WARN_LOGFILE           =
 # configuration options related to the input files
 #---------------------------------------------------------------------------
 INPUT                  = lustre/ \
-                         lnet
+                         lnet/   \
+                         libcfs/
 INPUT_ENCODING         = UTF-8
 FILE_PATTERNS          = *.h \
                          *.c
diff --git a/build/doxyfile.ref b/build/doxyfile.ref
index 26c194c5b10e5ab09c11f0680bebdaf4a47152a7..7b5e7904ab1f1f73d056445debcf223f608930ab 100644
--- a/build/doxyfile.ref
+++ b/build/doxyfile.ref
@@ -86,7 +86,8 @@ WARN_LOGFILE           =
 # configuration options related to the input files
 #---------------------------------------------------------------------------
 INPUT                  = lustre/ \
-                         lnet
+                         lnet/   \
+                         libcfs/
 INPUT_ENCODING         = UTF-8
 FILE_PATTERNS          = *.h \
                          *.c