🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.graphics.pixutils
Article #548

Re: pbmplus (merged) on SGI

#548
From: Rainer Klute
Date: Wed, 23 Dec 1992 15:36
58 lines
2294 bytes
In article <1992Dec23.172540.23@iwsd01.itwol.bhp.com.au>,
visser@n6batws1.itwol.bhp.com.au (Martin Visser) writes:
|>
|> I've been using pbmplus tools very sucessfuly for quite a while. However
|> I 
|> thought it was about time that investigate problems I have making the
|> pxmmerge
|> programs. It appears that the Pbmplus.tmpl expects to have macros for
|> ObjectCompile and LinkFile defined in the ( I guess ) .cf files of
|> imake. It
|> does not appear to be the case for Silicon Graphics Irix 4.0.1.
|> 
|> Does anyone know where the definitions of these macros should be or
|> what they are??

The missing Imake rules are new with X11R5 and are therefore not available
in outdated X11 releases. To overcome this append the following to your
Pbmplus.tmpl:


/* The following definitions are new in X11R5 and provided here for X11R4
   users. They should go away some day.
*/

/* if [ -d ] or [ ! -d ] causes make to fail, define this as - */
#ifndef DirFailPrefix
#define DirFailPrefix
#endif

#ifndef MakeDir
#define MakeDir(dir) DirFailPrefix@if [ -d dir ]; then set +x; \	@@\
		else (set -x; $(MKDIRHIER) dir); fi
#endif

/*
 * LinkFile - link a file
 */
#ifndef LinkFile
#define LinkFile(tofile,fromfile)					@@\
tofile:: fromfile							@@\
	$(RM) $@							@@\
	$(LN) $? $@
#endif

/*
 * ObjectCompile - compile fragment for a normal object file
 */
#ifndef ObjectCompile
#define ObjectCompile(options) $(RM) $@					@@\
	$(CC) -c $(CFLAGS) options $*.c
#endif


-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
Technical Details
Message-ID: <1ha121INNo82@fbi-news.Informatik.Uni-Dortmund.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!tommy!klute
References: <1992Dec23.172540.23@iwsd01.itwol.bhp.com.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!tommy!klute
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: alt.graphics.pixutils
Subject: Re: pbmplus (merged) on SGI
Date: 23 Dec 1992 15:36:33 GMT
Organization: CS Department, Dortmund University, Germany
Lines: 58
Sender: klute@tommy (Rainer Klute)
Distribution: world
Message-ID: <1ha121INNo82@fbi-news.Informatik.Uni-Dortmund.DE>
References: <1992Dec23.172540.23@iwsd01.itwol.bhp.com.au>
NNTP-Posting-Host: tommy.informatik.uni-dortmund.de