# 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 $
#

.SUFFIXES: .i

# $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb 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 $

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

# platform:  $XConsortium: sun.cf,v 1.139 95/01/12 15:30:26 kaleb Exp $

# operating system:  SunOS 4.1.3

# $XConsortium: sunLib.rules,v 1.14 94/03/28 15:24:43 gildea 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 $

# -----------------------------------------------------------------------
# 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 $

          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 = /usr/local/X11R6/include
        USRLIBDIR = /usr/local/X11R6/lib
         SHLIBDIR = /usr/local/X11R6/lib
       LINTLIBDIR = $(USRLIBDIR)/lint
          MANPATH = /usr/local/X11R6/man
    MANSOURCEPATH = $(MANPATH)/man
           MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
        LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
       FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)

               AR = ar clq
  BOOTSTRAPCFLAGS =
               CC = cc
               AS = as

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

           RANLIB = ranlib
  RANLIBINSTFLAGS =

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

            DVIPS = dvips
            LATEX = latex

     STD_INCLUDES =
  STD_CPP_DEFINES =
      STD_DEFINES =
 EXTRA_LOAD_FLAGS =
  EXTRA_LDOPTIONS =
  EXTRA_LIBRARIES =
             TAGS = ctags

    SHAREDCODEDEF = -DSHAREDCODE
         SHLIBDEF = -DSUNSHLIB

     SHLIBLDFLAGS = -assert pure-text

         PICFLAGS = -pic

      CXXPICFLAGS = -pic

    PROTO_DEFINES =

     INSTPGMFLAGS =

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

      PROJECTROOT = /usr/local/X11R6

     TOP_INCLUDES = -I$(INCROOT)

      CDEBUGFLAGS = -O
        CCOPTIONS =

      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 = -X -r
      DEPENDFLAGS =

        MACROFILE = sun.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) \
			 $(EXTRA_ICONFIGFILES)

# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XConsortium: Project.tmpl,v 1.248 95/01/06 19:12:51 gildea Exp $

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

           BINDIR = /usr/local/X11R6/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)

# $XConsortium: sunLib.tmpl,v 1.36 94/04/08 19:13:50 rws Exp $

          XLIBSRC = $(LIBSRC)/X11

SOXLIBREV = 4.20
DEPXONLYLIB =
XONLYLIB =  -lX11

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

         XLIBONLY = $(XONLYLIB)

      XEXTLIBSRC = $(LIBSRC)/Xext

SOXEXTREV = 4.20
DEPEXTENSIONLIB =
EXTENSIONLIB =  -lXext

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

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

SOXMUREV = 4.20
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIB =  -lXmu

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

       OLDXLIBSRC = $(LIBSRC)/oldX

SOOLDXREV = 4.20
DEPOLDXLIB =
OLDXLIB =  -loldX

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

       TOOLKITSRC = $(LIBSRC)/Xt

SOXTREV = 4.20
DEPXTOOLONLYLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLONLYLIB =  -lXt

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

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

       AWIDGETSRC = $(LIBSRC)/Xaw

SOXAWREV = 6.0
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB =  -lXaw

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

       XTFSRC = $(TOP)/workInProgress/Xtf

SOXTFREV = 0.7
DEPXTFLIB =
XTFLIB =  -lXtf

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

       FRESCOSRC = $(TOP)/workInProgress/Fresco

SOFRESCOREV = 0.7
DEPFRESCOLIB =
FRESCOLIB =  -lFresco

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

         XILIBSRC = $(LIBSRC)/Xi

SOXINPUTREV = 4.20
DEPXILIB =
XILIB =  -lXi

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

      XTESTLIBSRC = $(LIBSRC)/Xtst

SOXTESTREV = 1.10
DEPXTESTLIB =
XTESTLIB =  -lXtst

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

        PEXLIBSRC = $(LIBSRC)/PEX5

SOPEXREV = 1.10
DEPPEXLIB =
PEXLIB =  -lPEX5

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

        XIELIBSRC = $(LIBSRC)/XIE

SOXIEREV = 6.0
DEPXIELIB =
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

SOICEREV = 6.0
DEPICELIB =
ICELIB =  -lICE

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

            SMSRC = $(LIBSRC)/SM

SOSMREV = 6.0
DEPSMLIB =
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.69.7.8
# **********************************************************************
# NOTE: X11R6 wants #'s instead of #'s as the comment delimiter.
# Some previous revs don't like XCOMMs. Simply replace every occurence
# of # with # and the re- xmkmf if you get an error.
# ======================================================================
#
# !*!*!*!*! IMPORTANT: If you use OpenWindows with SunOS 4.1.3
# !*!*!*!*! then you must use the Makefile.unx file and look at
# !*!*!*!*! the "XA_REMOTE_LIBS" and "XLIBS" defines for work-arounds
# !*!*!*!*! to bugs with the OpenWindows X11 libraries.
#
# !*!*!*! MOTIF: Most of you DON'T have it. So double check to make
# !*!*!*! sure you have libXm.a in you X11 library directory before
# !*!*!*! defining the XA_REMOTE_* defines to use Motif. Same goes
# !*!*!*! with Athena 3D.
#
#
# **********************************************************************
# -- Video Support Defines
# **********************************************************************
# =========
XA_VIDEO_DEFS =
XA_VIDEO_LIBS =
XA_VIDEO_INCS =
XA_VIDEO_DEPS =
#
# **********************************************************************
# -- Audio Support Defines
# **********************************************************************
# ------ SPARC Workstations SunOS 4.1.3
XA_AUDIO_DEFS = -DXA_SPARC_AUDIO
#
# ------ SPARC Workstations Solaris/SunOS 5.x ------------------------
# XA_AUDIO_DEFS = -DXA_SPARC_AUDIO -DSOLARIS
#
# -- S/6000 - AIX 4.1 (3.2.5??) --------- -----------------------------
# XA_AUDIO_DEFS = -DXA_AIX_AUDIO
#
# ------ NEC EWS Workstations ----------------------------------------
# XA_AUDIO_DEFS = -DXA_EWS_AUDIO
#
# -- SONY Workstations NEWS-5000 NEWS-OS 4.2 -------------------------
# XA_AUDIO_DEFS = -DXA_SONY_AUDIO
#
# ------ Linux PC's with OLD Rev sound drivers------------------------
# -- You might also have to explicitly specify the -lc library.
# XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
# XA_AUDIO_LIBS = -lc
#
# ------ Linux PC's with NEWER Rev sound drivers(Rev 2.5 and up)------
# -- You might also have to explicitly specify the -lc library.
# 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 Series ------------------------------------------
# -- Uses Upper Level Audio Layers--Requires Aserver
# XA_AUDIO_DEFS = -DXA_HP_AUDIO
# XA_AUDIO_LIBS = -lAlib
#
# ------ HP 9000/700 Series ------------------------------------------
# -- Direct access to Audio Device
# XA_AUDIO_DEFS = -DXA_HPDEV_AUDIO
# XA_AUDIO_LIBS =
#
# ------ 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.
# -- Same with the AF/include directory.
# 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.
# -- Same with the include/audio directory.
# XA_AUDIO_DEFS = -DXA_NAS_AUDIO
# XA_AUDIO_LIBS = -L/home/nas-1.2p1/lib/audio -laudio
# XA_AUDIO_INCS = -I/home/nas-1.2p1/iclude -I/home/nas-1.2p1/lib
#
# **********************************************************************
# X11 WIDGET TOOLKIT FOR THE REMOTE CONTROL
# **********************************************************************
# -- USE THE ATHENA WIDGET SET FOR THE REMOTE CONTROL-------------------
XA_REMOTE_DEFS = -DXA_ATHENA
XA_REMOTE_LIBS = $(XAWLIB) $(XMULIB)
XA_REMOTE_DEP_LIBS = $(DEPXAWLIB) $(DEPXMULIB)
#
# -- USE THE 3D ATHENA WIDGET SET FOR THE REMOTE CONTROL----------------
# XA_REMOTE_DEFS = -DXA_ATHENA
# XA_REMOTE_LIBS = $(XAW3DLIB) $(XMULIB)
# XA_REMOTE_DEP_LIBS = $(DEPXAW3DLIB) $(DEPXMULIB)
#
# -- USE THE MOTIF WIDGET SET FOR THE REMOTE CONTROL--------------------
# XA_REMOTE_DEFS = -DXA_MOTIF -D_NO_PROTO
# XA_REMOTE_LIBS = $(XMLIB)
# XA_REMOTE_DEP_LIBS = $(DEPXMLIB)
#
# IMPORTANT: SOLARIS MOTIF USERS. You might have to add -lgen to
# the XA_REMOTE_LIBS define above. "XA_REMOTE_LIBS = $(XMLIB) -lgen"
# If you Imake setup isn't correct.
#
# **********************************************************************
# -- Machine Specific Flags
# **********************************************************************
# -- DNO_INSTALL_CMAP prevents XAnim from specifically installing a cmap.
# -- this causes problems on some PC versions of X11
# --
# XA_CMAP = -DNO_INSTALL_CMAP
#
# ======================================================================
# -- DXA_XTPOINTER typedefs XtPointer as void*  if your system doesn't
# -- typedef it already.
# --
# XA_XTPTR = -DXA_XTPOINTER
#
# ======================================================================
# -- X11 SHARED MEMORY
# -- This option allows XAnim to use X11 shared memory if specified
# -- on the command line.  Comment this out if get compiler errors
# -- about not finding XShm.h or the following symbols(XShmCreateImage,
# -- XShmAttach,XShmDetach,XShmPutImage,etc).
XA_SHARED = -DXSHM
#
# ======================================================================
# -- If you have a i486 box running Interactive UNIX v2.2.1 you might
# -- have to uncomment the following line.
# --
# XA_INET_LIB = -linet
#
# ======================================================================
# -- DMSDOS for DESQview X on MSDOS machines.
# --
# XA_MSDOS = -DMSDOS
# =========
#
XA_MACH_DEFS = $(XA_CMAP) $(XA_XTPTR) $(XA_SHARED) $(XA_MSDOS)
XA_MACH_LIBS = $(XA_INET_LIB)
#
# **********************************************************************

# ======================================================================
# -- In order to use GNU C
# --
# CC = gcc

# ======================================================================
# -- GNU C  OPTIMIZE Flags
# --
#  CDEBUGFLAGS =  -O2 -fno-builtin

# ======================================================================
# -- CC  OPTIMIZE
# --
# CDEBUGFLAGS = -O

# ======================================================================
# -- DEBUG FLAGS
# --
# CDEBUGFLAGS = -g

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

PROGRAMS = xanim

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

   LIBS1 = $(XA_LIBS) $(EXTENSIONLIB) $(XA_REMOTE_LIBS) $(XTOOLLIB) \
		$(XLIB) -lm
DEPLIBS1 = $(DEPEXTENSIONLIB) $(XA_REMOTE_DEP_LIBS) $(DEPXTOOLLIB) \
		$(DEPXLIB)
# xanim_pfx.c temporarily removed
   SRCS1 = xanim.c xanim_show.c xanim_x11.c xanim_fli.c xanim_iff.c \
	   xanim_gif.c xanim_txt.c unpacker.c xanim_utils.c xanim_act.c \
	   xanim_set.c xanim_cmap.c xanim_rle.c xanim_wav.c \
	   xanim_avi.c xanim_qt.c xanim_jpg.c xanim_mpg.c xanim_audio.c \
	   xanim_dl.c
   OBJS1 = xanim.o xanim_show.o xanim_x11.o xanim_fli.o xanim_iff.o \
	   xanim_gif.o xanim_txt.o unpacker.o xanim_utils.o xanim_act.o \
	   xanim_set.o xanim_cmap.o xanim_rle.o xanim_wav.o \
	   xanim_avi.o xanim_qt.o xanim_jpg.o xanim_mpg.o xanim_audio.o \
	   xanim_dl.o

 OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
 SRCS = $(SRCS1) $(SRCS2) $(SRCS3)

all:: $(PROGRAMS)

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

install:: xanim
	@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  xanim $(DESTDIR)$(BINDIR)/xanim

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

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

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

clean::
	$(RM) $(PROGRAMS)

xanim.o: xanim.h xanim_config.h xanim_x11.h Imakefile
xanim_show.o: xanim.h xanim_config.h Imakefile
xanim_x11.o: xanim.h xanim_config.h xanim_x11.h Imakefile
xanim_acts.o: xanim.h xanim_config.h
xanim_cmap.o: xanim.h xanim_config.h
xanim_utils.o: xanim.h xanim_config.h
xanim_dl.o: xanim.h xanim_config.h xanim_dl.h
xanim_fli.o: xanim.h xanim_config.h xanim_fli.h
xanim_iff.o: xanim.h xanim_config.h xanim_iff.h
xanim_gif.o: xanim.h xanim_config.h xanim_gif.h
xanim_txt.o: xanim.h xanim_config.h xanim_gif.h
xanim_rle.o: xanim.h xanim_config.h xanim_rle.h
xanim_avi.o: xanim.h xanim_config.h xanim_avi.h
xanim_wav.o: xanim.h xanim_config.h xanim_avi.h
xanim_qt.o: xanim.h xanim_config.h xanim_qt.h
xanim_set.o: xanim.h xanim_config.h xanim_set.h xanim_iff.h
xanim_jpg.o: xanim.h xanim_config.h xanim_jpg.h
xanim_mpg.o: xanim.h xanim_config.h xanim_mpg.h xanim_jpg.c
xanim_audio.o: xanim.h xanim_config.h xanim_audio.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

