# Imakefile -- Imake rules for the ptstypes utility.
# Dean Collins

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


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

CCOPTIONS = -DBSD -UXPTS $(INCLUDES)

           SRCS = ptstypes.c
           OBJS = ptstypes.o
           HDRS = 
       PROGRAMS = ptstypes
       INCLUDES = -I.. -I$(PTSTOP)/util -I$(PTSTOP)/zdbm -I$(PTSTOP)/neb_cld \
		  -I$(PTSTOP)/config -I$(PTSTOP)
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
   INSTPGMFLAGS = -m 0755 -o $(OWNER)

AllTarget(ptstypes)
NormalProgramTarget(ptstypes,ptstypes.o,$(PTSLIBS),$(LOCAL_LIBRARIES),/**/)
LintTarget()
DependTarget()
InstallProgram(ptstypes,$(BINDIR))

install.man::

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

