mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Added emountd, a simple daemon that uses HAL to monitor when
devices get mounted or unmounted; reports will be send via dbus. Updated docs for dbus usage. Removed obsolete parts from jambuild.txt. Small tunings in asciidoc's xhtml11.conf. econtrol now can run program applets.
This commit is contained in:
42
emountd/Jamfile
Normal file
42
emountd/Jamfile
Normal file
@@ -0,0 +1,42 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Part of Equinox Desktop Environment (EDE).
|
||||
# Copyright (c) 2008 EDE Authors.
|
||||
#
|
||||
# This program is licensed under the terms of the
|
||||
# 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) ;
|
||||
|
||||
Main emountd : $(SOURCE) ;
|
||||
LinkAgainst emountd : $(EDELIBLIB) $(HALLIBS) $(STDLIB) ;
|
||||
InstallEdeProgram emountd ;
|
||||
EdeManual emountd.txt ;
|
||||
Reference in New Issue
Block a user