# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

srcdir=.
include /usr/ports/net/openafs/work/openafs-1.4.8/src/config/Makefile.config

all: ${TOP_LIBDIR}/libnull.a

install: ${DESTDIR}${libdir}/afs/libnull.a

${DEST}/lib/afs/libnull.a: libnull.a
	${INSTALL} $? $@

null.o: null.c AFS_component_version_number.c

libnull.a: null.o 
	-$(RM) -f $@
	$(AR) crv $@ null.o
	$(RANLIB) $@

clean:
	$(RM) -f *.o *.a AFS_component_version_number.c

include ../config/Makefile.version

${DESTDIR}${libdir}/afs/libnull.a: libnull.a
	${INSTALL} $? $@

${TOP_LIBDIR}/libnull.a: libnull.a
	${INSTALL} $? $@

dest: ${DEST}/lib/afs/libnull.a

