summaryrefslogtreecommitdiff
path: root/libsysfs/Makefile
diff options
context:
space:
mode:
authordsteklof@us.ibm.com <dsteklof@us.ibm.com>2003-10-21 01:19:14 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:42 -0700
commitfe3fe3b29ffbc7d0ce7dca6a371da31d8b3ff7f8 (patch)
treefd2071c7c28b780d1509f32d8cc93c41405eceb2 /libsysfs/Makefile
parent3370fb2152d5c812ed4a48b9108a97b446713c9d (diff)
[PATCH] new version of libsysfs patch
Here's the patch applying the latest libsysfs. - adds the latest libsysfs code to udev * new code includes dlist implementation, a generic linked list implementation. Needed our own because LGPL * rearranged structures * provided more functions for accessing directory and attributes - gets rid of ->directory->path references in namedev.c - replaces sysfs_get_value_from_attributes with sysfs_get_classdev_attr
Diffstat (limited to 'libsysfs/Makefile')
-rw-r--r--libsysfs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/libsysfs/Makefile b/libsysfs/Makefile
index 79cc533959..b82acbdbf2 100644
--- a/libsysfs/Makefile
+++ b/libsysfs/Makefile
@@ -1,15 +1,15 @@
# Makefile for libsysfs.a
# Copyright (c) International Business Machines Corp., 2003
-H_INCLUDE=../include
+H_INCLUDE=.
LIB_INCLUDE=.
OBJS=sysfs_bus.o sysfs_class.o sysfs_device.o sysfs_dir.o sysfs_driver.o \
- sysfs_utils.o
+ sysfs_utils.o dlist.o
# Install directory
# Options
-CFLAGS=-O2 -Wall -ansi -g
+CFLAGS=-O2 -Wall -g
# sysfs library
LIBSYSFS=libsysfs.a
@@ -38,5 +38,8 @@ sysfs_driver.o: 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)