summaryrefslogtreecommitdiffstats
path: root/isys/Makefile
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-01-22 16:50:19 -0500
committerChris Lumens <clumens@redhat.com>2008-02-11 10:44:58 -0500
commit0020bc8dc4458fb6ff1a7d42ad5c3eb5c85306c8 (patch)
treebba8cbbb1c428a5cc0cf45b85c9d42cadebbcaf7 /isys/Makefile
parentcc92e5a32bb9ac4e11a965e276e9535fb76a4371 (diff)
downloadanaconda-0020bc8dc4458fb6ff1a7d42ad5c3eb5c85306c8.tar.gz
anaconda-0020bc8dc4458fb6ff1a7d42ad5c3eb5c85306c8.tar.xz
anaconda-0020bc8dc4458fb6ff1a7d42ad5c3eb5c85306c8.zip
Remove all our own mount code.
Diffstat (limited to 'isys/Makefile')
-rw-r--r--isys/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/isys/Makefile b/isys/Makefile
index 2ad036148..5935277b1 100644
--- a/isys/Makefile
+++ b/isys/Makefile
@@ -1,7 +1,7 @@
#
# Makefile
#
-# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2007, 2008 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,8 +21,7 @@ include ../Makefile.inc
CFLAGS += -I$(PYTHONINCLUDE) -I.. -DHAVE_NFS
-OBJECTS = nfsmount.o nfsmount_clnt.o nfsmount_xdr.o devices.o imount.o \
- smp.o cpio.o uncpio.o dasd.o \
+OBJECTS = devices.o imount.o smp.o cpio.o uncpio.o dasd.o \
lang.o isofs.o linkdetect.o vio.o \
ethtool.o wireless.o eddsupport.o iface.o str.o auditd.o
SOBJECTS = $(patsubst %.o,%.lo,$(OBJECTS))
@@ -43,8 +42,6 @@ CFLAGS += $(shell pkg-config --cflags libnl-1)
LOADLIBES += $(shell pkg-config --libs libdhcp)
CFLAGS += $(shell pkg-config --cflags libdhcp)
-GENERATED = nfs_mountversion.h
-
ifeq ($(ARCH),sparc)
PYMODULES += _silo.so
SOURCES += silo.c
@@ -80,7 +77,7 @@ filtertest: filtertest.o libisys.a
clean:
rm -f *.o *.so *.lo *.a *.pyc $(TARGET) $(SOBJECTS)
- rm -f $(OBJECTS) $(GENERATED)
+ rm -f $(OBJECTS)
rm -f .depend
rm -f nl
for d in $(SUBDIRS); do make -C $$d clean; done
@@ -92,16 +89,11 @@ install: all
subdirs:
for d in $(SUBDIRS); do make -C $$d; done
-nfsmount.o: nfs_mountversion.h
-
-nfsmount.lo: nfs_mountversion.h
-
-nfsmount.do: nfs_mountversion.h
-
-nfs_mountversion.h: /usr/include/linux/nfs_mount.h
- grep NFS_MOUNT_VERSION $< | sed -e 's/NFS/KERNEL_NFS/' > $@
+nltest: str.o nl.c nl.h
+ $(CC) -c $(CFLAGS) -DTESTING nl.c -o nl.o
+ $(CC) -DTESTING nl.o -o nl $(LOADLIBES) str.o
-depend: nfs_mountversion.h
+depend:
$(CPP) -M $(CFLAGS) $(SOURCES) > .depend
ifeq (.depend,$(wildcard .depend))