summaryrefslogtreecommitdiffstats
path: root/isys/Makefile
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-05-26 21:02:11 +0000
committerErik Troan <ewt@redhat.com>1999-05-26 21:02:11 +0000
commitaac1d4c1fd450a50b44efa819276e1a5de5632a5 (patch)
treebc7dd358707d4ea70f44cd0e85b5aa89ac2e215e /isys/Makefile
parent579ee7e10e7628e1f0d8449c87b07b05cec4dc1c (diff)
downloadanaconda-aac1d4c1fd450a50b44efa819276e1a5de5632a5.tar.gz
anaconda-aac1d4c1fd450a50b44efa819276e1a5de5632a5.tar.xz
anaconda-aac1d4c1fd450a50b44efa819276e1a5de5632a5.zip
added subdir stuff
Diffstat (limited to 'isys/Makefile')
-rw-r--r--isys/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/isys/Makefile b/isys/Makefile
index 924c8a751..58f652d65 100644
--- a/isys/Makefile
+++ b/isys/Makefile
@@ -1,18 +1,25 @@
DESTDIR = $(TOPDIR)/RedHat/instimage/usr/lib/python1.5/site-packages
-CFLAGS = -I/usr/include/python1.5
-OBJECTS = isys.o nfsmount.o dns.o mount_clnt.o mount_xdr.o imount.o smp.o
+CFLAGS = -I/usr/include/python1.5 -g
+OBJECTS = isys.o nfsmount.o dns.o mount_clnt.o mount_xdr.o imount.o smp.o \
+ moduleinfo.o devnodes.o
+STATICLIBS = pci/libpciprobe.a
LOADLIBES = -lresolv
+SUBDIRS = pci
-all: _isys.so isys.a
+all: subdirs _isys.so isys.a
-_isys.so: $(OBJECTS)
- gcc -shared -o $@ $(OBJECTS) $(LOADLIBES)
+_isys.so: $(OBJECTS) $(STATICLIBS)
+ gcc -shared -g -o $@ $(OBJECTS) $(STATICLIBS) $(LOADLIBES)
isys.a: isys.a($(OBJECTS))
clean:
rm -f *.o $(TARGET) $(OBJECTS)
+ for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d clean; done
install: all
cp _isys.so isys.py $(DESTDIR)
+
+subdirs:
+ for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d; done