##
##	Ohio Trollius
##	Copyright 1995 The Ohio State University
##
##	Function:	- bufferd
##			- buffer server
##

DEPTH   = ../../..

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

##
## local configuration
##
VPATH	= $(DEPTH)/share/bufferd
INCLUDE	= -I$(IDIR)
DEFS	=
LCFLAGS = $(INCLUDE) $(DEFS)
LDFLAGS	= $(LIBBIND)

##
## modules and libraries
##
LIB	= -L$(OLDIR) -lt $(SYSLIBS)
BIN	= bufferd
SRC	= bf_main.c bufferd.c
OBJ	= bf_main.o bufferd.o


all: $(BIN)

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

install: $(OBDIR)/$(BIN)

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

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

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

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