######################################################################
# 
# Imakefile -- Imake rules for the problem-ager utility.
# Dean Collins, Thu Jul 30 08:33:47 PDT 1992
#
######################################################################
#
# Modified: Dean Collins Thu Feb 24 15:23:48 1994
# Removed mutant use of xpts/util.c.  Changed file mode of installed
# program to be setuid.  Should be set up as "setuid support"
# to ensure proper access to the database.
#
# Modified: Dean Collins Thu Mar 10 20:52:51 1994
# Moved customization to ../Imake.config, which each Imakefile
# will #include.  This eliminates the need to set CC within
# each one.
#
######################################################################
#
# 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 customization is now done in ../Imake.config.
######################################################################


#include "../Imake.config"


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

CCOPTIONS = -DBSD -UXPTS $(INCLUDES)

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



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


DependTarget()
InstallProgram(ptsager,$(BINDIR))

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

