From: drewo@dcatlas.dot.gov (Andrew R. Orndorff)
Subject: Re: More on aXe 
Keywords: aXe
Reply-To: Andrew Orndorff <dcatlas!drewo@uunet.uu.net>
 Organization: NHTSA Data Center, Washington, D.C., USA
Organization: U.S Dept. of Transportation
Date: Wed, 2 Sep 1992 14:09:58 GMT


	I'm not sure why people are having problems with this - we've
compiled and begun heavily using aXe on all of our 3.2.1 workstations
without any difficulty.

	We're using the Imakefile that's included below...of course, we
don't have Wcl installed so that section remains commented out.

	Otherwise, I didn't change anything from the default distribution.
----------
#include "Axe.tmpl"

/* Comment out or delete the next line if not building under R5 */
/*#define R5*/

/* Where do you want the executables to be installed */
Bindir = /u/local/bin

/* Where do you want the app defaults file to be installed */
Appdir = ${XAPPLOADDIR}

/* Where do you want the man page to be installed */
Mandir = /u/local/man/man1

/* Where do you want the help files to be installed */
Helpdir = /u/local/lib

/* Do you have Wcl 2.02 installed? The default assumes not */
/* If you do, uncomment in the next two sections to say where ... */

/*  ...the include files are, i.e. XpIncDir/X11/Xp exists */
/* #define XpIncDir /usr/local/Wcl/include */

/* ...and where the Xp library is, i.e. XpLibDir/libXp.a (or .so.?.?) exists */
/* #define XpLibDir /usr/local/Wcl/lib */

/* Uncomment the next line if you have <sys/dir.h> rather than <dirent.h> */
/* #define NoDirent */

/*------ No need (hopefully) to change anything below this line ------*/


#ifdef R5
R5ONLY_SRCS = Viewlist.c
R5ONLY_OBJS = Viewlist.o
#else
R4ONLY_SRCS = Porthole.c
R4ONLY_OBJS = Porthole.o
#endif

#ifndef XpLibDir
TABLE_SRCS = Table.c TableVec.c TableLoc.c
TABLE_OBJS = Table.o TableVec.o TableLoc.o
#endif

SRCS = ${TABLE_SRCS} \
       AxeWindow.c AxeEditor.c AxeMenuBtn.c AxeSimMenu.c \
       AxeSmeBSB.c AxeCommand.c AxeTextDeck.c AxeText.c \
       AxeiiText.c \
       FileNomWin.c FileNom.c ${R5ONLY_SRCS} ${R4ONLY_SRCS} ScrollText.c \
       NumericPad.c CtrlCodeSel.c Preference.c Confirmer.c \
       insertfile.c match.c axe.c
OBJS = ${TABLE_OBJS} \
       AxeWindow.o AxeEditor.o AxeMenuBtn.o AxeSimMenu.o \
       AxeSmeBSB.o AxeTextDeck.o AxeCommand.o AxeText.o \
       AxeiiText.o \
       FileNomWin.o FileNom.o ${R5ONLY_OBJS} ${R4ONLY_OBJS} ScrollText.o \
       NumericPad.o CtrlCodeSel.o Preference.o Confirmer.o \
       insertfile.o match.o axe.o

#ifndef XpLibDir
 EXTRA_INCLUDES = -I.
LOCAL_LIBRARIES = XawClientLibs
#else
 EXTRA_INCLUDES = -I. -I/**/XpIncDir
  LOCAL_LDFLAGS = -L/**/XpLibDir
LOCAL_LIBRARIES = -lXp XawClientLibs
#endif
        DEPLIBS = XawClientDepLibs

ComplaxeProgramTarget(axe,${Bindir},${Appdir},${Mandir},${Helpdir})
InstallAxeDefaults(Axe,${Appdir})
InstallMultiple(axe.help.gnrl axe.help.bind axe.help.cust axe.help.pops axe.help.chng,${Helpdir})

SpecialObjectRule(AxeEditor.o,,-DHELPDIR=\"${Helpdir}\")
#ifdef NoDirent
SpecialObjectRule(FileNom.o,,-DNODIRENT)
#endif


AllTarget(coaxe)
NormalProgramTarget(coaxe,coaxe.o,,-lX11,)
InstallCoaxe(${Bindir})
----------

	Andrew Orndorff

	NHTSA Data Center
	Internet:	dcatlas!zeus.dot.gov!drewo@uunet.uu.net
	UUCP:		...uunet!dcatlas!drewo
Newsgroups: comp.unix.aix