compile findutils.rdef only once for locate commands
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10089 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,27 +8,29 @@ SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
|||||||
SubDirCcFlags -DHAVE_CONFIG_H -DLOCATE_DB='\"/var/locatedb\"' ;
|
SubDirCcFlags -DHAVE_CONFIG_H -DLOCATE_DB='\"/var/locatedb\"' ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local findutils_rsrc = [ FGristFiles findutils.rsrc ] ;
|
||||||
|
ResComp $(findutils_rsrc) : [ FGristFiles findutils.rdef ] ;
|
||||||
|
SEARCH on [ FGristFiles findutils.rdef ] = [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
||||||
|
|
||||||
BinCommand locate :
|
BinCommand locate :
|
||||||
locate.c
|
locate.c
|
||||||
: libfindutils.a : findutils.rdef ;
|
: libfindutils.a : $(findutils_rsrc) ;
|
||||||
|
|
||||||
SEARCH on [ FGristFiles findutils.rdef ] = [ FDirName $(SUBDIR) $(DOTDOT) ] ;
|
|
||||||
|
|
||||||
BinCommand bigram :
|
BinCommand bigram :
|
||||||
bigram.c
|
bigram.c
|
||||||
: libfindutils.a : findutils.rdef ;
|
: libfindutils.a : $(findutils_rsrc) ;
|
||||||
|
|
||||||
MakeLocate bigram : [ FDirName $(OBOS_ETC_DIR) libexec locate ] ;
|
MakeLocate bigram : [ FDirName $(OBOS_ETC_DIR) libexec locate ] ;
|
||||||
|
|
||||||
BinCommand frcode :
|
BinCommand frcode :
|
||||||
frcode.c
|
frcode.c
|
||||||
: libfindutils.a : findutils.rdef ;
|
: libfindutils.a : $(findutils_rsrc) ;
|
||||||
|
|
||||||
MakeLocate frcode : [ FDirName $(OBOS_ETC_DIR) libexec locate ] ;
|
MakeLocate frcode : [ FDirName $(OBOS_ETC_DIR) libexec locate ] ;
|
||||||
|
|
||||||
BinCommand code :
|
BinCommand code :
|
||||||
code.c
|
code.c
|
||||||
: libfindutils.a : findutils.rdef ;
|
: libfindutils.a : $(findutils_rsrc) ;
|
||||||
|
|
||||||
MakeLocate code : [ FDirName $(OBOS_ETC_DIR) libexec locate ] ;
|
MakeLocate code : [ FDirName $(OBOS_ETC_DIR) libexec locate ] ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user