
           DPS_INCLUDES = ../../include
         EXTRA_INCLUDES = -I$(DPS_INCLUDES)
                DPS_LIB = ../../lib/dps/libdps.a
              DPSTK_LIB = ../../lib/dpstk/libdpstk.a
              PSRES_LIB = ../../lib/psres/libpsres.a
        LOCAL_LIBRARIES = $(DPSTK_LIB) $(PSRES_LIB) $(MRESOURCELIB) $(XMLIB) $(XTOOLLIB) $(DPS_LIB) $(XLIB)
          SYS_LIBRARIES = -lm
           PSWRAP = ../../clients/pswrap/pswrap


SRCS = StrokeMain.c StrokeXDPS.c

OBJS = StrokeWraps.o StrokeMain.o StrokeXDPS.o

ComplexProgramTarget(stroke)
InstallAppDefaults(Stroke)

/* CompilePSWFile(StrokeWraps)*/
.SUFFIXES: .psw .uil .uid
.psw.o :
	$(PSWRAP) -o $*.c -h $*.h $<
	$(CC) -c $(CFLAGS) $*.c
	$(RM) $*.c

/* UIDFromUILFile(stroke,Stroke)*/
stroke:      Stroke.uid
.uil.uid:
	$(RM) $@
	$(UIL) -o $@ $<

InstallNonExec(StrokeArcOff.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeArcOn.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeDiagOff.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeDiagOn.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeHorizOn.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeHorizOff.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeVertOff.xbm,$(STROKE_BITMAPS))
InstallNonExec(StrokeVertOn.xbm,$(STROKE_BITMAPS))

clean::
	$(RM) -f Stroke.uid StrokeWraps.c StrokeWraps.h
