diff options
Diffstat (limited to 'src/feature/dircache/include.am')
-rw-r--r-- | src/feature/dircache/include.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/feature/dircache/include.am b/src/feature/dircache/include.am index 3ff54ad64d..ab162565f7 100644 --- a/src/feature/dircache/include.am +++ b/src/feature/dircache/include.am @@ -1,6 +1,6 @@ # ADD_C_FILE: INSERT SOURCES HERE. -LIBTOR_APP_A_SOURCES += \ +MODULE_DIRCACHE_SOURCES = \ src/feature/dircache/conscache.c \ src/feature/dircache/consdiffmgr.c \ src/feature/dircache/dircache.c \ @@ -13,3 +13,9 @@ noinst_HEADERS += \ src/feature/dircache/consdiffmgr.h \ src/feature/dircache/dircache.h \ src/feature/dircache/dirserv.h + +if BUILD_MODULE_DIRCACHE +LIBTOR_APP_A_SOURCES += $(MODULE_DIRCACHE_SOURCES) +else +LIBTOR_APP_A_STUB_SOURCES += src/feature/dircache/dircache_stub.c +endif |