# Imakefile -- Imake rules for the text-mode test/demo.
# Dean Collins

PTSTOP = ../..
#include "../../Imake.config"


#----------------------------------------------------------------------


           SRCS = texttest.c
           OBJS = texttest.o xutil.o
           HDRS = 
       PROGRAMS = texttest
       INCLUDES = -I$(PTSTOP) -I$(PTSTOP)/util -I$(PTSTOP)/zdbm \
		  -I$(PTSTOP)/neb_cld -I$(PTSTOP)/config
LOCAL_LIBRARIES = -L$(PTSTOP)/neb_cld -lcloud -L$(PTSTOP)/config -lconfig  \
		  -L$(PTSTOP)/zdbm -lzdbm \
		  -L$(PTSTOP)/util -lutil $(MISSING_LIBS)
        PTSLIBS = $(PTSTOP)/neb_cld/libcloud.a $(PTSTOP)/config/libconfig.a \
		  $(PTSTOP)/zdbm/libzdbm.a $(PTSTOP)/util/libutil.a


AllTarget($(PROGRAMS))
/*ComplexProgramTarget(texttest)*/
NormalProgramTarget(texttest,$(OBJS),$(PTSLIBS),$(LOCAL_LIBRARIES),/**/)
LintTarget()

xutil.o: $(PTSTOP)/xpts/xutil.c $(PTSTOP)/xpts/xutil.h
	$(CC) $(PTSTOP)/xpts/xutil.c -c $(CCOPTIONS)


DependTarget()
InstallProgram(texttest,$(BINDIR))

uninstall::
	$(RM) $(BINDIR)/texttest
	@echo "uninstall in $(CURRENT_DIR) done"



