patch-1.3.19 linux/ipc/Makefile

Next file: linux/kernel/Makefile
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/ipc/Makefile linux/ipc/Makefile
@@ -7,25 +7,11 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
-.c.o:
-	$(CC) $(CFLAGS) -c $<
-.s.o:
-	$(AS) -o $*.o $<
-
-OBJS	=  util.o 
-SRCS	=  util.c
+O_TARGET := ipc.o
+O_OBJS   := util.o
 
 ifdef CONFIG_SYSVIPC
-OBJS	:= $(OBJS) msg.o sem.o shm.o 
-SRCS	:= $(SRCS) msg.c sem.c shm.c
+O_OBJS += msg.o sem.o shm.o
 endif
-
-ipc.o: $(OBJS) 
-	$(LD) -r -o ipc.o $(OBJS) 
-
-dep:
-	$(CPP) -M $(SRCS) > .depend
-
-modules:
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this