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

SRCS = drawwraps.psw stdwraps.psw \
       textwraps.psw colormgr.c draw.c \
       stdobjects.c textobject.c

OBJS = drawwraps.o stdwraps.o \
       textwraps.o colormgr.o draw.o \
       stdobjects.o textobject.o

DERIVED_FILES = drawwraps.h drawwraps.c \
                stdwraps.h stdwraps.c \
                textwraps.h textwraps.c

.SUFFIXES: .psw

.psw.o :
	$(PSWRAP) -o $*.c -h $*.h $<
	$(CC) -c $(CFLAGS) $*.c
	$(RM) $*.c

ComplexProgramTarget(draw)

InstallAppDefaults(Draw)

clean ::
	$(RM) $(DERIVED_FILES)
