diff options
author | Alasdair Kergon <agk@redhat.com> | 2005-04-27 22:32:00 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2005-04-27 22:32:00 +0000 |
commit | b0c36cbd57647feaf530e8ac119a2dc43f8d7437 (patch) | |
tree | 2382f3beb5c0180f1c1cde59ad191c8b84908948 /daemons/dmeventd/Makefile.in | |
parent | 22c1a65f74835218ce743a6fb540dc60b7b458ba (diff) | |
download | lvm2-b0c36cbd57647feaf530e8ac119a2dc43f8d7437.tar.gz lvm2-b0c36cbd57647feaf530e8ac119a2dc43f8d7437.tar.xz lvm2-b0c36cbd57647feaf530e8ac119a2dc43f8d7437.zip |
Prototype for a device-mapper event-handling daemon.
Diffstat (limited to 'daemons/dmeventd/Makefile.in')
-rw-r--r-- | daemons/dmeventd/Makefile.in | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/daemons/dmeventd/Makefile.in b/daemons/dmeventd/Makefile.in new file mode 100644 index 00000000..a26ba40f --- /dev/null +++ b/daemons/dmeventd/Makefile.in @@ -0,0 +1,43 @@ +# +# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. +# Copyright (C) 2004 Red Hat, Inc. All rights reserved. +# +# This file is part of the device-mapper userspace tools. +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU General Public License v.2. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +TARGETS = test dmeventd +INSTALL_TYPE = install_dynamic + +SOURCES = test.c dmeventd.c +CLEAN_TARGETS = test + +LDFLAGS += -ldl -ldevmapper -lpthread + +include ../make.tmpl + +test: $(OBJECTS) $(interfacedir)/libdevmapper.$(LIB_SUFFIX) $(top_srcdir)/lib/event/libdmevent.$(LIB_SUFFIX) + $(CC) -o $@ test.o $(LDFLAGS) \ + -L$(interfacedir) -L$(DESTDIR)/lib -L$(top_srcdir)/lib/event -ldevmapper -ldmevent $(LIBS) + +dmeventd: $(OBJECTS) $(interfacedir)/libdevmapper.$(LIB_SUFFIX) $(top_srcdir)/lib/event/libdmevent.$(LIB_SUFFIX) + $(CC) -o $@ dmeventd.o $(LDFLAGS) \ + -L$(interfacedir) -L$(DESTDIR)/lib -L$(top_srcdir)/lib/event -ldevmapper -ldmevent $(LIBS) + +install: $(INSTALL_TYPE) + +.PHONY: install_dynamic + +install_dynamic: dmeventd + $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) dmeventd $(sbindir)/dmeventd + |