~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Minix Cross Reference
Minix/Solaris/combine


  1 #!/bin/sh
  2 # $Id: combine,v 1.5 1997/01/21 19:00:16 paul Exp $
  3 
  4 # Run from src/kernel, src/mm, src/fs, src/inet or src/tools to recreate the 
  5 # image file after one of the four of five constituent programs has been
  6 # recreated.  Notice that inet is only including if networking is enabled.
  7 
  8 # 1997/01/21 Coverted to a sh script (PJA).
  9 
 10 egrep -s '^\#define  *ENABLE_NETWORKING  *1' $MX_INCL/minix/config.h
 11 if [ $? = 0 ]
 12     then
 13         progs="../kernel/kernel ../mm/mm ../fs/fs ../inet/inet ../tools/init"
 14     else
 15         progs="../kernel/kernel ../mm/mm ../fs/fs ../tools/init"
 16 fi
 17 
 18 for prog in $progs
 19 do
 20     if [ ! -f $prog ] 
 21         then
 22             exit     # Can only combine if all files exist
 23     fi
 24 done
 25 
 26 cat $progs >../tools/image

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.