summaryrefslogtreecommitdiff
path: root/libsysfs/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-22 19:38:10 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:05:23 -0700
commitbf0314e326319354c857a7e9150460ec239fb07d (patch)
tree31aa9d8fd2b7efb9904ac5f1fec9d5af43f4c837 /libsysfs/Makefile
parenta41a0e28c2ba0abf99b5e7ea17645ae0e4f05758 (diff)
[PATCH] make libsysfs build cleanly
Diffstat (limited to 'libsysfs/Makefile')
-rw-r--r--libsysfs/Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/libsysfs/Makefile b/libsysfs/Makefile
deleted file mode 100644
index b82acbdbf2..0000000000
--- a/libsysfs/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# Makefile for libsysfs.a
-# Copyright (c) International Business Machines Corp., 2003
-
-H_INCLUDE=.
-LIB_INCLUDE=.
-OBJS=sysfs_bus.o sysfs_class.o sysfs_device.o sysfs_dir.o sysfs_driver.o \
- sysfs_utils.o dlist.o
-
-# Install directory
-
-# Options
-CFLAGS=-O2 -Wall -g
-
-# sysfs library
-LIBSYSFS=libsysfs.a
-
-RM=rm -f
-
-libsysfs.a: $(OBJS)
- $(AR) cru $(LIBSYSFS) $(OBJS)
- $(RANLIB) $(LIBSYSFS)
-
-sysfs_bus.o: sysfs_bus.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_bus.c
-
-sysfs_class.o: sysfs_class.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_class.c
-
-sysfs_device.o: sysfs_device.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_device.c
-
-sysfs_dir.o: sysfs_dir.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_dir.c
-
-sysfs_driver.o: sysfs_driver.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_driver.c
-
-sysfs_utils.o: sysfs_utils.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c sysfs_utils.c
-
-dlist.o: dlist.c
- $(CC) -I$(H_INCLUDE) -I$(LIB_INCLUDE) $(CFLAGS) -c dlist.c
-
-clean:
- $(RM) *.o *~ core $(LIBSYSFS)