blob: 05ee4b1143e3760d7e00d0d31db0ed07c52ff33a [file] [log] [blame]
#!/bin/sh
#
# Mksrc - make DEC OSF/1, Digital UNIX, Tru64 UNIX 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/15 06:40:21 abe Exp $
D=dialects/du
L="ddev.c dfile.c dlsof.h dmnt.c dnode.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