summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-05-03 21:14:31 +0000
committerMatt Wilson <msw@redhat.com>1999-05-03 21:14:31 +0000
commit0326f77c860cf57068cde4ad365451e7adbef268 (patch)
treecfbe72e33a557626eb3bc4089d3d531c6e5fc9c1 /isys
parent663a64b69379647e24bd23faf3bed61d683b4133 (diff)
downloadanaconda-0326f77c860cf57068cde4ad365451e7adbef268.tar.gz
anaconda-0326f77c860cf57068cde4ad365451e7adbef268.tar.xz
anaconda-0326f77c860cf57068cde4ad365451e7adbef268.zip
added install target
Diffstat (limited to 'isys')
-rw-r--r--isys/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/isys/Makefile b/isys/Makefile
index 91c419174..b9c073f72 100644
--- a/isys/Makefile
+++ b/isys/Makefile
@@ -1,12 +1,18 @@
+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
LOADLIBES = -lresolv
-all: _isys.so
+all: _isys.so isys.a
_isys.so: $(OBJECTS)
gcc -shared -o $@ $(OBJECTS) $(LOADLIBES)
+isys.a: isys.a($(OBJECTS))
+
clean:
rm -f *.o $(TARGET) $(OBJECTS)
+
+install: all
+ cp _isys.so isys.py $(DESTDIR)