blob: f94d1647f234364e285d4e2d9ee33930f92fbc37 [file] [log] [blame]
#!/bin/sh
#
# Mksrc - make /dev/kmem-based HP-UX source files
#
# WARNING: This script assumes it is running from the main directory
# of the lsof, version 4 distribution.
#
# One environment variable applies:
#
# LSOF_MKC is the method for creating the source files.
# It defaults to "ln -s". A common alternative is "cp".
#
# $Id: Mksrc,v 1.3 99/04/27 15:54:00 abe Exp $
D=dialects/hpux/kmem
L="dfile.c dlsof.h dmnt.c dnode.c dnode1.c dnode2.c dproc.c dproto.h dsock.c dstore.c machine.h"
for i in $L
do
rm -f $i
$LSOF_MKC $D/$i $i
echo "$LSOF_MKC $D/$i $i"
done