######################################################################
# 
# Imakefile -- Imake rules for the ptsprt utility.
# Dean Collins, Thu Jul 30 08:33:47 PDT 1992
#
######################################################################
#
######################################################################
#
# Copyright (c) 1994 Dean Collins.
# Copyright (c) 1992 University of Idaho, Moscow, Idaho.
# 
# Permission to use, copy, modify, and distribute this software and its
# documentation free of charge for any purpose is hereby granted without
# fee, provided that the above copyright notice appear in all copies and
# that both that copyright notice and this permission notice appear in
# supporting documentation, and that the name of the University of Idaho
# not be used in advertising or publicity pertaining to distribution of
# the software without specific, written prior permission.  The University
# of Idaho makes no representations about the suitability of this software
# for any purpose.  It is provided "as is" without express or implied warranty.
# 
# THE UNIVERSITY OF IDAHO DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
# SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
# IN NO EVENT SHALL THE UNIVERSITY OF IDAHO BE LIABLE FOR ANY SPECIAL,
# INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
######################################################################

######################################################################
#  YOU SHOULDN'T NEED TO MODIFY ANYTHING IN THIS FILE.
#  All costomization is now done in ../Imake.config.
######################################################################


#include "../../Imake.config"


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

CCOPTIONS = -DBSD -UXPTS $(INCLUDES)
PTSTOP=../..

           SRCS = ptsprt.c
           OBJS =  ptsprt.o cgetopts.o
           HDRS = 
       PROGRAMS = ptsprt
       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
#   INSTPGMFLAGS = -m 4755 -o $(OWNER)

AllTarget(ptsprt)
NormalProgramTarget(ptsprt,$(OBJS),$(PTSLIBS),$(LOCAL_LIBRARIES),/**/)
LintTarget()
DependTarget()
InstallProgram(ptsprt,$(BINDIR))

install.man::


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

