diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-06-25 16:05:58 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-06-25 16:05:58 +0000 |
commit | 966921b2d044f2e623a3957db05ee3ecda34ca7b (patch) | |
tree | e63ae351d56ca28c414a1de75b58607830ed1496 /Makefile | |
parent | 0e8660e859d9d5c035db74713c727fdb52703c4c (diff) | |
download | ldetect-966921b2d044f2e623a3957db05ee3ecda34ca7b.tar ldetect-966921b2d044f2e623a3957db05ee3ecda34ca7b.tar.gz ldetect-966921b2d044f2e623a3957db05ee3ecda34ca7b.tar.bz2 ldetect-966921b2d044f2e623a3957db05ee3ecda34ca7b.tar.xz ldetect-966921b2d044f2e623a3957db05ee3ecda34ca7b.zip |
Use usb.ids
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -9,10 +9,10 @@ libdir = $(prefix)/lib includedir = $(prefix)/include binaries = lspcidrake -lib_objs = common.o hid.o modalias.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o sysfs_attr.o sysfs_utils.o +lib_objs = common.o hid.o modalias.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o sysfs_attr.o sysfs_utils.o names.o lib_major = libldetect.so.$(LIB_MAJOR) libraries = libldetect.so $(lib_major) $(lib_major).$(LIB_MINOR) libldetect.a -CFLAGS = -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden +CFLAGS = -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden -g RPM ?= $(HOME)/rpm @@ -44,8 +44,9 @@ usbclass.c: /usr/share/usb.ids common.o: common.c common.h pciusb.o: pciusb.c libldetect.h common.h pci.o: pci.c libldetect.h common.h -usb.o: usb.c libldetect.h common.h +usb.o: usb.c libldetect.h common.h names.h dmi.o: dmi.c libldetect.h common.h +names.o: names.c names.h sysfs_attr.o: sysfs_attr.c sysfs.h libsysfs.h sysfs_utils.o: sysfs_utils.c sysfs.h libsysfs.h |