# 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 = ./qshell/lib

             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 Quixote library

OBJS = qio.o alloc.o read_stream.o kl1term.o error.o use_alloca.o

all: libqxt.a

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

libqxt.a: ${OBJS}
	$(RM) $@
	$(AR) $(ARFLAGS) $@ ${OBJS}
	$(RANLIB) $@

clean::
	$(RM) libqxt.a
${OBJS}: qxt.h

install:: libqxt.a
	-@if [ -d ${QXTLIB} ]; then set +x; \
	else (set -x; mkdir ${QXTLIB}); fi
	$(RM) ${QXTLIB}/libqxt.a
	$(INSTALL)  libqxt.a ${QXTLIB}
	$(RANLIB) ${QXTLIB}/libqxt.a

install:: qxt.h
	-@if [ -d ${QXTLIB} ]; then set +x; \
	else (set -x; mkdir ${QXTLIB}); fi
	$(RM) ${QXTLIB}/qxt.h
	$(INSTALL)  qxt.h ${QXTLIB}

clean::
	$(RM) "#"* *.bak *.o core *~ y.tab.c lex.yy.c
clean::
	-${RM} -f libqxt.a

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::

