⛏️ index : haiku.git

SubDir HAIKU_TOP src add-ons index_server fulltext ;

UsePrivateHeaders index_server shared ;

local sources =
	CLuceneDataBase.cpp
	FullTextAnalyser.cpp

	IndexServerAddOn.cpp
	;

SubDirSysHdrs $(HAIKU_CLUCENE_HEADERS) ;
Includes [ FGristFiles $(sources) ] : $(HAIKU_CLUCENE_HEADERS_DEPENDENCY) ;
		# Dependency needed to trigger downloading/unzipping the package before
		# compiling the files.

Addon FullTextAnalyser :
	$(sources)
	:
	be $(HAIKU_CLUCENE_LIBS) [ TargetLibstdc++ ]
;

SEARCH on [ FGristFiles IndexServerAddOn.cpp ]
	+= [ FDirName $(SUBDIR) $(DOTDOT) ] ;