Imakefile   [plain text]


XCOMM $XFree86: xc/programs/dpsinfo/Imakefile,v 1.5 2003/05/28 16:02:35 tsi Exp $
XCOMM XTOOLLIB is currently needed by our version of DPSLIB

        DEPLIBS = $(DEPDPSLIB) $(DEPXTOOLLIB) $(DEPXONLYLIB)
LOCAL_LIBRARIES = $(DPSLIB) $(XTOOLLIB) $(XONLYLIB)
         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)