home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.0 / LINUX-1.0 / LINUX-1 / linux / ipc / Makefile next >
Encoding:
Makefile  |  1993-12-01  |  694 b   |  39 lines

  1. #
  2. # Makefile for the linux ipc.
  3. #
  4. # Note! Dependencies are done automagically by 'make dep', which also
  5. # removes any old dependencies. DON'T put your own dependencies here
  6. # unless it's something special (ie not a .c file).
  7. #
  8. # Note 2! The CFLAGS definition is now in the main makefile...
  9.  
  10. .c.o:
  11.     $(CC) $(CFLAGS) -c $<
  12. .s.o:
  13.     $(AS) -o $*.o $<
  14. .c.s:
  15.     $(CC) $(CFLAGS) -S $<
  16.  
  17. OBJS    =  util.o 
  18. SRCS    =  util.c
  19.  
  20. ifdef CONFIG_SYSVIPC
  21. OBJS    := $(OBJS) msg.o sem.o shm.o 
  22. SRCS    := $(SRCS) msg.c sem.c shm.c
  23. endif
  24.  
  25. ipc.o: $(OBJS) 
  26.     $(LD) -r -o ipc.o $(OBJS) 
  27.  
  28. dep:
  29.     $(CPP) -M $(SRCS) > .depend
  30.  
  31. dummy:
  32.  
  33. #
  34. # include a dependency file if one exists
  35. #
  36. ifeq (.depend,$(wildcard .depend))
  37. include .depend
  38. endif
  39.