home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!iguana.cis.ohio-state.edu!balasub
- From: balasub@iguana.cis.ohio-state.edu (Krishna Balasubramanian)
- Subject: Re: IPC Makefile?
- In-Reply-To: jliddle@rs6000.cmp.ilstu.edu's message of Wed, 23 Dec 1992 17: 23:40 GMT
- Message-ID: <BALASUB.92Dec23140528@iguana.cis.ohio-state.edu>
- Originator: balasub@iguana.cis.ohio-state.edu
- Sender: news@cis.ohio-state.edu (NETnews )
- Organization: Ohio State Computer Science
- References: <1992Dec23.172340.22338@rs6000.cmp.ilstu.edu>
- Date: Wed, 23 Dec 1992 19:05:28 GMT
- Lines: 57
-
- In article <1992Dec23.172340.22338@rs6000.cmp.ilstu.edu> jliddle@rs6000.cmp.ilstu.edu (Jean Liddle) writes:
-
-
- Merry Winter Solstice!
-
- I downloaded the ipc extentions to linux 0.99[.1] and installed them
- according to instructions, but the make failed on the .../src/linux/ipc
- Makefile. After browsing through the IPC Makefile I discovered it is
- a copy of the .../src/linux/Makefile, with the two-line change to make
- ipc compile in (ARCHIVES and SUBDIRS changes). There appears to be no
- Makefile for the ipc directory. Has anyone else run across this, and is
- there a reliable fix? I hesitate to throw together my own Makefile for
- a package which will become part of the kernel, since any mistakes I
- make might not show themselves until sometime down the road, when I least
- expect (and can least afford) it.
-
-
- Sorry I put the wrong Makefile in ipcbeta.tar.Z. I've fixed the file
- on sunsite and sent the correction to tsx-11. Here it is (its pre 0.99)
-
- krishna
-
- #
- # Makefile for the linux sysv ipc.
- #
- SUBDIRS =#
-
- .c.o:
- $(CC) $(CFLAGS) -c $<
- .s.o:
- $(AS) -o $*.o $<
- .c.s:
- $(CC) $(CFLAGS) -S $<
-
- OBJS = sem.o msg.o shm.o util.o
-
- ipc.o: $(OBJS) subdirs
- $(LD) -r -o ipc.o $(OBJS)
-
-
- subdirs: dummy
- for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE)) || exit; done
-
- clean:
- rm -f core *.o *.a tmp_make
- for i in *.c;do rm -f `basename $$i .c`.s;done
-
- dep:
- sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
- $(CPP) -M *.c >> tmp_make
- cp tmp_make Makefile
- @for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE) dep) || exit; done
-
- dummy:
-
- ### Dependencies:
-
-