#!/bin/sh
#
# Mksrc - make source files for /proc-based Linux lslk
#
# WARNING: This script assumes it is running from the main directory
#	   of the lslk distribution.
#
# One environment variable applies:
#
# LSLK_MKC	is the method for creating the source files.
#		It defaults to "ln -s".  A common alternative is "cp".
#
#		Cp may be used when it is necessary to assemble a
#		source module from fragments.
#
# $Id: Mksrc,v 1.1 98/01/08 08:02:39 abe Exp $


D=dialects/linux/proc
L="dlock.c dmnt.c dlslk.h dproto.h machine.h"

for i in $L
do
  rm -f $i
  $LSLK_MKC $D/$i $i
  echo "$LSLK_MKC $D/$i $i"
done
