Changes in build scripts

Changed SharedLibrary rule so it can generate .la files, like libtool
Added some bluring of preview image, although it pretty sucks
emountd will now use global HAL flags and libraries
This commit is contained in:
Sanel Zukan
2009-01-26 12:31:01 +00:00
parent 85aee53848
commit 5155215b68
10 changed files with 244 additions and 100 deletions

View File

@@ -8,35 +8,17 @@
# GNU General Public License version 2 or later.
# See COPYING for the details.
SubDir TOP emountd ;
rule RemoveFlag
{
local i ;
local ret ;
for i in $(>) {
if $(i) != $(<) {
ret += $(i) ;
}
}
return $(ret) ;
}
HALFLAGS = -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include ;
HALLIBS = -lhal-storage -lhal -ldbus-1 ;
SOURCE = emountd.cpp ;
ObjectC++Flags $(SOURCE) : -Wno-long-long
# libhal have a bug that fails on C++ with '-pedantic' flag
[ RemoveFlag -pedantic : $(GLOBALFLAGS) ]
$(EDELIBINCLUDE)
$(HALFLAGS) ;
$(HALINCLUDE) ;
Main emountd : $(SOURCE) ;
LinkAgainst emountd : $(EDELIBLIB) $(HALLIBS) $(STDLIB) ;
LinkAgainst emountd : $(EDELIBLIB) $(HALLIB) $(STDLIB) ;
InstallEdeProgram emountd ;
EdeManual emountd.txt ;