Modify the Imakefile
:
DESTDIR=/tmp/xanim-2.80.1/ # temporary location to put things together
BINDIR=bin
MANPATH=man
#if defined(AIXArchitecture)
XCOMM to allow non-root installation: give appropriate group
INSTALLFLAGS = $(InstallFlags) -c -g biodev
#endif
#if defined(HPArchitecture)
#if OSMajorVersion > 10
XA_DLL_DEF = -DXA_DLL -DXA_PRINT
#endif
#endif
#if defined(HPArchitecture)
#if OSMajorVersion > 10
XA_DLL_LIB = -ldl
#endif
#endif
# wherever zlib lives, for example
#if defined(AIXArchitecture)
XA_ZLIB_INCS = -I/nfs/local/51/include
#endif
#if defined(HPArchitecture)
XA_ZLIB_INCS = -I/nfs/local/1020/include
#endif
#if defined(AIXArchitecture)
XA_ZLIB_LDIR = -L/nfs/local/51/lib
#endif
#if defined(HPArchitecture)
XA_ZLIB_LDIR = -L/nfs/local/1020/lib
#endif
#if defined(AIXArchitecture)
XA_AUDIO_DEFS = -DXA_AIX_AUDIO -DXA_SELECT
#endif
#if defined(HPArchitecture)
XA_AUDIO_DEFS = -DXA_HPDEV_AUDIO
XA_AUDIO_LIBS =
#endif
#if defined(HPArchitecture)
#if OSMajorVersion == 10
XA_MACH_DEFS = +Onolimit -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z -Ae
#endif
#endif
#if AIXArchitecture
XA_MACH_DEFS = -D_LARGE_FILES -D_THREAD_SAFE
#endif
XA_SHARED = -DXSHM # only if XShm is supported