#!/bin/sh
#
# Mksrc - make Linux source files for 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.2 98/11/10 09:33:18 abe Exp $


D=dialects/du
F=dialects/common
L="dlock.c dmnt.c dlslk.h dproto.h dstore.c machine.h"

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

# Assemble ???

#NM=???
#P="$D/$NM $F/???"
#rm -f $NM
#cat $P > $NM
#echo "$NM assembled."
