depend-Sektion in den Makefiles korrigiert.
authorFlorian Pose <fp@igh-essen.com>
Fri, 11 Nov 2005 10:55:22 +0000
changeset 10 67c739ece5d5
parent 9 144d220c8ca0
child 11 e58d78234412
depend-Sektion in den Makefiles korrigiert.
drivers/Makefile
mini/Makefile
rs232dbg/Makefile
rt/Makefile
--- 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
+
+#----------------------------------------------------------------