home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21554 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.2 KB  |  71 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!iguana.cis.ohio-state.edu!balasub
  3. From: balasub@iguana.cis.ohio-state.edu (Krishna Balasubramanian)
  4. Subject: Re: IPC Makefile?
  5. In-Reply-To: jliddle@rs6000.cmp.ilstu.edu's message of Wed, 23 Dec 1992 17: 23:40 GMT
  6. Message-ID: <BALASUB.92Dec23140528@iguana.cis.ohio-state.edu>
  7. Originator: balasub@iguana.cis.ohio-state.edu
  8. Sender: news@cis.ohio-state.edu (NETnews        )
  9. Organization: Ohio State Computer Science
  10. References: <1992Dec23.172340.22338@rs6000.cmp.ilstu.edu>
  11. Date: Wed, 23 Dec 1992 19:05:28 GMT
  12. Lines: 57
  13.  
  14. In article <1992Dec23.172340.22338@rs6000.cmp.ilstu.edu> jliddle@rs6000.cmp.ilstu.edu (Jean Liddle) writes:
  15.  
  16.  
  17.    Merry Winter Solstice!
  18.  
  19.    I downloaded the ipc extentions to linux 0.99[.1] and installed them
  20.    according to instructions, but the make failed on the .../src/linux/ipc
  21.    Makefile.  After browsing through the IPC Makefile I discovered it is
  22.    a copy of the .../src/linux/Makefile, with the two-line change to make
  23.    ipc compile in (ARCHIVES and SUBDIRS changes).  There appears to be no
  24.    Makefile for the ipc directory.  Has anyone else run across this, and is
  25.    there a reliable fix?  I hesitate to throw together my own Makefile for
  26.    a package which will become part of the kernel, since any mistakes I
  27.    make might not show themselves until sometime down the road, when I least
  28.    expect (and can least afford) it.
  29.  
  30.  
  31. Sorry I put the wrong Makefile in ipcbeta.tar.Z. I've fixed the file
  32. on sunsite and sent the correction to tsx-11. Here it is (its pre 0.99)
  33.  
  34. krishna
  35.  
  36. #
  37. # Makefile for the linux sysv ipc.
  38. #
  39. SUBDIRS        =#
  40.  
  41. .c.o:
  42.     $(CC) $(CFLAGS) -c $<
  43. .s.o:
  44.     $(AS) -o $*.o $<
  45. .c.s:
  46.     $(CC) $(CFLAGS) -S $<
  47.  
  48. OBJS    =  sem.o msg.o shm.o util.o 
  49.  
  50. ipc.o: $(OBJS) subdirs
  51.     $(LD) -r -o ipc.o $(OBJS)
  52.  
  53.  
  54. subdirs: dummy
  55.     for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE)) || exit; done
  56.  
  57. clean:
  58.     rm -f core *.o *.a tmp_make
  59.     for i in *.c;do rm -f `basename $$i .c`.s;done
  60.  
  61. dep:
  62.     sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
  63.     $(CPP) -M *.c >> tmp_make
  64.     cp tmp_make Makefile
  65.     @for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE) dep) || exit; done
  66.  
  67. dummy:
  68.  
  69. ### Dependencies:
  70.  
  71.