1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

more tweaks for dmeventd - not finished yet

This commit is contained in:
Alasdair Kergon 2008-11-03 23:01:21 +00:00
parent 2c44337bd5
commit d4b9af444c
5 changed files with 15 additions and 5 deletions

View File

@ -47,8 +47,9 @@ tools: lib
po: tools daemons
libdm.device-mapper: include.device-mapper
daemons.device-mapper: libdm.device-mapper
tools.device-mapper: libdm.device-mapper
device-mapper: tools.device-mapper
device-mapper: tools.device-mapper daemons.device-mapper
ifeq ("@INTL@", "yes")
lib.pofile: include.pofile

View File

@ -20,8 +20,10 @@ ifneq ("@CLVMD@", "none")
endif
ifeq ("@DMEVENTD@", "yes")
SUBDIRS += dmeventd/plugins
SUBDIRS += dmeventd
endif
device-mapper: dmeventd
include $(top_srcdir)/make.tmpl

View File

@ -18,6 +18,7 @@ VPATH = @srcdir@
SOURCES = libdevmapper-event.c
LIB_STATIC = libdevmapper-event.a
LIB_VERSION = $(LIB_VERSION_DM)
ifeq ("@LIB_SUFFIX@","dylib")
LIB_SHARED = libdevmapper-event.dylib
@ -29,7 +30,13 @@ endif
TARGETS = dmeventd
CLEAN_TARGETS = dmeventd.o
include ../make.tmpl
ifneq ($(MAKECMDGOALS),device-mapper)
SUBDIRS+=plugins
endif
include $(top_srcdir)/make.tmpl
all: dmeventd
LDFLAGS += -ldl -ldevmapper -lpthread
CLDFLAGS += -ldl -ldevmapper -lpthread

View File

@ -25,7 +25,7 @@
#include "list.h"
#include "dmeventd.h"
//#include "libmultilog.h"
#include "log.h"
#include "dm-logging.h"
#include <dlfcn.h>
#include <errno.h>

View File

@ -12,7 +12,7 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "lib.h"
#include "dmlib.h"
#include "libdevmapper-event.h"
//#include "libmultilog.h"
#include "dmeventd.h"