##
##	Ohio Trollius
##	Copyright 1995 The Ohio State University
##
##	Function:	- libetc.a
##			- miscellaneous routines that must be in the t library
##			  for safe linking
##

DEPTH   = ../../../..

##
## global configuration
##
include $(DEPTH)/Config/config

##
## local configuration
##
VPATH	= $(DEPTH)/share/trillium:$(DEPTH)/share/etc:\
	  ../../../otb/t/etc:../../../otb/trillium:\
	  $(DEPTH)/otb/sys/kernel
INCLUDE	= -I$(IDIR)
DEFS	= 
LCFLAGS = $(INCLUDE) $(DEFS)
AFLAGS	= rv

##
## modules and libraries
##
LIB	= libetc.a
SRC     = atos.c blktype.c combine.c fail.c few.c f2cstring.c \
	  getinetaddr.c getworkdir.c \
	  ieee.c itoa.c kiproc.c lamunix.c ldtimer.c \
	  lioattach.c lpattach.c lpdetach.c microsleep.c mrw.c \
	  nmsgconv.c nodespin.c panic.c pathsearch.c prime.c rev.c \
	  rtrstore.c stoi.c terror.c ttime.c vctable.c T.c \
	  socket.c srfd.c

OBJ     = atos.o blktype.o combine.o fail.o few.o f2cstring.o \
	  getinetaddr.o getworkdir.o \
	  ieee.o itoa.o kiproc.o lamunix.o ldtimer.o \
	  lioattach.o lpattach.o lpdetach.o microsleep.o mrw.o \
	  nmsgconv.o nodespin.o panic.o pathsearch.o prime.o rev.o \
	  rtrstore.o stoi.o terror.o ttime.o vctable.o T.o \
	  socket.o srfd.o

all: $(LIB)

$(LIB): $(OBJ)
	$(RM) $(LIB)
	$(AR) $(AFLAGS) $(LIB) $(OBJ)

install: $(LIB)

clean:
	$(RM) $(OBJ) $(LIB)

##
## depend:
##
include	$(DEPTH)/Config/depend

##
## automatic dependencies and rules
##
include Depends
