#
# This is the make file for the prsr. lib subdirectory.
#
#				Gershon Elber, Aug 1991
#

include ../makeflag.unx

OBJS = allocate.o iritprsr.o iritprsb.o attribut.o ip_cnvrt.o \
	ip_fatal.o ip_procs.o soc_clnt.o soc_srvr.o

libprsr.a: $(OBJS)
	rm -f libprsr.a
	ar rcv libprsr.a *.o
	-ranlib libprsr.a

install: libprsr.a
	mv -f libprsr.a $(LIB_DIR)
	cp *.h $(INC_DIR)

soc_srvr: soc_srvr.c
	$(CC) $(CFLAGS) -DDEBUG_SERVER -I. -I$(INC_DIR) -c soc_srvr.c
	$(CC) $(CFLAGS) -o soc_srvr soc_srvr.o $(LIBS) $(MORELIBS) -lm
	rm soc_srvr.o

# Dependencies starts here - do not touch, generated automatically.
allocate.o:	iritprsr.h allocate.h iritprsr.h attribut.h iritprsr.h
ami_clnt.o:	irit_soc.h iritprsr.h allocate.h iritprsr.h amiga.h
ami_srvr.o:	irit_soc.h iritprsr.h allocate.h iritprsr.h amiga.h
attribut.o:	iritprsr.h attribut.h iritprsr.h allocate.h iritprsr.h
ip_cnvrt.o:	iritprsr.h allocate.h iritprsr.h ip_cnvrt.h iritprsr.h attribut.h iritprsr.h
ip_fatal.o:	iritprsr.h allocate.h iritprsr.h attribut.h iritprsr.h
ip_procs.o:	attribut.h iritprsr.h iritprsr.h
iritprsr.o:	iritprsr.h allocate.h iritprsr.h attribut.h iritprsr.h irit_soc.h iritprsr.h allocate.h iritprsr.h
soc_clnt.o:	irit_soc.h iritprsr.h allocate.h iritprsr.h
soc_srvr.o:	irit_soc.h iritprsr.h allocate.h iritprsr.h
