📄 configuration
字号:
#### Copyright (c) 2002 David Santo Orcero irbis@orcero.org## http://www.orcero.org/irbis## Mosix is (c) of prof. Barak http://www.mosix.org## OpenMosix is (c) of Moshe Bar http://www.openmosix.com## Each respective trademark is of its own owner## All rights reserved.## This software is distributed under GPL 2#### THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTY IS ASSUMED.## NO LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING## FROM THE USE OF THIS SOFTWARE WILL BE ACCEPTED. IT CAN BURN## YOUR HARD DISK, ERASE ALL YOUR DATA AND BROKE DOWN YOUR ## MICROWAVE OVEN. YOU ARE ADVISED.### You MUST change this# Versionline of the OpenMosix kernel (it can be 2.4 and 2.6 from now)KERNELMAINVER = 2.6#KERNELMAINVER = 2.4# Here is an OpenMosix kernel#OPENMOSIX = /home/irbis/OpenMosix/linux-2.4.26#OPENMOSIX = /home/irbis/OpenMosix/linux-2.6.15OPENMOSIX = /tmp/linux-2.6.15#OPENMOSIX = /tmp/linux-2.4.26# Use only an absolute path. # i.e.: /home/irbis/OpenMosix/cvsom/linux-openmosix/linux-openmosix WORKS# ../linux-openmosix/linux-openmosix DOES NOT WORK# mon userland tool use the same name of mon, a common used# monitoring tool. If you want no headaches, the best is# to change the name.# RecommenedMONNAME=mosmon# Old fasion# MONNAME=mon# The Debian way# MONNAME=mmon# Which is is the C compilerCC=gcc# Where we are going to installINSTALLBASEDIR=/INSTALLEXTRADIR=/usr# INSTALLEXTRADIR=/usr/local# Where the manpages dir would be# If your distribution is LSB-compilant, you should let this untouchedINSTALLMANDIR=$(INSTALLEXTRADIR)/man# From here to the end, you must know what you are doing before# touching.# C flagsCFLAGS = -Wall -I/m/include -I./ -I/usr/include -I$(OPENMOSIX)/include \ -Wpointer-arith -Wcast-qual -Wconversion \ -Wwrite-strings -Wredundant-decls -O2# InstallerINSTALL = /usr/bin/install################################################################################################### Do not touch from here to the end# This is oriented to fix some 2.4 and 2.6 issues#############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################ifeq ($(KERNELMAINVER),2.4) LIBOPENMOSIX=../moslib/libmos.a# gcc preprocesor cries under comparation of a string.# This is an ugly hack, not to be touched KERNELMAINVERI = 240endififeq ($(KERNELMAINVER),2.6) LIBOPENMOSIX=../moslib/libopenmosix.a LIBBALANCER= ../moslib/libbalancer.a# gcc preprocesor cries under comparation of a string.# This is an ugly hack, not to be touched KERNELMAINVERI = 260endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -