XCOMM $XFree86: xc/programs/dpsinfo/Imakefile,v 1.3 2001/03/11 15:27:35 herrb Exp $
XCOMM XTOOLLIB is currently needed by our version of DPSLIB

        DEPLIBS = $(DEPDPSLIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(DPSLIB) $(XTOOLLIB) $(XLIB)
  SYS_LIBRARIES = MathLibrary
         PSWRAP = PsWrap

SRCS = iwraps.psw dpsinfo.c

OBJS = iwraps.o dpsinfo.o

DERIVED_FILES = iwraps.h iwraps.c

.SUFFIXES: .psw .h

.psw.c : ProgramTargetName($(PSWRAP))
	RunProgram(PSWRAP,-a -o $*.c -h $*.h $<)

.psw.h : ProgramTargetName($(PSWRAP))
	RunProgram(PSWRAP,-a -h $*.h $< > /dev/null)

depend:: $(DERIVED_FILES)

ComplexProgramTarget(dpsinfo)

clean ::
	$(RM) $(DERIVED_FILES)
