Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!rutgers!att!lzaz!hcj From: hcj@lzaz.ATT.COM (HC Johnson) Newsgroups: comp.os.minix Subject: Re: Diff for ../lib/lib.h? Summary: remember to copy com.h from h/ to /usr/include/minix Message-ID: <498@lzaz.ATT.COM> Date: 28 Mar 89 01:53:13 GMT References: <874@hydra.cs.Helsinki.FI> Organization: AT&T ISL Lincroft NJ USA Lines: 50 In article <874@hydra.cs.Helsinki.FI>, viljanen@kreeta.cs.Helsinki.FI (Lea Viljanen) writes: lib/lib.h just includes other header files. > During weekend I patched the kernel with ptrace, alltar.Z and fixes and Quote from the original ptrace posting: PLEASE NOTE: COPY h/com.h TO /usr/include/minix/com.h Here is the Makefile I use that will install the header files correctly. NOTE: LN=ln takes the least space. use LN=cp of in different file systems. ALSO NOTE: remove fcntl.h if you don't have such a file. Howard C. Johnson ATT Bell Labs att!lzaz!hcj hcj@lzaz.att.com ==============cut here for h/Makefile============== ALL = error.h SYS = stat.h fcntl.h KERNEL = const.h INCLUDE = sgtty.h signal.h MINIX = callnr.h com.h const.h type.h LN = ln INC= /usr/include all: $(MINIX) $(SYS) $(INCLUDE) $(ALL) cp cmp: all clean: install: installsys installkernel installtop installminix installsys: $(SYS) (cd /usr/include/sys; rm -f $(SYS)) for i in $(SYS); do $(LN) $$i $(INC)/sys; done installkernel: $(KERNEL) (cd /usr/include/kernel; rm -f $(KERNEL)) for i in $(KERNEL); do $(LN) $$i $(INC)/kernel; done installtop: $(INCLUDE) (cd /usr/include; rm -f $(INCLUDE)) for i in $(INCLUDE); do $(LN) $$i $(INC); done installminix: $(MINIX) (cd /usr/include/minix; rm -f $(MINIX)) for i in $(MINIX); do $(LN) $$i $(INC)/minix; done