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
- Lines: 29
- Date:
Tue Aug 15 15:07:02 1995
- Orig file:
v1.3.18/linux/ipc/Makefile
- Orig date:
Tue Jul 11 10:02:59 1995
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