##
# $XConsortium: Imakefile,v 5.11 91/09/17 08:52:54 rws Exp $
##
##
## Copyright 1990, 1991, 1990 by Sun Microsystems, Inc. and the X Consortium.
##
##			 All Rights Reserved
##
## Permission to use, copy, modify, and distribute this software and its
## documentation for any purpose and without fee is hereby granted,
## provided that the above copyright notice appear in all copies and that
## both that copyright notice and this permission notice appear in
## supporting documentation, and that the names of Sun Microsystems,
## the X Consortium, and MIT not be used in advertising or publicity
## pertaining to distribution of the software without specific, written
## prior permission.
##
## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
## PERFORMANCE OF THIS SOFTWARE.

  SYS_LIBRARIES = -lm
    PEX_INCLUDE = $(INCDIR)/extensions

           SRCS = prtype.c print11.c table11.c decode11.c \
		server.c fd.c common.c scope.c  \
		decode_pex.c print_pex.c
           OBJS = scope.o common.o fd.o server.o decode11.o \
		table11.o print11.o prtype.o \
		decode_pex.o print_pex.o

ComplexProgramTarget(xscope)
SpecialObjectRule(common.o,$(_NOOP_),$(SIGNAL_DEFINES))

includes:: pexRNames.h pexOCNames.h

pexOCNames.h: pexOCTab.awk $(PEX_INCLUDE)/PEX.h
	$(RM) $@
	awk -f pexOCTab.awk $(PEX_INCLUDE)/PEX.h > $@

pexRNames.h: pexRTab.awk $(PEX_INCLUDE)/PEX.h
	$(RM) $@
	awk -f pexRTab.awk $(PEX_INCLUDE)/PEX.h > $@

depend:: pexRNames.h pexOCNames.h

clean:: pexRNames.h pexOCNames.h
