summaryrefslogtreecommitdiff
path: root/extras/multipath-tools/devmap_name/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-06 18:32:41 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:03 -0700
commit71144b744acb191d357dbfeb85a256389d4fac3b (patch)
tree15aa6e4ccb9b51c25e14a2b2cfe1c9f278e73f68 /extras/multipath-tools/devmap_name/Makefile
parent33eae955e24feb2e473b905d64de17ad641e57e0 (diff)
[PATCH] delete extras/multipath-tools as per the author's request
This is now a standalone package.
Diffstat (limited to 'extras/multipath-tools/devmap_name/Makefile')
-rw-r--r--extras/multipath-tools/devmap_name/Makefile49
1 files changed, 0 insertions, 49 deletions
diff --git a/extras/multipath-tools/devmap_name/Makefile b/extras/multipath-tools/devmap_name/Makefile
deleted file mode 100644
index e3b70a5e0d..0000000000
--- a/extras/multipath-tools/devmap_name/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# Makefile
-#
-# Copyright (C) 2003 Christophe Varoqui, <christophe.varoqui@free.fr>
-
-EXEC = devmap_name
-
-prefix =
-exec_prefix = ${prefix}
-bindir = ${exec_prefix}/sbin
-udevdir = ../../..
-klibcdir = $(udevdir)/klibc
-mandir = /usr/share/man/man8
-libdmdir = ../libdevmapper
-
-CC = gcc
-GZIP = /bin/gzip -9 -c
-
-GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
-KERNEL_DIR = /lib/modules/${shell uname -r}/build
-CFLAGS = -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -nostdinc \
- -I$(klibcdir)/klibc/include -I$(klibcdir)/klibc/include/bits32 \
- -I$(GCCINCDIR) -I$(KERNEL_DIR)/include -I$(sysfsdir) -I.
-
-OBJS = devmap_name.o
-CRT0 = $(klibcdir)/klibc/crt0.o
-LIB = $(klibcdir)/klibc/libc.a
-LIBGCC := $(shell $(CC) -print-libgcc-file-name )
-
-DMOBJS = $(libdmdir)/libdm-common.o $(libdmdir)/ioctl/libdevmapper.o
-
-$(EXEC): $(OBJS)
- $(LD) -o $(EXEC) $(CRT0) $(OBJS) $(DMOBJS) $(LIB) $(LIBGCC)
- strip $(EXEC)
- $(GZIP) $(EXEC).8 > $(EXEC).8.gz
-
-clean:
- rm -f core *.o $(EXEC) *.gz
-
-spotless: clean
-
-install:
- install -d $(DESTDIR)$(bindir)
- install -m 755 $(EXEC) $(DESTDIR)$(bindir)/
- install -d $(DESTDIR)$(mandir)
- install -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir)
-
-uninstall:
- rm $(DESTDIR)$(bindir)/$(EXEC)
- rm $(DESTDIR)$(mandir)/$(EXEC).8.gz