-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4535fd7
Showing
4,829 changed files
with
1,095,494 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
|
||
License | ||
|
||
Copyright (c) 1987, 1997, 2006, Vrije Universiteit, Amsterdam, | ||
The Netherlands All rights reserved. Redistribution and use of the MINIX 3 | ||
operating system in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
* Neither the name of the Vrije Universiteit nor the names of the | ||
software authors or contributors may be used to endorse or promote | ||
products derived from this software without specific prior written | ||
permission. | ||
|
||
* Any deviations from these conditions require written permission | ||
from the copyright holder in advance | ||
|
||
|
||
Disclaimer | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS, AUTHORS, AND | ||
CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN | ||
NO EVENT SHALL PRENTICE HALL OR ANY AUTHORS OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
Aggregated Software | ||
|
||
In addition to MINIX 3 itself, the distribution CD-ROM and this Website | ||
contain additional software that is not part of MINIX 3 and is not | ||
covered by this license. The licensing conditions for this additional | ||
software are stated in the various packages. In particular, some of the | ||
additional software falls under the GPL, and you must take care to | ||
observe the conditions of the GPL with respect to this software. As | ||
clearly stated in Article 2 of the GPL, when GPL and nonGPL software are | ||
distributed together on the same medium, this aggregation does not cause | ||
the license of either part to apply to the other part. | ||
|
||
|
||
Acknowledgements | ||
|
||
This product includes software developed by the University of | ||
California, Berkeley and its contributors. | ||
|
||
This product includes software developed by Softweyr LLC, the | ||
University of California, Berkeley, and its contributors. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# Master Makefile to compile everything in /usr/src except the system. | ||
|
||
MAKE=make | ||
|
||
usage: | ||
@echo "" | ||
@echo "Master Makefile for MINIX commands and utilities." | ||
@echo "Root privileges are required for some actions." | ||
@echo "" | ||
@echo "Usage:" | ||
@echo " make world # Compile everything (libraries & commands)" | ||
@echo " make includes # Install include files from src/" | ||
@echo " make libraries # Compile and install libraries" | ||
@echo " make commands # Compile all, commands, but don't install" | ||
@echo " make install # Compile and install commands" | ||
@echo " make depend # Generate required .depend files" | ||
@echo " make gnu-includes # Install include files for GCC" | ||
@echo " make gnu-libraries # Compile and install libraries for GCC" | ||
@echo " make clang-libraries # Compile and install libraries for GCC with clang" | ||
@echo " make clean # Remove all compiler results" | ||
@echo "" | ||
@echo "Run 'make' in tools/ to create a new MINIX configuration." | ||
@echo "" | ||
|
||
# world has to be able to make a new system, even if there | ||
# is no complete old system. it has to install commands, for which | ||
# it has to install libraries, for which it has to install includes, | ||
# for which it has to install /etc (for users and ownerships). | ||
# etcfiles also creates a directory hierarchy in its | ||
# 'make install' target. | ||
# | ||
# etcfiles has to be done first. | ||
.if ${COMPILER_TYPE} == "ack" | ||
world: mkfiles includes depend libraries install etcforce | ||
.elif ${COMPILER_TYPE} == "gnu" | ||
world: mkfiles includes depend gnu-libraries install etcforce | ||
.endif | ||
|
||
mkfiles: | ||
make -C share/mk install | ||
|
||
includes: | ||
$(MAKE) -C include includes | ||
$(MAKE) -C lib includes | ||
|
||
libraries: includes | ||
$(MAKE) -C lib build_ack | ||
|
||
MKHEADERS411=/usr/gnu/libexec/gcc/i386-pc-minix/4.1.1/install-tools/mkheaders | ||
MKHEADERS443=/usr/gnu/libexec/gcc/i686-pc-minix/4.4.3/install-tools/mkheaders | ||
MKHEADERS443_PKGSRC=/usr/pkg/gcc44/libexec/gcc/i686-pc-minix/4.4.3/install-tools/mkheaders | ||
gnu-includes: includes | ||
SHELL=/bin/sh; if [ -f $(MKHEADERS411) ] ; then sh -e $(MKHEADERS411) ; fi | ||
SHELL=/bin/sh; if [ -f $(MKHEADERS443) ] ; then sh -e $(MKHEADERS443) ; fi | ||
SHELL=/bin/sh; if [ -f $(MKHEADERS443_PKGSRC) ] ; then sh -e $(MKHEADERS443_PKGSRC) ; fi | ||
|
||
gnu-libraries: gnu-includes | ||
$(MAKE) -C lib build_gnu | ||
|
||
clang-libraries: includes | ||
$(MAKE) -C lib build_clang | ||
|
||
commands: includes libraries | ||
$(MAKE) -C commands all | ||
|
||
depend:: | ||
$(MAKE) -C boot depend | ||
$(MAKE) -C commands depend | ||
$(MAKE) -C kernel depend | ||
$(MAKE) -C servers depend | ||
$(MAKE) -C drivers depend | ||
|
||
etcfiles:: | ||
$(MAKE) -C etc install | ||
|
||
etcforce:: | ||
$(MAKE) -C etc installforce | ||
|
||
all:: | ||
$(MAKE) -C boot all | ||
$(MAKE) -C commands all | ||
$(MAKE) -C tools all | ||
|
||
install:: | ||
$(MAKE) -C boot install | ||
$(MAKE) -C man install makedb | ||
$(MAKE) -C commands install | ||
$(MAKE) -C share install | ||
$(MAKE) -C tools install | ||
|
||
clean:: | ||
$(MAKE) -C boot clean | ||
$(MAKE) -C commands clean | ||
$(MAKE) -C tools clean | ||
$(MAKE) -C lib clean_gnu | ||
$(MAKE) -C lib clean_ack | ||
$(MAKE) -C test clean | ||
|
||
cleandepend:: | ||
$(MAKE) -C boot cleandepend | ||
$(MAKE) -C commands cleandepend | ||
$(MAKE) -C tools cleandepend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Super secret project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Makefile for the benchmarks. | ||
|
||
all:: | ||
chmod 755 run | ||
|
||
all clean:: | ||
for b in *bench*; do cd $$b && $(MAKE) $@; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
make | ||
|
||
BENCHDIR=/usr/local/benchmarks | ||
|
||
basebenchmarks=`echo *bench*` | ||
|
||
if [ -d $BENCHDIR ] | ||
then packagebenchmarks=`(cd $BENCHDIR && echo *bench*)` | ||
fi | ||
|
||
runbench() { | ||
bench=$1 | ||
out="Results/$bench.`date +%Y%m%d.%H%M%S`" | ||
if [ -d $bench ] | ||
then dir=$bench | ||
fi | ||
if [ -d $BENCHDIR/$bench ] | ||
then dir=$BENCHDIR/$bench | ||
fi | ||
clear | ||
echo "Running $dir." | ||
echo "Saving output to $out." | ||
echo "" | ||
( cd $dir && sh run.sh 2>&1 ) | tee $out | ||
} | ||
|
||
clear | ||
n=1 | ||
for b in $basebenchmarks $packagebenchmarks | ||
do echo "$n. $b" | ||
eval "n$n=$b" | ||
n=`expr $n + 1` | ||
done | ||
echo | ||
echo -n "Run which benchmark or 'all'? " | ||
read bench | ||
eval var=\$n$bench | ||
if [ "$bench" = all ] | ||
then for b in $basebenchmarks $packagebenchmarks | ||
do runbench $b | ||
done | ||
else if [ -d "$var" -o -d "$BENCHDIR/$var" ] | ||
then runbench $var | ||
else echo "Unknown benchmark $var." | ||
exit 1 | ||
fi | ||
fi |
Oops, something went wrong.