#
# Stingray monitor daemon makefile
#
# @(#) $Header: makefile,v 78.1 96/03/26 19:29:38 ssa Exp $
#
# $Source: /hpux/shared/supp//usr/src/cmd/c2400_util/./hutil/mon/makefile,v $
#
# $Log:	makefile,v $
# Revision 78.1  96/03/26  19:29:38  19:29:38  ssa (RCS Manager)
# Author: daveg@hpucsb2.cup.hp.com
# added support for devlists.o  
# 
# Revision 72.5  94/03/14  15:11:30  15:11:30  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# Modifed to utilize defs.h from lutil/src
# 
# Revision 72.4  94/03/01  14:00:32  14:00:32  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# added libIO library.
# 
# Revision 72.3  94/02/22  09:14:33  09:14:33  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# removed reference to -lIO for 700 compile.
# 
# Revision 72.2  94/02/16  13:54:43  13:54:43  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# Added INCLUDES for dfileinfo.
# 
# Revision 72.1  94/02/16  12:58:32  12:58:32  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# Modified to reflect name change of dlib800 to dlibhpux
# 
# Revision 70.5  94/02/03  13:03:37  13:03:37  ssa (RCS Manager)
# Author: dhosking@hpuxsrc.cup.hp.com
# DSDe414345 - dummy checkin to allow branching of makefile for BLS
# 
# Revision 70.4  94/02/03  13:03:29  13:03:29  ssa (RCS Manager)
# Author: dhosking@hpuxsrc.cup.hp.com
# DSDe414345 - dummy checkin to allow branching of makefile for BLS
# 
# Revision 70.3  93/10/15  07:26:52  07:26:52  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# Removed compile options.  These will be passed in by the build command.
# 
# Revision 70.2  93/07/12  10:35:59  10:35:59  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# Deleted 700 comments.
# 
# Revision 70.1  93/07/02  15:16:42  15:16:42  ssa (RCS Manager)
# Author: larrym@hpucsb2.cup.hp.com
# Initial revision
# 

SRC = .
LIN = ../../lutil/src
LOB = ../../lutil/obj
OBJ = ../obj
BIN = ../bin

DLIB = dlibhpux
LIB_IO = -lIO

all:                    $(BIN)/arraycomp			\
			$(BIN)/dfileinfo

$(BIN)/arraycomp:	$(SRC)/arraycomp.c
			cc $(SRC)/arraycomp.c			\
			-o $(BIN)/arraycomp

$(BIN)/dfileinfo:	$(LOB)/$(DLIB).o $(OBJ)/dfileinfo.o	\
                        $(LOB)/common.o 	
			cc $(OBJ)/dfileinfo.o			\
			$(LOB)/$(DLIB).o $(LOB)/common.o	\
			$(LOB)/devlists.o $(LIB_IO)		\
			-o $(BIN)/dfileinfo

$(OBJ)/dfileinfo.o:	$(SRC)/dfileinfo.c
			cc -I$(LIN) -c $(SRC)/dfileinfo.c
			mv dfileinfo.o $(OBJ)
