# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

            TOP = ../.
        CURRENT = ./emacs

             CC = cc
            CPP = /lib/cpp
             AS = as
             LD = ld
             AR = ar
           MAKE = make
          IMAKE = imake
        INSTALL = install -c
            CAT = cat
             MV = mv
             CP = cp
             LN = ln
             RM = rm -f
         RANLIB = ranlib
            SED = sed
          EMACS = nemacs
           LINT = LintCmd
    LINTLIBFLAG = -C
       LINTFLAG = -ax
    QXTINCLUDES = $(QXT)/include
     QXTDEFINES =

            QXT = /db/Quixote/v3/SS
     QXTINCLUDE = $(QXT)/include
         QXTBIN = $(QXT)/bin
         QXTLIB = $(QXT)/lib

         CONFIG = $(TOP)/config
      SUBCONFIG = ../$(TOP)/config

    CDEBUGFLAGS = -g
       INCLUDES =
       LINKLIBS =
        DEFINES = $(QXTDEFINES)
      CCOPTIONS =
      LDOPTIONS =
      AROPTIONS = ru

         CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTCCOPTIONS) $(INCLUDES) $(DEFINES)
        LDFLAGS = $(CDEBUGFLAGS) $(LDOPTIONS) $(EXTLDOPTIONS) $(LINKLIBS)
        ARFLAGS = $(AROPTIONS)

# Imakefile for Qemacs

SRCS = result.el comm.el databases.el lex.el parse.el timer.el inspect-s.el \
       server-s.el trace-s.el interact.el table.el misc.el debug.el
ELandELCs = qxt-mode.el qxt-all.el qxt-test.el qxt-mode.elc qxt-all.elc
ETAGS = /usr/local/bin/etags
IFLAGS = -m 0664

.SUFFIXES: .el .elc

.el.elc:
	${RM} -f $@
	PWD=`pwd` ${EMACS} -batch -f batch-byte-compile $<

all: $(ELandELCs)

qxt-all.el: ${SRCS}
	${RM} -f qxt-all.el
	${CAT} ${SRCS} > qxt-all.el

TAGS: ${SRCS}
	${ETAGS} ${SRCS}

install:: ${ELandELCs}
	-@if [ -d ${QXTLIB}/emacs ]; then set +x; \
	else (set -x; mkdir ${QXTLIB}/emacs); fi
	@case '${MAKEFLAGS}' in *[i]*) set +e;; esac; \
	for i in ${ELandELCs}; do \
	(set -x; $(RM) ${QXTLIB}/emacs/$$i; $(INSTALL) ${IFLAGS} $$i ${QXTLIB}/emacs); \
	done

clean::
	-${RM} qxt-all.el qxt-all.elc qxt-mode.elc

Makefile::
	-@if [ -f Makefile ]; then set -x; \
	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
	fi
	$(IMAKE) -I$(CONFIG) -DTopDir=$(TOP) -DCurDir=$(CURRENT)

Makefiles::

install::

clean::

