depend-Sektion in den Makefiles korrigiert.
--- a/drivers/Makefile Fri Nov 11 10:15:12 2005 +0000
+++ b/drivers/Makefile Fri Nov 11 10:55:22 2005 +0000
@@ -18,10 +18,6 @@
RTLIBDIR = rt_lib
endif
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
-
CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE \
-I$(KERNELDIR)/include -D_RTAI -I$(RTAIDIR)/include \
-I$(RTLIBDIR)/msr-include
@@ -31,7 +27,7 @@
endif
MODULE = ecat_8139too.o
-OBJ = drv_8139too.o ec_device.o ec_master.o ec_slave.o ec_command.o ec_types.o
+OBJ = ec_device.o ec_master.o ec_slave.o ec_command.o ec_types.o
SRC = $(OBJ:.o=.c)
#----------------------------------------------------------------
@@ -61,3 +57,9 @@
rm -f *.o *~ core .depend
#----------------------------------------------------------------
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif
+
+#----------------------------------------------------------------
--- a/mini/Makefile Fri Nov 11 10:15:12 2005 +0000
+++ b/mini/Makefile Fri Nov 11 10:55:22 2005 +0000
@@ -18,10 +18,6 @@
RTLIBDIR = rt_lib
endif
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
-
CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ \
-DMODULE -I$(KERNELDIR)/include
@@ -50,3 +46,9 @@
rm -f *.o *~ core .depend
#----------------------------------------------------------------
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif
+
+#----------------------------------------------------------------
--- a/rs232dbg/Makefile Fri Nov 11 10:15:12 2005 +0000
+++ b/rs232dbg/Makefile Fri Nov 11 10:55:22 2005 +0000
@@ -18,10 +18,6 @@
RTLIBDIR = rt_lib
endif
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
-
CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE \
-I$(KERNELDIR)/include -D_RTAI -I$(RTAIDIR)/include -I$(RTLIBDIR)/msr-include
@@ -53,3 +49,9 @@
rm -f *.o *~ core .depend
#----------------------------------------------------------------
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif
+
+#----------------------------------------------------------------
--- a/rt/Makefile Fri Nov 11 10:15:12 2005 +0000
+++ b/rt/Makefile Fri Nov 11 10:55:22 2005 +0000
@@ -18,10 +18,6 @@
RTLIBDIR = rt_lib
endif
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
-
CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE -DSERIALDEBUG -DMSR_NO_PROC -I$(KERNELDIR)/include -D_RTAI -I$(RTAIDIR)/include -I$(RTLIBDIR)/msr-include
#Suchpfad für die Dateien aus dem RT-Lib-Verzeichnis
@@ -60,3 +56,9 @@
rm -f *.o *~ core .depend
#----------------------------------------------------------------
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif
+
+#----------------------------------------------------------------