summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/libvolume_id/Makefile')
-rw-r--r--extras/volume_id/libvolume_id/Makefile66
1 files changed, 66 insertions, 0 deletions
diff --git a/extras/volume_id/libvolume_id/Makefile b/extras/volume_id/libvolume_id/Makefile
new file mode 100644
index 0000000000..02c24eae05
--- /dev/null
+++ b/extras/volume_id/libvolume_id/Makefile
@@ -0,0 +1,66 @@
+# Makefile for udev extra invoked from the udev main Makefile
+#
+# Copyright (C) 2004-2005 Kay Sievers <kay.sievers@vrfy.org>
+#
+# Released under the GNU General Public License, version 2.
+#
+
+LIBVOLUME_ID = libvolume_id.a
+
+OBJS= \
+ ext.o \
+ fat.o \
+ hfs.o \
+ highpoint.o \
+ isw_raid.o \
+ lsi_raid.o \
+ via_raid.o \
+ silicon_raid.o \
+ nvidia_raid.o \
+ promise_raid.o \
+ iso9660.o \
+ jfs.o \
+ linux_raid.o \
+ linux_swap.o \
+ lvm.o \
+ mac.o \
+ msdos.o \
+ ntfs.o \
+ reiserfs.o \
+ udf.o \
+ ufs.o \
+ xfs.o \
+ cramfs.o \
+ hpfs.o \
+ romfs.o \
+ sysv.o \
+ minix.o \
+ luks.o \
+ ocfs.o \
+ vxfs.o \
+ volume_id.o \
+ util.o
+
+HEADERS= \
+ volume_id.h \
+ util.h
+
+AR = $(CROSS)ar
+RANLIB = $(CROSS)ranlib
+
+all: $(LIBVOLUME_ID)
+.PHONY: all
+.DEFAULT: all
+
+%.o: %.c
+ $(QUIET) $(CC) -c $(CFLAGS) $< -o $@
+
+$(LIBVOLUME_ID): $(HEADERS) $(OBJS)
+ @rm -f $@
+ $(QUIET) $(AR) cq $@ $(OBJS)
+ $(QUIET) $(RANLIB) $@
+
+clean:
+ rm -f $(LIBVOLUME_ID) $(OBJS)
+.PHONY: clean
+