summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-05-12 00:52:52 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:17 -0700
commitcde5a756ce10530136b8d387346c48260a69dbfb (patch)
tree332d0d499fdad63e5b9ed57e8364e0fe9dcc2a0f /extras/volume_id/Makefile
parent7f639ff99e3857870e4e0f41843dff7ad48ad784 (diff)
[PATCH] udev_volume_id update
Here is a update to extras/volume_id/* o The device is now specified by the DEVPATH in the environment, it's no longer needed to pass the major/minor to the callout. o leading spaces and slashes are now removed from the returned string and spaces are replaced by underscore, to not to confuse udev. o Arnd Bergmann <arnd@arndb.de> provided the code to recognize s390 dasd disk labels. The -d switch tries to read the main block device instead of the partition.
Diffstat (limited to 'extras/volume_id/Makefile')
-rw-r--r--extras/volume_id/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 6a3d2866c4..307fdc2f16 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -1,6 +1,6 @@
# Makefile for udev_volume_id
#
-# Copyright (C) 2004 Kay Sievers <kay@vrfy.org>
+# Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -29,8 +29,19 @@ INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
override CFLAGS+=-Wall -fno-builtin
-OBJS = volume_id.o udev_volume_id.o
-HEADERS = volume_id.h
+
+SYSFS = ../../libsysfs/sysfs_bus.o \
+ ../../libsysfs/sysfs_class.o \
+ ../../libsysfs/sysfs_device.o \
+ ../../libsysfs/sysfs_dir.o \
+ ../../libsysfs/sysfs_driver.o \
+ ../../libsysfs/sysfs_utils.o \
+ ../../libsysfs/dlist.o
+
+
+
+OBJS = volume_id.o udev_volume_id.o dasdlabel.o $(SYSFS)
+HEADERS = volume_id.h dasdlabel.h
$(OBJS): $(HEADERS)