# RCSid: $Header: /rcs/vcom/sbeux/io/Makefile,v 1.3 92/01/27 14:04:22 vimal Rel $

#-----------------------------------------------------------------------------
# Makefile - kernel generation
#
# Copyrighted as an unpublished work.
# (c) Copyright 1991 SBE, Inc. and by other vendors under license agreements.
# All Rights Reserved.
#-----------------------------------------------------------------------------
# RCS info:
# RCS revision: $Revision: 1.3 $
# Last changed on $Date: 92/01/27 14:04:22 $
# Changed by $Author: vimal $
#-----------------------------------------------------------------------------
# $Log:	Makefile,v $
# Revision 1.3  92/01/27  14:04:22  vimal
# *** empty log message ***
# 
# Revision 1.2  91/12/13  14:01:21  rld
# Add quotes around $(DPARMS) to match removal in ../Makefile.
# 
# Revision 1.1  91/12/12  16:46:44  rld
# Look to see if vct.mk exists before calling it.
# 
# Revision 1.0  91/05/28  06:17:20  rld
# Initial revision
# 
#-----------------------------------------------------------------------------
#

COMMON   = ../iocommon
LOCALINC = ../include
SPECIFIC = .
INCLUDE  = -I$(SPECIFIC) -I$(LOCALINC)
CC = cc

LIB1 = lib.vc		# common library
LIB2 = lib.vct		# TCP-IP specific library

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

all:
	make -f vc.mk DPARMS="$(DPARMS)"
	@if [ -f vct.mk ] ; \
	then \
		make -f vct.mk DPARMS="$(DPARMS)" ; \
	else \
		touch lib.vct ; \
	fi

install:
	make -f vc.mk DPARMS="$(DPARMS)" install
	@if [ -f vct.mk ] ; \
	then \
		make -f vct.mk DPARMS="$(DPARMS)" install ; \
	fi

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

clean:
	rm -f *.o

clobber:
	rm -f *.o $(LIB1) $(LIB2)

# End-of-file
