${TOP_LIBDIR}/util.a \
${XLIBS}
-all: ${TOP_LIBDIR}/libbutm.a
+all: ${TOP_LIBDIR}/libbutm.a ${TOP_INCDIR}/afs/butm_prototypes.h
${TOP_LIBDIR}/libbutm.a: libbutm.a
${INSTALL_DATA} $? $@
+${TOP_INCDIR}/afs/butm_prototypes.h: butm_prototypes.h
+ ${INSTALL_DATA} $? $@
+
libbutm.a: file_tm.o AFS_component_version_number.o
-$(RM) -f $@
$(AR) crv $@ file_tm.o AFS_component_version_number.o
!INCLUDE ..\config\NTMakefile.version
############################################################################
+# install headers
+INCFILES =\
+ $(DESTDIR)\include\afs\butm_prototypes.h
+
+############################################################################
# Definitions for building a static library
LIBFILE = $(DESTDIR)\lib\afs\afsbutm.lib
$(LIBFILE): $(LIBOBJS)
$(LIBARCH)
-
############################################################################
# Install target; primary makefile target
-install: $(LIBFILE) $(OUT)\test_ftm.exe
+install: $(INCFILES) $(LIBFILE) $(OUT)\test_ftm.exe
############################################################################
--- /dev/null
+/* 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
+ */
+
+#ifndef _BUTM_PROTOTYPES_H
+#define _BUTM_PROTOTYPES_H
+
+/* file_tm.c */
+
+extern afs_int32 SeekFile(struct butm_tapeInfo *, int);
+extern afs_int32 butm_file_Instantiate(struct butm_tapeInfo *,
+ struct tapeConfig *);
+extern afs_int32 NextFile(struct butm_tapeInfo *);
+
+#endif
#include <afs/butm.h>
#include <afs/usd.h>
#include "error_macros.h"
+#include "butm_prototypes.h"
#ifdef O_LARGEFILE
typedef off64_t osi_lloff_t;