Newsgroups: comp.sys.transputer
From: robbel@fwi.uva.nl (Robert Belleman)
Subject: Inmos tools: bug in imakef. Any fixes?
Organization: FWI, University of Amsterdam
Date: 27 Jul 1994 17:13:03 GMT
Message-ID: <3164iv$k1k@mail.fwi.uva.nl>

Imakef doesn't generate proper filenames in the makefiles it makes.
In perticular when subprocesses reside in subdirectories, the prefix
names to processes are generated twice, so a #USE "subdir/process.c8h"
generates rules like "subdir/subdir/process.c8h: ...". Also, imakef tries
to generate linker files (.l8h) in such directories which obviously
fails.

Not only that, imakef doesn't properly handle parent directories from
#INCLUDEs and #USEs (like #INCLUDE "../include.inc") from _within_
subdirectories where imakef is called.

I fixed some of these bugs (like the double subdirectory described above),
but before I waste more time on this I would like to know if someone else
has done this already. I'm getting real tired of rewriting my sed scripts
and Makefile every time I make a trivial change in my software description
files. Especially since the software needs to be compiled both on a Unix
and on a Mac (: different filename handling).

By the way: I'm using the D7205 toolset.

Thanks in advance,
-- Rob

-- 
[] Robert Belleman              robbel@fwi.uva.nl     "If life is a stage,  []
[] Dept. of Computer Systems    robbel@nki.nl          I want some better   []
[] University of Amsterdam                             lighting."           []
[] the Netherlands.                                                         []

