##
##	Ohio Trollius
##	Copyright 1995 The Ohio State University
##
##	Function:	- lamshrink
##			- Remove a node from a LAM multicomputer.
##

DEPTH   = ../..

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

##
## local configuration
##
VPATH	= ../../otb/lamshrink:$(DEPTH)/share/boot
INCLUDE	= -I$(IDIR) -I$(DEPTH)/share/boot
DEFS	= -DRSH=\"$(RSH)\"
LCFLAGS = $(INCLUDE) $(DEFS)
LDFLAGS =

##
## modules and libraries
##
LIB	= -L$(OLDIR) -largs -ltrillium -lt $(SYSLIBS)
BIN	= lamshrink
SRC	= inetexec.c lamshrink.c
OBJ	= inetexec.o lamshrink.o


all: $(BIN)

$(BIN): $(OBJ) $(OLDIR)/libargs.a $(OLDIR)/libtrillium.a $(OLDIR)/libt.a
	$(CC) $(LDFLAGS) -o $(BIN) $(OBJ) $(LIB)

install: $(OBDIR)/$(BIN) $(OBDIR)/$(SBIN)

$(OBDIR)/$(BIN): $(BIN)
	$(INSTALL) $(BIN) $(OBDIR)/$(BIN)

clean:
	$(RM) $(OBJ) $(BIN)

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

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