# $Source: /hpux/shared/supp//usr/src/lib/libBSD/./makefile,v $
# $Revision: 72.3 $

# Common makefile for libBSD 
# This makefile also used to build libV7, which is now implemented as
# a link to libBSD.  This linking is done by the install portion of the
# common build.
#

# Temporarily removed tell.o from OBJECTS list so that 300 build will
# work.

OBJECTS = hpux_rel.o getwd.o killpg.o sigvec.o signal.o \
	setpgrp.o getpgrp.o
SOURCES = hpux_rel.c getwd.c killpg.c sigvec.c signal.c \
	setpgrp.c getpgrp.c

LIB	= libBSD.a
LIB_M	= libBSD.M

default:    $(LIB)

metrics:    $(LIB_M)

$(LIB):     $(OBJECTS)
	rm -f $(LIB)
	ar  q  $(LIB)  $(OBJECTS) 

$(LIB_M):   $(SOURCES)
	$(METRICS) $(SOURCES) -o $(LIB_M)

clean:
	rm -f *.o

clobber:    clean
	rm -f $(LIB)
