# BuildSystemHeader added automatically
/**/# $Header: [Imakefile,v 1.2 91/07/02 11:40:50 kalmin Exp ]$
    DEFINES = -float -float -DMIT $(TM_GET_CFLAGS)
STD_DEFINES = ServerDefines
       SRCS = di_dispatch.c di_globals.c di_init.c \
	      di_lut.c di_pipe_context.c di_renderer.c \
	      di_roc.c di_structure.c di_fonts.c pex_globals.c \
   	      di_extension_req.c di_lut_req.c di_font_req.c di_mpex_req.c \
	      di_ns_req.c di_pc_req.c di_renderer_req.c di_str_req.c \
	      di_disp_tables.c di_reply.c di_swap.c \
	      pex_invar.c pex_debug.c pex_dump.c pex_names.c
       OBJS = di_dispatch.o di_globals.o di_init.o \
	      di_lut.o di_pipe_context.o di_renderer.o \
	      di_roc.o di_structure.o di_fonts.o pex_globals.o \
   	      di_extension_req.o di_lut_req.o di_font_req.o di_mpex_req.o \
	      di_ns_req.o di_pc_req.o di_renderer_req.o di_str_req.o \
	      di_disp_tables.o di_reply.o di_swap.o \
	      pex_invar.o pex_debug.o pex_dump.o pex_names.o



   INCLUDES = 	-I. \
		-I../include \
		-I../../../include/pex \
		-I../utils \
		-I$(INCLUDESRC) \
		-I$(SERVERSRC)/include 

   LINTLIBS = 	../../../server/dix/llib-ldix.ln \
		../../../server/os/4.2bsd/llib-los.ln

NormalLibraryObjectRule()
NormalLibraryTarget(pexdi,$(OBJS))


di_dispatch.o:
	$(CC) -c $(CFLAGS) -Olimit 2000 di_dispatch.c

#
# This will force a remake of only those files that depend on pex_debug.
# We assume that pex_invar is always compiled in.
#
debug:
	rm -f `grep -l pex_debug *.c | sed -e s/\.c/\.o/g`
	make

LintLibraryTarget(pexdi,$(SRCS))
NormalLintTarget($(SRCS))


DependTarget()
