summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-05-25 01:52:50 +0000
committerErik Troan <ewt@redhat.com>1999-05-25 01:52:50 +0000
commit381ad1f123f805a74d29735c25b2a27549a9036c (patch)
treeaacd53f8756c325689bd7feb3d750e76254330b3 /isys
parent140aa523a723a89412dc8f75e8d1036da27188af (diff)
downloadanaconda-381ad1f123f805a74d29735c25b2a27549a9036c.tar.gz
anaconda-381ad1f123f805a74d29735c25b2a27549a9036c.tar.xz
anaconda-381ad1f123f805a74d29735c25b2a27549a9036c.zip
1) generate pcitable rather then C code
2) build test program
Diffstat (limited to 'isys')
-rw-r--r--isys/pci/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/isys/pci/Makefile b/isys/pci/Makefile
index e2b1e516a..e1e1d541b 100644
--- a/isys/pci/Makefile
+++ b/isys/pci/Makefile
@@ -1,11 +1,17 @@
-CFLAGS = -Wall
+CFLAGS = -Wall -g
+LOADLIBES = libpciprobe.a
+LDFLAGS = -g
-libpciprobe.a: libpciprobe.a(pciprobe.o)
+all: testprobe
-pciprobe.c: driverlist.h
+libpciprobe.a: libpciprobe.a(pciprobe.o) pcitable
-driverlist.h: pci.ids unsupported kernel video mergeids
+testprobe: testprobe.o libpciprobe.a
+
+pciprobe.c: pciprobe.h
+
+pcitable: pci.ids unsupported kernel video mergeids
./mergeids
clean:
- rm -f driverlist.h pciprobe *.o
+ rm -f driverlist.h pciprobe *.o testprobe *.a