# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $

# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.224 94/12/27 03:57:50 gildea Exp $
# $XFree86: xc/config/cf/Imake.tmpl,v 3.8 1995/01/25 10:42:43 dawes Exp $
#

.SUFFIXES: .i

# $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb Exp $
# $XFree86: xc/config/cf/Imake.cf,v 3.13 1995/01/28 15:40:15 dawes Exp $

# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change

# site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
# site:  $XFree86: xc/config/cf/site.def,v 3.7 1995/01/04 04:36:01 dawes Exp $

# $XFree86: xc/config/cf/xf86site.def,v 3.35 1995/01/25 11:17:10 dawes Exp $

# -----------------------------------------------------------------------
# platform-specific configuration parameters - edit minix.cf to change

# platform:  $XFree86: xc/config/cf/minix.cf,v 3.3 1994/06/28 12:15:02 dawes Exp $

# $XConsortium: xfree86.cf,v 1.9 95/01/25 16:42:40 kaleb Exp $
# $XFree86: xc/config/cf/xfree86.cf,v 3.48 1995/01/28 15:40:38 dawes Exp $

LINKKITDIR = $(USRLIBDIR)/Server

       XF86SRC = $(SERVERSRC)/hw/xfree86
  XF86ACCELSRC = $(XF86SRC)/accel
    XF86COMSRC = $(XF86SRC)/common
 XF86CONFIGSRC = $(XF86COMSRC)
     XF86HWSRC = $(XF86SRC)/common_hw
     XF86OSSRC = $(XF86SRC)/os-support
  VGADRIVERSRC = $(XF86SRC)/vga256/drivers
VGA16DRIVERSRC = $(XF86SRC)/vga16/drivers
 VGA2DRIVERSRC = $(XF86SRC)/vga2/drivers
 MONODRIVERSRC = $(XF86SRC)/mono/drivers
   S3DRIVERSRC = $(XF86SRC)/accel/s3/drivers

XF86INIT   = $(XF86COMSRC)/xf86Init.o
XF86MINIT  = $(XF86COMSRC)/xf86Init_m.o
XF86CONFIG = $(XF86CONFIGSRC)/xf86_Option.o
XF86COMLIB = $(XF86COMSRC)/libxf86.a
XF86OSLIB  = $(XF86OSSRC)/libxf86_os.a
XF86HWLIB  = $(XF86HWSRC)/libxf86_hw.a
XF86LIBS   = $(XF86INIT) $(XF86CONFIG) $(XF86COMLIB) $(XF86HWLIB) $(XF86OSLIB)
XF86MLIBS  = $(XF86MINIT) $(XF86CONFIG) $(XF86COMLIB) $(XF86HWLIB) $(XF86OSLIB)

        XFREE86DOCDIR = $(LIBDIR)/doc
      XFREE86PSDOCDIR = $(XFREE86DOCDIR)/PostScript
    XFREE86HTMLDOCDIR = $(XFREE86DOCDIR)/html
XFREE86JAPANESEDOCDIR = $(XFREE86DOCDIR)/Japanese

# $XConsortium: xf86.rules,v 1.7 95/01/25 16:34:39 kaleb Exp $
# $XFree86: xc/config/cf/xf86.rules,v 3.7 1995/01/28 15:40:36 dawes Exp $

# -----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change

# site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
# site:  $XFree86: xc/config/cf/site.def,v 3.7 1995/01/04 04:36:01 dawes Exp $

# -----------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules:  $XConsortium: Imake.rules,v 1.197 94/12/05 19:30:41 gildea Exp $
# rules:  $XFree86: xc/config/cf/Imake.rules,v 3.11 1995/01/14 10:39:25 dawes Exp $

 _NULLCMD_ = @ echo -n

          PATHSEP = /
            SHELL = /bin/sh

              TOP = .
      CURRENT_DIR = .

            IMAKE = imake
           DEPEND = makedepend
        MKDIRHIER = mkdirhier
        CONFIGSRC = $(TOP)/config
         IMAKESRC = $(CONFIGSRC)/imake
        DEPENDSRC = $(CONFIGSRC)/makedepend
           IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx
              IXX = ixx
         IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
      IXXINCLUDES = -i '<X11/Fresco/enter-scope.h>'

          INCROOT = /opt/XF86-3.1.1/include
        USRLIBDIR = /opt/XF86-3.1.1/lib
         SHLIBDIR = /opt/XF86-3.1.1/lib
       LINTLIBDIR = $(USRLIBDIR)/lint
          MANPATH = /opt/XF86-3.1.1/man
    MANSOURCEPATH = $(MANPATH)/man
           MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
        LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
       FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)

               AR = acd -descr ack -name cc -c.a -o
  BOOTSTRAPCFLAGS =
               CC = acd -descr ack -name cc
               AS = acd -descr ack -name cc -c

         COMPRESS = compress
              CPP = /usr/lib/cpp $(STD_CPP_DEFINES)
    PREPROCESSCMD = acd -descr ack -name cc -E $(STD_CPP_DEFINES)
          INSTALL = install
     INSTALLFLAGS = -c
               LD = acd -descr ack -name cc
              LEX = lex
           LEXLIB =
             YACC = yacc
           CCYACC = yacc
             LINT = lint
      LINTLIBFLAG = -C
         LINTOPTS = -axz
               LN = ln -s
             MAKE = make
               MV = mv
               CP = cp

               RM = rm -f
        MANSUFFIX = 1
     LIBMANSUFFIX = 3
    FILEMANSUFFIX = 5
            TROFF = psroff
         MSMACROS = -ms
              TBL = tbl
              EQN = eqn

            DVIPS = dvips
            LATEX = latex

     STD_INCLUDES =
  STD_CPP_DEFINES = -D_MINIX -DMINIX -D_POSIX_SOURCE
      STD_DEFINES = -D_MINIX -DMINIX -D_POSIX_SOURCE
 EXTRA_LOAD_FLAGS =
  EXTRA_LDOPTIONS =
  EXTRA_LIBRARIES =
             TAGS = ctags

    PROTO_DEFINES = -DFUNCPROTO=15

     INSTPGMFLAGS = -s

     INSTBINFLAGS = -m 0755
     INSTUIDFLAGS = -m 4755
     INSTLIBFLAGS = -m 0644
     INSTINCFLAGS = -m 0444
     INSTMANFLAGS = -m 0444
     INSTDATFLAGS = -m 0444
    INSTKMEMFLAGS = -m 4755

      PROJECTROOT = /opt/XF86-3.1.1

     TOP_INCLUDES = -I$(INCROOT)

      CDEBUGFLAGS = -O
        CCOPTIONS = -wo -fsoft -stack 15m

      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
         LDPRELIB = -L$(USRLIBDIR)
        LDPOSTLIB =
        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
     CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)

           LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

           CCLINK = $(CC)

          CXXLINK = $(CXX)

     LDSTRIPFLAGS = -x
   LDCOMBINEFLAGS = -r
      DEPENDFLAGS =

        MACROFILE = minix.cf
           RM_CMD = $(RM)

    IMAKE_DEFINES =

         IRULESRC = $(CONFIGDIR)
        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)

     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl \
			$(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) \
			$(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xf86site.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)

# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XConsortium: Project.tmpl,v 1.248 95/01/06 19:12:51 gildea Exp $
# $XFree86: xc/config/cf/Project.tmpl,v 3.12 1995/01/25 10:42:48 dawes Exp $

# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules

           BINDIR = /opt/XF86-3.1.1/bin
     BUILDINCROOT = $(TOP)
      BUILDINCDIR = $(BUILDINCROOT)/X11
      BUILDINCTOP = ..
      BUILDLIBDIR = $(TOP)/usrlib
      BUILDLIBTOP = ..
           INCDIR = $(INCROOT)/X11
           ADMDIR = /usr/adm
           LIBDIR = $(USRLIBDIR)/X11

          FONTDIR = $(LIBDIR)/fonts
         XINITDIR = $(LIBDIR)/xinit
           XDMDIR = $(LIBDIR)/xdm
           TWMDIR = $(LIBDIR)/twm
           XSMDIR = $(LIBDIR)/xsm
           NLSDIR = $(LIBDIR)/nls
       XLOCALEDIR = $(LIBDIR)/locale
        PEXAPIDIR = $(LIBDIR)/PEX
      XAPPLOADDIR = $(LIBDIR)/app-defaults
       FONTCFLAGS = -t

     INSTAPPFLAGS = $(INSTDATFLAGS)

              RGB = rgb
            FONTC = bdftopcf
        MKFONTDIR = mkfontdir

       DOCUTILSRC = $(TOP)/doc/util
       XDOCMACROS = $(DOCUTILSRC)/macros.t
       XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
       PROGRAMSRC = $(TOP)/programs
           LIBSRC = $(TOP)/lib
          FONTSRC = $(TOP)/fonts
       INCLUDESRC = $(TOP)/X11
        SERVERSRC = $(TOP)/programs/Xserver
       CONTRIBSRC = $(TOP)/../contrib
   UNSUPPORTEDSRC = $(TOP)/unsupported
           DOCSRC = $(TOP)/doc
           RGBSRC = $(TOP)/programs/rgb
      BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
     MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
    FONTSERVERSRC = $(PROGRAMSRC)/xfs
       FONTINCSRC = $(TOP)/include/fonts
        EXTINCSRC = $(TOP)/include/extensions
     TRANSCOMMSRC = $(LIBSRC)/xtrans
   TRANS_INCLUDES = -I$(TRANSCOMMSRC)

          XLIBSRC = $(LIBSRC)/X11

 DEPXONLYLIB = $(USRLIBDIR)/libX11.a
 XONLYLIB =  -lX11

 LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln

         XLIBONLY = $(XONLYLIB)

      XEXTLIBSRC = $(LIBSRC)/Xext
   LBXXEXTLIBSRC = $(TOP)/workInProgress/lbx/lib/Xext

    XEXEXTLIBSRC = $(LIBSRC)/XExExt

 DEPXEXTLIB = $(USRLIBDIR)/libXext.a
 XEXTLIB =  -lXext

 LINTXEXT = $(LINTLIBDIR)/llib-lXext.ln

 DEPLBXXEXTLIB = $(USRLIBDIR)/liblbxXext.a
 LBXXEXTLIB =  -llbxXext

 LINTLBXXEXT = $(LINTLIBDIR)/llib-llbxXext.ln

 DEPXEXEXTLIB = $(USRLIBDIR)/libXExExt.a
 XEXEXTLIB =  -lXExExt

 LINTXEXEXT = $(LINTLIBDIR)/llib-lXExExt.ln

     EXTENSIONLIB = $(XEXEXTLIB) $(XEXTLIB)
  DEPEXTENSIONLIB = $(DEPXEXEXTLIB) $(DEPXEXTLIB)
    LINTEXTENSION = $(LINTXEXEXT) $(LINTXEXT)

 LINTEXTENSIONLIB = $(LINTEXTENSION)
          DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
             XLIB = $(EXTENSIONLIB) $(XONLYLIB)
         LINTXLIB = $(LINTXONLYLIB)

         XAUTHSRC = $(LIBSRC)/Xau

 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
 XAUTHLIB =  -lXau

 LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln

      XDMCPLIBSRC = $(LIBSRC)/Xdmcp

 DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
 XDMCPLIB =  -lXdmcp

 LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln

           XMUSRC = $(LIBSRC)/Xmu

 DEPXMULIB = $(USRLIBDIR)/libXmu.a
 XMULIB =  -lXmu

 LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln

       OLDXLIBSRC = $(LIBSRC)/oldX

 DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
 OLDXLIB =  -loldX

 LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln

       TOOLKITSRC = $(LIBSRC)/Xt

 DEPXTOOLONLYLIB = $(USRLIBDIR)/libXt.a
 XTOOLONLYLIB =  -lXt

 LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln

      DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
         XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
     LINTXTOOLLIB = $(LINTXTOOLONLYLIB)

       AWIDGETSRC = $(LIBSRC)/Xaw

 DEPXAWLIB = $(USRLIBDIR)/libXaw.a
 XAWLIB =  -lXaw

 LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln

       XTFSRC = $(TOP)/workInProgress/Xtf

 DEPXTFLIB = $(USRLIBDIR)/libXtf.a
 XTFLIB =  -lXtf

 LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln

       FRESCOSRC = $(TOP)/workInProgress/Fresco

 DEPFRESCOLIB = $(USRLIBDIR)/libFresco.a
 FRESCOLIB =  -lFresco

 LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln

         XILIBSRC = $(LIBSRC)/Xi

 DEPXILIB = $(USRLIBDIR)/libXi.a
 XILIB =  -lXi

 LINTXI = $(LINTLIBDIR)/llib-lXi.ln

      XTESTLIBSRC = $(LIBSRC)/Xtst

 DEPXTESTLIB = $(USRLIBDIR)/libXtst.a
 XTESTLIB =  -lXtst

 LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln

        PEXLIBSRC = $(LIBSRC)/PEX5

 DEPPEXLIB = $(USRLIBDIR)/libPEX5.a
 PEXLIB =  -lPEX5

 LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln

        XIELIBSRC = $(LIBSRC)/XIE

 DEPXIELIB = $(USRLIBDIR)/libXIE.a
 XIELIB =  -lXIE

 LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln

      PHIGSLIBSRC = $(LIBSRC)/PHIGS

 DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
 PHIGSLIB =  -lphigs

 LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln

 DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
 XBSDLIB =  -lXbsd

 LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln

           ICESRC = $(LIBSRC)/ICE

 DEPICELIB = $(USRLIBDIR)/libICE.a
 ICELIB =  -lICE

 LINTICE = $(LINTLIBDIR)/llib-lICE.ln

            SMSRC = $(LIBSRC)/SM

 DEPSMLIB = $(USRLIBDIR)/libSM.a
 SMLIB =  -lSM

 LINTSM = $(LINTLIBDIR)/llib-lSM.ln

         FSLIBSRC = $(LIBSRC)/FS

 DEPFSLIB = $(USRLIBDIR)/libFS.a
 FSLIB =  -lFS

 LINTFS = $(LINTLIBDIR)/llib-lFS.ln

         FONTLIBSRC = $(LIBSRC)/font

 DEPFONTLIB = $(USRLIBDIR)/libfont.a
 FONTLIB =  -lfont

 LINTFONT = $(LINTLIBDIR)/llib-lfont.ln

          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)

         DEPLIBS1 = $(DEPLIBS)
         DEPLIBS2 = $(DEPLIBS)
         DEPLIBS3 = $(DEPLIBS)

        CONFIGDIR = $(LIBDIR)/config

# -----------------------------------------------------------------------
# start of Imakefile

# **********************************************************************
#
#             Imakefile for XAnim Rev 2.70.6.3
#
#	 PLEASE READ THE "cinepak.readme" and "indeo.readme" files!
#
# **********************************************************************
#  Readme Readme Readme Readme Readme Readme Readme Readme Readme Readme
# **********************************************************************
#
#  As you may have noticed by now, X11R6 wants #'s used instead of #
#  as the comment delimiter. The defines at the top of this file should
#  cover you if your Imake stuff doesn't have it defined.
#
#  I've tried to organized and partition this Makefile so it's easier
#  to configure. Feedback is appreciated.
#
#  Goto each Section and configure, comment, uncomment the Defines
#  as necessary.  Some parts might have you search for a NOTE_* later
#  on in the Makefile and do something special there.
#
#
#  Index of Sections
#  ---------------    -----------------------------------------------
#  -- Section II    - Compiler and Optimization Flags.
#  -- Section III   - Video Defines/Libs (Leave Blank for Now).
#  -- Section IV.a  - X11/OpenWindow Libs and Includes Directories.
#  -- Section IV.b  - X11R6 specific libraries.
#  -- Section V     - RemoteControl X11 Widget Selection.
#  -- Section VI    - Audio Defines and Libraries.
#  -- Section VII   - Machine Specific Defines and Libs(and Misc stuff)
#  ----------------   -----------------------------------------------
#
#  Mark Podlipec - podlipec@baynetworks.com
#                - podlipec@wellfleet.com
#                - podlipec@shell.portal.com
#
# ********************

ROOT = /opt/animation

# **********************************************************************
# -- Section I    - NOT USED IN IMAKEFILE
# **********************************************************************

# **********************************************************************
# -- Section II
# -- Choose your favorite compiler and optimization flags.
# -- NOT NEEDED WITH Imake.  It should be set up correctly for you.
# **********************************************************************
#
# ********************

# **********************************************************************
# -- Section III
# -- Video Support Defines(OKAY TO LEAVE BLANK IF YOU DON'T KNOW WHAT TO DO)
# -- See the files:
# --     "cinepak.readme"
# --     "indeo.readme"
# --     "creative.readme"
# -- Latest files always available in the /pub/podlipec directory
# -- on ftp.portal.com
# **********************************************************************
#
# Modify the following ONLY after you have read the appropriate readmes
# AND have downloaded the proper decompression modules AND have verified
# that they are the correct size in bytes as listed in the readmes.
#
# XA_IV32_DEF = -DXA_INDEO
# XA_CVID_DEF = -DXA_CINEPAK
# XA_CYUV_DEF = -DXA_CYUV
#
XA_IV32_LIB =
XA_CVID_LIB =
XA_CYUV_LIB =
#
# -- NOTE: SGI Machines only: if you see an error like
# --               "merge_ext returns nil during relocation" or similiar
# -- You'll need to uncomment the following define as a workaround.
# XA_SGI1 = -old_ld -32
#
# **** No need to modify these
XA_VIDEO_DEFS = $(XA_IV32_DEF) $(XA_CVID_DEF) $(XA_CYUV_DEF)
XA_VIDEO_LIBS = $(XA_IV32_LIB) $(XA_CVID_LIB) $(XA_CYUV_LIB) $(XA_SGI1)
XA_VIDEO_DEPS = $(XA_IV32_LIB) $(XA_CVID_LIB) $(XA_CYUV_LIB)
#
# ********************

# **********************************************************************
# -- Section IV.a
# -- X11/Openwindow Specific Defines
#
# -- NOT NEEDED WITH Imake. That's the whole purpose of xmkmf.
# **********************************************************************
#
# ********************

# **********************************************************************
# -- Section IV.b
# -- X11R6 Specific libraries.
#
# -- NOT NEEDED WITH Imake. That's the whole purpose of xmkmf.
# -- NOTE: apparently some systems have a mmkmf for Motif instead
# --       of the normal xmkmf. SGI sometimes does this. In this
# --       case the XA_REMOTE* defs should be Motif as well.
# **********************************************************************
#
# ********************

# **********************************************************************
# -- Section V
# -- Remote Control Widget Defines. There are really on three options
# -- with XAnim:
# --     Athena       Default with X11
# --     Athena 3D    Modified Athena widgets for 3D appearance.
# --     Motif        Commericial alternative to the Athena Widgets.
#
# NOTE: If you DON'T want the Remote Control Window, you can either
# comment out ALL XA_REMOTE_* defines or set them to nothing.
# **********************************************************************
#
# -- This is if you DON'T want the Remote Control Window.
# XA_REMOTE_DEFS =
# XA_REMOTE_LIBS =
# XA_REMOTE_DEP_LIBS =
#
# -- I've gotten a lot of email about problems because of Widgets...
#                       SO
# -- 0 WIDGETS, 0 SPECIAL LIBRARIES, 0 SPECIAL INCLUDES,
# -- JUST A 3D REMOTE WITH REALLY COOL BUTTONS(tongue in cheek)
#
XA_REMOTE_DEFS = -DXA_PETUNIA
XA_REMOTE_LIBS =
XA_REMOTE_DEP_LIBS =
#
# NOTE: Petunia is not yet tested on 16/24 bit displays.
# NOTE: In the near future I will no longer be supporting Motif or Athena
#       Remote Controls.
#
# -- Athena Widgets (These should be present by default if you have X11)
# XA_REMOTE_DEFS = -DXA_ATHENA
# XA_REMOTE_LIBS = $(XAWLIB) $(XMULIB)
# XA_REMOTE_DEP_LIBS = $(DEPXAWLIB) $(DEPXMULIB)
#
# -- 3D Athena Widgets( Only use these if you know that someone
# --                    went out, downloaded, compiled and installed
# --                    these on your machine :^).
# XA_REMOTE_DEFS = -DXA_ATHENA
# XA_REMOTE_LIBS = $(XAW3DLIB) $(XMULIB)
# XA_REMOTE_DEP_LIBS = $(DEPXAW3DLIB) $(DEPXMULIB)
#
# -- Motif Widgets (Again only use these if you know for a fact, that the
#                   Motif libraries and includes are present on your system,
#                   either because they came bundled with the machine or
#                   because someone specifically purchased and installed
#                   them on your machine).
#
# -- Also on some machines you need to use "mmkmf" instead of "xmkmf"
#    This is true sometimes of SGI machines.
#
# XA_REMOTE_DEFS = -DXA_MOTIF -D_NO_PROTO
# XA_REMOTE_LIBS = $(XMLIB)
# XA_REMOTE_DEP_LIBS = $(DEPXMLIB)
#
# ********************

# **********************************************************************
# -- Section VI
# -- Audio Defines
#
# NOTE: If your machine doesn't have audio OR isn't supported yet then
#       comment out ALL of the XA_AUDIO_* defines and you can still compile
#       XAnim for just video.  Setting the XA_AUDIO_* to nothing has the
#       same affect.
#
# NOTE: Some machine will have to add -DXA_SELECT to the XA_AUDIO_DEFS.
#       let me know if you find this to be the case.
# **********************************************************************
#
# -- You don't have OR don't want Audio support ---------------------------
# XA_AUDIO_DEFS =
#
# -- Sun Sparcs -----------------------------------------------------------
# XA_AUDIO_DEFS = -DXA_SPARC_AUDIO
#
# NOTE: Imakefile should add the -DSVR4 to Sun Solaris machines, if not
#       use the following:
# -- Sun Sparcs running Solaris/SunOS 5.x ---------------------------------
# XA_AUDIO_DEFS = -DXA_SPARC_AUDIO -DSVR4
#
# -- S/6000 - AIX 4.1 (3.2.5??) -------------------------------------------
# XA_AUDIO_DEFS = -DXA_AIX_AUDIO -DXA_SELECT
#
# -- DEC Multimedia Services Support --------------------------------------
# XA_AUDIO_DEFS = -DXA_MMS_AUDIO
# XA_AUDIO_LIBS = -lmme
#
# -- DEC Multimedia Services Support --------------------------------------
# --   This might be necessary for Digital Unix 3.2C and MME 1.60 DK
# XA_AUDIO_DEFS = -DXA_MMS_AUDIO -DXA_MMS_160 -DDEC
# XA_AUDIO_LIBS = -lmme
#
# -- NEC EWS Workstations -------------------------------------------------
# XA_AUDIO_DEFS = -DXA_EWS_AUDIO
#
# -- SONY Workstations NEWS-5000 NEWS-OS 4.2 ------------------------------
# XA_AUDIO_DEFS = -DXA_SONY_AUDIO
#
# -- NetBSD-current (as of 30/April 1995)----------------------------------
# XA_AUDIO_DEFS = -DXA_NetBSD_AUDIO
#
# -- QNX 4.2 PC's ---------------------------------------------------------
# XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_NEWER_SND -DXA_SELECT
# XA_MACH_LIBS = -lc
#
# -- Linux PC's with OLD Rev sound drivers --------------------------------
# XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
# XA_MACH_LIBS = -lc
#
# -- Linux PC's with NEWER Rev sound drivers(Rev 2.5 and up) --------------
# XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_NEWER_SND
# XA_MACH_LIBS = -lc
#
# -- Also FreeBSD, and BSDI with SBlast-BSD-1.5 (development stages)-------
# XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_NEWER_SND
# XA_AUDIO_LIBS = -lc
#
# -- SGI Indigo -----------------------------------------------------------
# XA_AUDIO_DEFS = -DXA_SGI_AUDIO
# XA_AUDIO_LIBS = -laudio
#
# -- HP 9000/700 Direct access to Audio Device-----------------------------
# -- This is a direct access to the HP's audio device and works a little
# -- better than going through the Aserver(less levels of indirection).
# -- Also don't need to become superuser to configure your machine for
# -- Aserver.
# XA_AUDIO_DEFS = -DXA_HPDEV_AUDIO
# XA_AUDIO_LIBS =
#
# -- HP 9000/700 Use Upper Level Audio Layers--Requires Aserver------------
# -- This isn't well developed yet(haven't had enough time on an HP yet).
# -- Plus there's a delay between when XAnim sends the audio and when it
# -- get's played that prevents audio/video syncing. There is a patch to
# -- the HP's audio libraries that helps alleviate this. I haven't tried
# -- it yet. Hopefully get a chance to before summer 96 is over.
# XA_AUDIO_DEFS = -DXA_HP_AUDIO
# XA_AUDIO_LIBS = -lAlib
#
# -- AF (AudioFile) Support -----------------------------------------------
# -- You need to indicate where the AF libraries libAFUtil.a and libAF.a
# -- are located. Typically this is /usr/local/lib, but not always. Talk
# -- to the person who installed them on your machine to find out where
# -- they were put.  Same with the AF/include directory.
#
# -- NOTE: SOME VENDORS have an a library called AudioFile, AFile or AF
# -- that has to do with audio file formats and is NOT the same thing as
# -- AudioFile above. Again, talk to the person who installed AudioFile
# -- on your system. Otherwise, assume you don't have it.
#
# XA_AUDIO_DEFS = -DXA_AF_AUDIO
# XA_AUDIO_LIBS = -L/usr/local/lib -lAFUtil -lAF
# XA_AUDIO_INCS = -I/usr/local/include
#
# -- NAS (Network Audio System) Support -----------------------------------
# -- You need to indicate where the NAS library libaudio.a is located.
# -- Typically this is /usr/local/lib, but not always.  Talk to the
# -- person who installed them on your machine to find out where they
# -- were put. Otherwise, assume you don't have NAS installed.
# -- Same with the /usr/local/include/audio directory.
#
# XA_AUDIO_DEFS = -DXA_NAS_AUDIO
# XA_AUDIO_LIBS = -L/usr/local/lib/audio -laudio
# XA_AUDIO_INCS = -I/usr/local/include/audio
#
# NOTE: /pain/audio is just where I keep all my audio stuff and is
# just here for my convenience. (pain because it died once on me already :)
# XA_AUDIO_DEFS = -DXA_NAS_AUDIO
# XA_AUDIO_LIBS = -L/pain/audio/nas/lib/audio -laudio
# XA_AUDIO_INCS = -I/pain/audio/nas/usr/include
#
# ********************

# **********************************************************************
# -- Section VII
# Machine Specific Defines and Libs
# **********************************************************************
#
# -- Sun Sparc running SunOS 4.x and OpenWindows --------------------------
# -- Probably should be using Makefile.unx due to missing symbols
# -- in the shared Xmu library and a need to list some libraries
# -- twice on the linker command line.
#
# -- Some Revs of Sun Solaris Machines need the following -----------------
# XA_MACH_LIBS = -lsocket -lnsl -lgen
#
# -- HP machines ----------------------------------------------------------
# -- NEED this to increase the macro symbol table(default is 128000).
# XA_MACH_DEFS = -Wp,-H150000
#
# -- PC DOS Machines running Quarterdeck's DESQview X----------------------
# XA_MACH_DEFS  = -DMSDOS
#
# -- i486 box Interactive UNIX V2.2.1 -------------------------------------
# -- might need to uncomment out the define below:
# XA_MACH_LIB = -linet
#
# -- IBM AIX --------------------------------------------------------------
# These machines don't have the X11 Shared memory extension.
# See  NOTE_6 below(comment out the XA_SHARED define).
#
#
# ---- Misc Defines for various machines -----------------------------------
#
#   -- NO_INSTALL_CMAP prevents XAnim from specifically installing a cmap.
#   --  this causes problems on some PC versions of X11
# XA_CMAP = -DNO_INSTALL_CMAP
#
#   -- XA_XTPOINTER typedefs XtPointer as void*  if your system doesn't
#   -- typedef it already. (X11R4 or below might need this)
# XA_XTPTR = -DXA_XTPOINTER
#
#   -- X11 Shared Memory
#   -- Allow use of shared memory if specified on cmd line. Comment this
#   -- out if you get compiler errors about not finding XShm.h or the
#   -- following symbols(XShmCreateImage, XShmAttach, XShmDetach,
#   -- XShmPutImage,etc).
#   -- NOTE_6: IBM AIX machines need to comment this out UNLESS YOU HAVE
#   --        SPECIFICALLY installed the Xshm extension on your AIX machine.
# XA_SHARED = -DXSHM
#
#   -- X11 Multiple Buffers
#   -- Allow use of hardware/software double buffering in the server, if
#   -- specified on cmd line. Comment this out if you get compiler errors
#   -- about not finding multibuf.h or the
#   -- following symbols(XmbufDisplayBuffers, XmbufQueryExtension,
#   --  XmbufCreateBuffers).
#   -- NOTE_7: HP-UX machines need to comment this out.
# XA_MULTIBUF = -DXMBUF
#
# ********************

# **********************************************************************
# END OF SECTIONS - No need to look below unless a NOTE told you to.
# **********************************************************************
#
XA_MISC_DEFS = $(XA_CMAP) $(XA_XTPTR) $(XA_SHARED) $(XA_MULTIBUF) $(XA_MACH_DEFS)
#

# **********************************************************************

DEFINES = $(XA_MISC_DEFS) $(XA_VIDEO_DEFS) $(XA_AUDIO_DEFS) $(XA_REMOTE_DEFS) -DXA_KPCD
XA_LIBS = $(XA_X11R6_LIBS) $(XA_MACH_LIBS) $(XA_VIDEO_LIBS) $(XA_AUDIO_LIBS)
XA_INCS = $(INCLUDE) $(XA_VIDEO_INCS) $(XA_AUDIO_INCS)

 PROGRAM = xanim
PROGRAMS = $(PROGRAM)

INCLUDES = -I$(INCDIR) $(XA_INCS)

   LIBS1 = $(XA_LIBS) $(EXTENSIONLIB) $(XA_REMOTE_LIBS) $(XTOOLLIB) \
		$(XLIB) -lm
DEPLIBS1 = $(DEPEXTENSIONLIB) $(XA_REMOTE_DEP_LIBS) $(DEPXTOOLLIB) \
		$(DEPXLIB)
# xa_pfx.c temporarily removed

SRCS1 = xanim.c xa_show.c xa_x11.c xa_fli.c xa_iff.c  \
	xa_gif.c xa_txt.c unpacker.c xa_utils.c xa_act.c \
	xa_set.c xa_cmap.c xa_rle.c xa_wav.c xa_au.c \
	xa_avi.c xa_qt.c xa_qt_decs.c xa_audio.c xa_ipc.c xa_color.c \
	xa_jpg.c xa_mpg.c xa_dl.c xa_jmov.c xa_movi.c \
	xa_replay.c xa_dumfx.c xa_acodec.c xa_input.c xa_formats.c \
	xa1.0_kpcd.c

OBJS1 = xanim.o xa_show.o xa_x11.o xa_fli.o xa_iff.o  \
	xa_gif.o xa_txt.o unpacker.o xa_utils.o xa_act.o \
	xa_set.o xa_cmap.o xa_rle.o xa_wav.o xa_au.o \
	xa_avi.o xa_qt.o xa_qt_decs.o xa_audio.o xa_ipc.o xa_color.o \
	xa_jpg.o xa_mpg.o xa_dl.o xa_jmov.o xa_movi.o \
	xa_replay.o xa_dumfx.o xa_acodec.o xa_input.o xa_formats.o \
	xa1.0_kpcd.o

all:: $(PROGRAMS)

$(PROGRAM): $(OBJS1) $(DEPLIBS1)
		$(RM) $@
		 $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS1) $(LIBS1) $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

clean::
		$(RM) $(PROGRAM)

install:: $(PROGRAM)
		@if [ -d $(DESTDIR)$(ROOT)/bin ]; then set +x; \
			else (set -x; $(MKDIRHIER) $(DESTDIR)$(ROOT)/bin); fi
		$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  $(PROGRAM) $(DESTDIR)$(ROOT)/bin/$(PROGRAM)
	install -S 31m $(ROOT)/bin/$(PROGRAM)

install.man:: $(PROGRAM).man
		@if [ -d $(DESTDIR)$(ROOT)/man/man1 ]; then set +x; \
			else (set -x; $(MKDIRHIER) $(DESTDIR)$(ROOT)/man/man1); fi
		$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $(PROGRAM).man $(DESTDIR)$(ROOT)/man/man1/$(PROGRAM).$(MANSUFFIX)

depend::
		$(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)

lint:
		$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
		$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)

clean::
	$(RM) $(PROGRAM)

xanim.o: xanim.h xa_config.h xa_x11.h Imakefile
xa1.0_kpcd.o: xa1.0_kpcd.c
unpacker.o: xanim.h
xa_acodec.o: xanim.h
xa_act.o: xanim.h xa_config.h
xa_au.o: xanim.h xa_config.h
xa_audio.o: xanim.h xa_config.h xa_audio.h Imakefile
xa_avi.o: xanim.h xa_config.h xa_xmpg.h xa_codecs.h xa_avi.h
xa_cmap.o: xanim.h xa_config.h
xa_color.o: xanim.h xa_config.h xa_color.h
xa_dl.o: xanim.h xa_config.h xa_dl.h
xa_dumfx.o: xanim.h xa_config.h
xa_fli.o: xanim.h xa_config.h xa_fli.h
xa_formats.o: xanim.h
xa_gif.o: xanim.h xa_config.h xa_gif.h
xa_iff.o: xanim.h xa_config.h xa_iff.h
xa_input.o: xanim.h
xa_ipc.o: xanim.h xa_config.h xa_ipc.h Imakefile
xa_jmov.o: xanim.h xa_config.h xa_jmov.h
xa_jpg.o: xanim.h xa_config.h xa_jpg.h
xa_movi.o: xanim.h xa_movi.h
xa_mpg.o: xanim.h xa_config.h xa_mpg.h xa_xmpg.h xa_jpg.c
xa_qt.o: xanim.h xa_config.h xa_qt.h xa_codecs.h
xa_qt_decs.o: xanim.h xa_config.h xa_qt.h
xa_replay.o: xanim.h xa_config.h xa_replay.h
xa_rle.o: xanim.h xa_config.h xa_rle.h
xa_set.o: xanim.h xa_config.h xa_set.h xa_iff.h
xa_show.o: xanim.h xa_config.h Imakefile
xa_txt.o: xanim.h xa_config.h xa_gif.h
xa_utils.o: xanim.h xa_config.h
xa_wav.o: xanim.h xa_config.h xa_avi.h
xa_x11.o: xanim.h xa_config.h xa_x11.h Imakefile

# -----------------------------------------------------------------------
# common rules for all Makefiles - do not edit

.c.i:
	$(RM) $@
		$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@

emptyrule::

clean::
		$(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut   "#"*

Makefile::
		-@if [ -f Makefile ]; then set -x; \
		$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
		else exit 0; fi
		$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)

tags::
		$(TAGS) -w *.[ch]
		$(TAGS) -xw *.[ch] > TAGS

# -----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit

install::
	@echo "install in $(CURRENT_DIR) done"

install.man::
	@echo "install.man in $(CURRENT_DIR) done"

install.linkkit::
	@echo "install.linkkit in $(CURRENT_DIR) done"

Makefiles::

includes::

depend::

# -----------------------------------------------------------------------
# dependencies generated by makedepend

# DO NOT DELETE
