Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,50 @@
|
|||||||
|
SubDir OBOS_TOP src add-ons kernel file_systems udf ;
|
||||||
|
|
||||||
|
# save original optimization level
|
||||||
|
oldOPTIM = $(OPTIM) ;
|
||||||
|
|
||||||
|
# set some additional defines
|
||||||
|
{
|
||||||
|
local defines =
|
||||||
|
KEEP_WRONG_DIRENT_RECLEN
|
||||||
|
;
|
||||||
|
|
||||||
|
if $(COMPILE_FOR_R5) {
|
||||||
|
defines += COMPILE_FOR_R5 ;
|
||||||
|
}
|
||||||
|
|
||||||
|
if $(DEBUG) {
|
||||||
|
defines += DEBUG ;
|
||||||
|
} else {
|
||||||
|
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||||
|
OPTIM = -O1 ;
|
||||||
|
}
|
||||||
|
|
||||||
|
defines = [ FDefines $(defines) ] ;
|
||||||
|
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
|
||||||
|
SubDirC++Flags $(defines) -Wall -Wno-multichar ;
|
||||||
|
}
|
||||||
|
|
||||||
|
R5KernelAddon udf : [ FDirName kernel file_systems udf ] :
|
||||||
|
cpp.cpp
|
||||||
|
vfs_interface.cpp
|
||||||
|
|
||||||
|
Debug.cpp
|
||||||
|
DiskStructures.cpp
|
||||||
|
Volume.cpp
|
||||||
|
;
|
||||||
|
|
||||||
|
rule InstallUDF
|
||||||
|
{
|
||||||
|
Depends $(<) : $(>) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
actions ignore InstallUDF
|
||||||
|
{
|
||||||
|
cp $(>) /boot/home/config/add-ons/kernel/file_systems/
|
||||||
|
}
|
||||||
|
|
||||||
|
InstallUDF install : udf ;
|
||||||
|
|
||||||
|
# restore original optimization level
|
||||||
|
OPTIM = $(oldOPTIM) ;
|
||||||
Reference in New Issue
Block a user