[comp.windows.x] I need imake macros for Sony NWS-841 workstation

adrian@ora.UUCP (Adrian Nye ) (01/13/89)

I want to build the Release 3 clients and libraries on a
Sony NWS-841 workstation, and it would greatly help
to have the appropriate version of the imake 
macros file.  Does anyone have this file?

Is anyone from Sony out there?
-- 
Adrian Nye (617) 527-4210
O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks
981 Chestnut Street, Newton, MA 02164
UUCP:	uunet!ora!adrian   ARPA: adrian@ora.uu.net

venky@CS.BUFFALO.EDU (Ramadoss Venkatesan) (01/16/89)

I recently built X clients and libraries on an Encore machine running UMAX.
There is no macro file for Encore in the distribution tapes. However I 
constructed one (multimax.macros) using "Guess.macros" provided in
the directory "util/imake.includes" (path from top level of "core.src").

Following is the macro file that I made. It should work just fine for you,
provided you take care of "BOOTSTRAPCFLAGS", a macro defined in this file.
I presume that Sony NWS-841 runs some flavor of UNIX.

I am also forwarding to you the replies I got from other people who built X
on machines for which no macro files are provided.

I recommend you go through them all. You will certainly find them useful.

Here is mine:

-------------------------------------------------------------------------
/*------------------------------------------------------------------------*/
/*  This macro file was made for building the X clients and libraries     */
/*  on Encore running UMAX. It was made by modifying                      */
/*  "Guess.macros" provided in the directory "util/imake.includes"        */
/*                                                                        */
/*  Done by: Ramadoss Venkatesan, Computer Science, SUNY@Buffalo          */
/*------------------------------------------------------------------------*/

/**/# platform:  $XConsortium: Guess.macros,v 1.30 88/10/23 11:00:33 jim Exp $

/****************************************************************************
 *                                                                          *
 *		   SET MAKE VARIABLES THAT ARE OS-DEPENDENT                 *
 *                                                                          *
 ****************************************************************************/


/*
 * generic BSD definitions
 */
               AR = ar clq
/* NOTE:::: This is set if your cpp doesn't have unique symbol to identify your
paltform */
/*---------------------------------------------*/
  BOOTSTRAPCFLAGS = -Dmultimax 
/*---------------------------------------------*/
               CC = cc
         COMPRESS = compress
              CPP = /lib/cpp
          INSTALL = install
               LD = ld
             LINT = lint
      LINTLIBFLAG = -C
         LINTOPTS = -axz
               LN = ln -s
               MV = mv
           RANLIB = ranlib
  RANLIBINSTFLAGS = 			/* might use -t if supported */
               RM = rm -f
  STD_CPP_DEFINES =	            /* for passing things through cpp */
      STD_DEFINES =			/* actually special compiler flags */
SYSLAST_LIBRARIES =			/* socket or emulation libraries */
             TAGS = ctags



/*****************************************************************************
 *                                                                           *
 *			DEFINE PARAMETERS FOR BUILDING                       *
 *                                                                           *
 *****************************************************************************/

/* #define XmumbleServer Xmumble */	/* if BuildServer isn't set false */
#define LibraryDefines			/* any special flags */
#define ServerDefines			/* any special flags */
#define ConnectionFlags -DTCPCONN -DUNIXCONN /* -DDNETCONN */
/* #define FontDefines -DFONT_SNF -DFONT_BDF -DCOMPRESSED_FONTS */


/*****************************************************************************
 *                                                                           *
 *	      OVERRIDE ANY CONFIGURATION PARAMETERS FROM site.def            *
 *                                                                           *
 *****************************************************************************/

#ifdef SYSV
#define SystemV			YES
#endif

/* NOTE::::: We don't want to build the server */
/*--------------------------------*/
#define BuildServer 		NO
/*--------------------------------*/