Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1681 → Rev 1680

/shark/branches/xen/Makefile
File deleted
/shark/branches/xen/kernel/Makefile
File deleted
/shark/branches/xen/kernel/mem/Makefile
File deleted
/shark/branches/xen/kernel/mem/makefile
0,0 → 1,34
# The List-based Memory Manager (from OSKit!)
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = mem
 
OBJS_PATH = $(BASE)/kernel/mem
 
#
# Object files
#
 
OBJS = addfree.o \
addregio.o \
alloc.o \
alloc_al.o \
alloc_ge.o \
alloc_pa.o \
avail.o \
avail_in.o \
dump.o \
findfree.o \
free.o \
freepage.o \
init.o \
removefr.o \
stats.o
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/kernel/makefile
0,0 → 1,49
# The Generic Kernel library
 
ifndef BASE
BASE=..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = gkern
 
OBJS_PATH = $(BASE)/kernel
INCL += -I$(BASE)/tracer/include
 
# Object files
 
OBJS = activate.o \
assert.o \
blkact.o \
cancel.o \
conditio.o \
event.o \
exchand.o \
grpcreat.o \
jet.o \
join.o \
kern.o \
keys.o \
kill.o \
init.o \
int_sem.o \
mem.o \
mqueue.o \
mutex.o \
nanoslp.o \
panic.o \
printk.o \
perror.o \
pthread.o \
iqueue.o \
signal.o \
time.o \
tpreempt.o \
tskmsg.o
 
include $(BASE)/config/lib.mk
 
install all clean cleanall depend::
make -C mem $@
 
/shark/branches/xen/tracer/Makefile
File deleted
/shark/branches/xen/tracer/oldtrace/Makefile
File deleted
/shark/branches/xen/tracer/newtrace/Makefile
File deleted
/shark/branches/xen/tracer/makefile
0,0 → 1,34
# The Tracer Library
 
ifndef BASE
BASE=..
endif
 
include $(BASE)/config/config.mk
include $(BASE)/shark.cfg
 
LIBRARY = tracer
 
INCL += -I./include -I$(BASE)/drivers/net/include
 
OBJS_PATH = $(BASE)/tracer
 
# Object files
 
ifeq ($(findstring NEW,$(TRACER)) , NEW)
OBJS = newtrace/FTrace.o newtrace/FTrace_OSD.o newtrace/FTrace_OSD_ll.o\
newtrace/FTrace_udp.o newtrace/FTrace_disk.o
CFG_OPT += -D__NEW_TRACER__
endif
ifeq ($(findstring OLD,$(TRACER)) , OLD)
OBJS = oldtrace/oldtrace.o oldtrace/trccirc.o oldtrace/trcdfix.o \
oldtrace/trcudp.o oldtrace/trcfixed.o oldtrace/trcdummy.o oldtrace/ctable.o
CFG_OPT += -D__OLD_TRACER__
endif
 
ifneq ($(findstring NO,$(TRACER)) , NO)
include $(BASE)/config/lib.mk
endif
 
install all clean cleanall depend::
 
/shark/branches/xen/ports/Makefile
File deleted
/shark/branches/xen/ports/first/Makefile
File deleted
/shark/branches/xen/ports/first/fsf_include/tests/Makefile
File deleted
/shark/branches/xen/ports/first/fsf_include/tests/shark_glue/Makefile
File deleted
/shark/branches/xen/ports/first/fsf_include/tests/shark_glue/makefile
0,0 → 1,20
#
# util_linux -> compiles the tracer utilities under Linux
#
 
ifndef BASE
BASE=../../..
endif
 
.PHONY: util_dos util_linux clean
 
all: udpdump
 
udpdump: udpdump.c
gcc -Wimplicit-function-declaration -Wall -ggdb\
-I$(BASE)/tracer/include -I$(BASE)/oslib udpdump.c -o udpdump
 
clean:
rm -rf *.o udpdump
 
 
/shark/branches/xen/ports/first/fsf_include/tests/fsf_negotiation_test/Makefile
File deleted
/shark/branches/xen/ports/first/fsf_include/tests/fsf_negotiation_test/makefile
0,0 → 1,29
#
#
ifeq ($(OS), S)
BASE=../../../../..
OSNAME = shark_glue
export BASE
 
include $(BASE)/config/config.mk
endif
 
PROGS= $(OS)_$(WL)_negotiation_test
 
ifeq ($(OS), S)
include $(BASE)/config/example.mk
endif
 
$(OS)_$(WL)_negotiation_test:
make -f $(SUBMAKE) APPNAME=$(PROGS) APP=fsf_negotiation_test INIT= OTHEROBJS="../$(OSNAME)/initfile.o ../$(OSNAME)/shark.o ../$(OSNAME)/net_print.o" OTHERINCL="-I../common" SHARKOPT="__INPUT__ __FIRST__ __NEW_TRACER__ __LINUXC26__ __PCI__ __NET__ __GRX__"
 
ifeq ($(OS), M)
 
HERE=$(shell /bin/pwd)
export HERE
 
$(PROGS):
cd /home/marte/fsf ; make $(PROGS)
 
endif
 
/shark/branches/xen/ports/first/fsf_include/tests/synch_obj_test/Makefile
File deleted
/shark/branches/xen/ports/first/fsf_include/tests/synch_obj_test/makefile
0,0 → 1,19
#
#
ifeq ($(OS), S)
BASE=../../../../..
OSNAME = shark_glue
export BASE
 
include $(BASE)/config/config.mk
endif
 
PROGS= $(OS)_$(WL)_synch_test
 
ifeq ($(OS), S)
include $(BASE)/config/example.mk
endif
 
$(OS)_$(WL)_synch_test:
make -f $(SUBMAKE) APPNAME=$(PROGS) APP=fsf_synch_obj_test INIT= OTHEROBJS="../$(OSNAME)/initfile.o ../$(OSNAME)/shark.o ../$(OSNAME)/net_print.o" OTHERINCL="-I../common" SHARKOPT="__INPUT__ __FIRST__ __NEW_TRACER__ __LINUXC26__ __PCI__ __NET__ __GRX__"
 
/shark/branches/xen/ports/first/fsf_include/tests/fsf_jitter_test/Makefile
File deleted
/shark/branches/xen/ports/first/fsf_include/tests/fsf_jitter_test/makefile
0,0 → 1,19
#
#
ifeq ($(OS), S)
BASE=../../../../..
OSNAME = shark_glue
export BASE
 
include $(BASE)/config/config.mk
endif
 
PROGS= $(OS)_$(WL)_jitter_test
 
ifeq ($(OS), S)
include $(BASE)/config/example.mk
endif
 
$(OS)_$(WL)_jitter_test:
make -f $(SUBMAKE) APPNAME=$(PROGS) APP=jitter_test INIT= OTHEROBJS="../$(OSNAME)/initfile.o ../$(OSNAME)/shark.o ../$(OSNAME)/net_print.o" OTHERINCL="-I../common" SHARKOPT="__INPUT__ __FIRST__ __NEW_TRACER__ __LINUXC26__ __PCI__ __NET__ __GRX__"
 
/shark/branches/xen/ports/first/fsf_include/tests/makefile
0,0 → 1,44
ifndef OS
OS=S
endif
 
ifndef WL
WL=0
endif
 
ifeq ($(OS), S)
include ../../../../shark.cfg
endif
 
ifeq ($(OS), M)
endif
 
export OS
export WL
 
ifeq ($(findstring NEW,$(TRACER)) , NEW)
TRC = newtrace
endif
 
dirs := $(filter-out CVS cvs tefses shark_glue marte_glue common tabledriven makefile readme.txt newtrace README.TXT, $(wildcard *))
dirs += $(TRC)
p_all := $(addprefix prefixall_, $(dirs))
p_install := $(addprefix prefixinstall_, $(dirs))
p_clean := $(addprefix prefixclean_, $(dirs))
pcleanall := $(addprefix prefixcleanall_, $(dirs))
pdepend := $(addprefix prefixdepend_, $(dirs))
 
 
.PHONY: all clean
 
 
 
all: $(p_all)
 
clean: $(p_clean)
 
prefixall_%:
make -C $*
 
prefixclean_%:
make -C $* clean
/shark/branches/xen/ports/first/makefile
0,0 → 1,21
# The Frame Buffer Device
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = first
 
OBJS_PATH = $(BASE)/ports/first
 
FIRST = first-contract.o first-server.o first-sync.o server-task.o first-error.o \
./modules/grubstar.o ./modules/posixstar.o ./modules/fedfstar.o ./modules/cbsnhstar.o \
./modules/edfstar.o ./modules/cbsstar.o ./modules/rmstar.o \
./modules/nonestar.o ./modules/pistar.o ./modules/tdstar.o
 
OBJS = $(FIRST)
 
C_OPT += -I./fsf_include -I./include -I. -I..
 
include $(BASE)/config/lib.mk
/shark/branches/xen/ports/dynalink/Makefile
File deleted
/shark/branches/xen/ports/dynalink/makefile
0,0 → 1,29
# Dynalink
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = dynalink
 
OBJS_PATH = $(BASE)/dynalink
 
 
OBJS = dynalink.o elf.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include -I./include -I.
OTHERINCL += -I$(BASE)/drivers/pci/include
OTHERINCL += -I$(BASE)/drivers/input/include
 
 
 
C_OPT += -D__KERNEL__ -D__i386__ $(CFG_VIDEO_OPT)
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
rm -f deps
 
/shark/branches/xen/ports/snapshot/Makefile
File deleted
/shark/branches/xen/ports/snapshot/makefile
0,0 → 1,20
# Snapshot Library
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = snapshot
 
OBJS_PATH = $(BASE)/ports/snapshot
 
SNAPSHOT = snapshot.o
 
OBJS = $(SNAPSHOT)
 
C_OPT += -I./include -I. -I.. -I../../drivers/fb/include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/fftw/Makefile
File deleted
/shark/branches/xen/ports/fftw/fftw/Makefile
File deleted
/shark/branches/xen/ports/fftw/fftw/makefile
0,0 → 1,29
# The complex FFTW library
 
ifndef BASE
BASE=../../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = fftc
 
OBJS_PATH = $(BASE)/ports/fftw/fftw
 
OTHERINCL += -I$(BASE)/ports/fftw/include
 
OBJS = fn_1.o fn_2.o fn_3.o fn_4.o fn_5.o fn_6.o fn_7.o fn_8.o fn_9.o \
fn_10.o fn_11.o fn_12.o fn_13.o fn_14.o fn_15.o fn_16.o fn_32.o \
fn_64.o ftw_2.o ftw_3.o ftw_4.o ftw_5.o ftw_6.o ftw_7.o ftw_8.o \
ftw_9.o ftw_10.o ftw_16.o ftw_32.o ftw_64.o fni_1.o fni_2.o \
fni_3.o fni_4.o fni_5.o fni_6.o fni_7.o fni_8.o fni_9.o fni_10.o \
fni_11.o fni_12.o fni_13.o fni_14.o fni_15.o fni_16.o fni_32.o \
fni_64.o ftwi_2.o ftwi_3.o ftwi_4.o ftwi_5.o ftwi_6.o ftwi_7.o \
ftwi_8.o ftwi_9.o ftwi_10.o ftwi_16.o ftwi_32.o ftwi_64.o \
config.o planner.o twiddle.o executor.o generic.o fftwnd.o malloc.o \
rader.o putils.o \
wisdom.o wisdomio.o
#fftwf77.o timer.o
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/fftw/rfftw/Makefile
File deleted
/shark/branches/xen/ports/fftw/rfftw/makefile
0,0 → 1,27
# The real FFTW library
 
ifndef BASE
BASE=../../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = fftr
 
OBJS_PATH = $(BASE)/ports/fftw/rfftw
 
OTHERINCL += -I$(BASE)/ports/fftw/include
 
OBJS = frc_1.o frc_2.o frc_3.o frc_4.o frc_5.o frc_6.o frc_7.o frc_8.o \
frc_9.o frc_10.o frc_11.o frc_12.o frc_13.o frc_14.o frc_15.o \
frc_16.o frc_32.o frc_64.o frc_128.o fhf_2.o fhf_3.o fhf_4.o \
fhf_5.o fhf_6.o fhf_7.o fhf_8.o fhf_9.o fhf_10.o fhf_16.o \
fhf_32.o fcr_1.o fcr_2.o fcr_3.o fcr_4.o fcr_5.o fcr_6.o \
fcr_7.o fcr_8.o fcr_9.o fcr_10.o fcr_11.o fcr_12.o fcr_13.o \
fcr_14.o fcr_15.o fcr_16.o fcr_32.o fcr_64.o fcr_128.o fhb_2.o \
fhb_3.o fhb_4.o fhb_5.o fhb_6.o fhb_7.o fhb_8.o fhb_9.o fhb_10.o \
fhb_16.o fhb_32.o rconfig.o rplanner.o rexec.o rexec2.o rfftwnd.o \
rgeneric.o
# rfftwf77.o
 
include $(BASE)/config/lib.mk
/shark/branches/xen/ports/fftw/makefile
0,0 → 1,7
 
.PHONY: all install clean cleanall depend
 
all install clean cleanall depend::
make -C rfftw $@
make -C fftw $@
 
/shark/branches/xen/ports/fftw/faq/Makefile
File deleted
/shark/branches/xen/ports/fftw/faq/makefile
0,0 → 1,12
all:
@echo converting 1 ...
perl bfnnconv.pl fftw-faq.bfnn
@echo converting 2 ...
perl bfnnconv.pl fftw-faq.bfnn
 
install-html: all
cp fftw-faq.html/* $(HOME)/WWW/faq/
 
clean:
rm -f *~ core a.out *.lout *.ps *.info *.ascii *.xrefdb *.post
rm -rf *.html
/shark/branches/xen/ports/tftp/Makefile
File deleted
/shark/branches/xen/ports/tftp/makefile
0,0 → 1,20
# TFTP
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = tftp
 
OBJS_PATH = $(BASE)/ports/tftp
 
OBJS = tftp.o endn.o
 
OTHERINCL += -I$(BASE)/ports/tftp/include -I$(BASE)/drivers/net/include/
 
include $(BASE)/config/lib.mk
 
clean::
rm -f *.o
/shark/branches/xen/ports/servo/Makefile
File deleted
/shark/branches/xen/ports/servo/makefile
0,0 → 1,20
# Servo Control
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = servo
 
OBJS_PATH = $(BASE)/ports/servo
 
SERVO = servo.o
 
OBJS = $(SERVO)
 
C_OPT += -I./include -I. -I$(BASE)/drivers/serial/include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/makefile
0,0 → 1,43
 
dirs := $(filter-out CVS cvs first makefile, $(wildcard *))
p_all := $(addprefix prefixall_, $(dirs))
p_install := $(addprefix prefixinstall_, $(dirs))
p_clean := $(addprefix prefixclean_, $(dirs))
p_cleanall := $(addprefix prefixcleanall_, $(dirs))
p_depend := $(addprefix prefixdepend_, $(dirs))
 
 
.PHONY: all install clean cleanall depend
 
install: $(p_install)
 
all: $(p_all)
 
clean: $(p_clean)
 
cleanall: $(p_cleanall)
 
depend: $(p_depend)
 
prefixinstall_%:
make -C $* install
 
prefixall_%:
make -C $* all
 
prefixclean_%:
make -C $* clean
 
prefixcleanall_%:
make -C $* cleanall
 
prefixdepend_%:
make -C $* depend
 
 
 
 
 
 
 
 
/shark/branches/xen/ports/zlib/Makefile
File deleted
/shark/branches/xen/ports/zlib/makefile
0,0 → 1,22
# The Frame Buffer Device
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = zlib
 
OBJS_PATH = $(BASE)/ports/zlib
 
ZLIB = adler32.o compress.o crc32.o deflate.o gzio.o\
infblock.o infcodes.o inffast.o inflate.o inftrees.o\
infutil.o trees.o uncompr.o zutil.o
 
OBJS = $(ZLIB)
 
C_OPT += -I../../../drivers/linuxc26/include -I./include -I. -I..
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/mesa/Makefile
File deleted
/shark/branches/xen/ports/mesa/src-glut.dos/Makefile
File deleted
/shark/branches/xen/ports/mesa/src-glut.dos/makefile
0,0 → 1,21
# The Frame Buffer Device
 
ifndef BASE
BASE=../../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = glut
 
OBJS_PATH = $(BASE)/ports/mesa/src-glut.dos/
 
GLUT = bitmap.o color.o globals.o models.o teapot.o\
window.o callback.o init.o menu.o overlay.o state.o
 
OBJS = $(GLUT)
 
C_OPT += -I../../../drivers/linuxc26/include -I../include -I. -I..
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/mesa/src-glu/Makefile
File deleted
/shark/branches/xen/ports/mesa/src-glu/makefile
0,0 → 1,21
# The Frame Buffer Device
 
ifndef BASE
BASE=../../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = glu
 
OBJS_PATH = $(BASE)/ports/mesa/src-glu/
 
GLU = glu.o mipmap.o nurbs.o nurbsutl.o project.o tess.o\
nurbscrv.o nurbssrf.o polytest.o quadric.o tesselat.o
 
OBJS = $(GLU)
 
C_OPT += -I../../../drivers/linuxc26/include -I../include -I. -I..
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/mesa/src/Makefile
File deleted
/shark/branches/xen/ports/mesa/src/makefile
0,0 → 1,50
# The Frame Buffer Device
 
ifndef BASE
BASE=../../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = osmesa
 
OBJS_PATH = $(BASE)/ports/mesa/src/
 
OSMESA = accum.o api_arrayelt.o api_eval.o api_loopback.o api_noop.o api_validate.o\
attrib.o blend.o buffers.o clip.o colortab.o context.o convolve.o\
debug.o depth.o dispatch.o dlist.o drawpix.o enable.o enums.o eval.o\
extensions.o feedback.o fog.o get.o glapi.o glthread.o hash.o hint.o\
histogram.o image.o light.o lines.o matrix.o mmath.o pixel.o\
points.o polygon.o rastpos.o state.o stencil.o texcompress.o texformat.o\
teximage.o texobj.o texstate.o texstore.o texutil.o varray.o vpexec.o\
vpparse.o vpstate.o vtxfmt.o ./array_cache/ac_context.o\
./array_cache/ac_import.o ./swrast/s_aaline.o ./swrast/s_aatriangle.o\
./swrast/s_accum.o ./swrast/s_alphabuf.o ./swrast/s_alpha.o ./swrast/s_bitmap.o\
./swrast/s_blend.o ./swrast/s_buffers.o ./swrast/s_context.o ./swrast/s_copypix.o\
./swrast/s_depth.o ./swrast/s_drawpix.o ./swrast/s_feedback.o ./swrast/s_fog.o\
./swrast/s_histogram.o ./swrast/s_imaging.o ./swrast/s_lines.o ./swrast/s_logic.o\
./swrast/s_masking.o ./swrast/s_pixeltex.o ./swrast/s_points.o ./swrast/s_readpix.o\
./swrast/s_span.o ./swrast/s_stencil.o ./swrast/s_texstore.o ./swrast/s_texture.o\
./swrast/s_triangle.o ./swrast/s_zoom.o ./swrastst/ss_context.o\
./swrastst/ss_triangle.o ./swrastst/ss_vb.o ./tnl/t_array_api.o\
./tnl/t_import_array.o ./tnl/t_context.o ./tnl/t_eval_api.o ./tnl/t_imm_alloc.o\
./tnl/t_imm_api.o ./tnl/t_imm_debug.o ./tnl/t_imm_dlist.o ./tnl/t_imm_elt.o\
./tnl/t_imm_eval.o ./tnl/t_imm_exec.o ./tnl/t_imm_fixup.o ./tnl/t_pipeline.o\
./tnl/t_vb_fog.o ./tnl/t_vb_light.o\
./tnl/t_vb_normals.o ./tnl/t_vb_points.o ./tnl/t_vb_program.o ./tnl/t_vb_render.o\
./tnl/t_vb_gentex.o ./tnl/t_vb_texmat.o ./tnl/t_vb_vertex.o\
./math/m_clip_debug.o ./math/m_norm_debug.o\
./math/m_xform_debug.o ./math/m_eval.o ./math/m_matrix.o ./math/m_translate.o\
./math/m_vector.o ./math/m_xform.o\
./x86/asm_common_x86.o ./x86/common_x86.o ./x86/glapi_x86.o\
./x86/mmx_blend.o ./x86/x86.o ./x86/x86_cliptest.o ./x86/xform2_x86.o\
./x86/xform3_x86.o ./x86/xform4_x86.o ./osmesa/osmesa.o imports.o \
OBJS = $(OSMESA)
 
C_OPT += -I../../../drivers/linuxc26/include -I../include -I. -I..
 
ASM_OPT += -I../../../drivers/linuxc26/include/asm -I../include -I. -I..
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/ports/mesa/makefile
0,0 → 1,43
 
dirs := $(filter-out CVS cvs makefile readme include, $(wildcard *))
p_all := $(addprefix prefixall_, $(dirs))
p_install := $(addprefix prefixinstall_, $(dirs))
p_clean := $(addprefix prefixclean_, $(dirs))
pcleanall := $(addprefix prefixcleanall_, $(dirs))
pdepend := $(addprefix prefixdepend_, $(dirs))
 
 
.PHONY: all install clean cleanall depend
 
install: $(p_install)
 
all: $(p_all)
 
clean: $(p_clean)
 
cleanall: $(p_cleanall)
 
depend: $(pdepend)
 
prefixinstall_%:
make -C $* install
 
prefixall_%:
make -C $* all
 
prefixclean_%:
make -C $* clean
 
prefixcleanall_%:
make -C $* cleanall
 
prefixdepend_%:
make -C $* depend
 
 
 
 
 
 
 
 
/shark/branches/xen/ports/didma/Makefile
File deleted
/shark/branches/xen/ports/didma/makefile
0,0 → 1,18
# The DIDMA library
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = didma
 
OBJS_PATH = $(BASE)/ports/didma
 
# Object files
OTHERINCL=-I ./include
OBJS = didma.o
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/fs/Makefile
File deleted
/shark/branches/xen/fs/msdos/Makefile
File deleted
/shark/branches/xen/fs/msdos/makefile
0,0 → 1,26
#
# The MSDOS (FAT16) sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = fs
 
OBJS_PATH = $(BASE)/fs/msdos
 
OBJS= msdos_i.o \
msdos_f.o \
msdos_s.o \
msdos_d.o
 
#C_DEF += -D_PARANOIA
C_DEF += -D_PARANOIA -DNDEBUG
 
C_MAC += -imacros $(BASE)/include/fs/fsconf.h
C_INC += -I..
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/fs/makefile
0,0 → 1,72
#
# The filesystems library
#
 
ifndef BASE
BASE=..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = fs
 
OBJS_PATH = $(BASE)/fs
 
SRCS= access.c \
chdir.c \
close.c \
closedir.c \
dcache.c \
dentry.c \
fcntl.c \
fdevice.c \
file.c \
fs.c \
fstat.c \
getcwd.c \
getumask.c \
inode.c \
lseek.c \
mount.c \
open.c \
opendir.c \
read.c \
readdir.c \
rwlock.c \
rtc.c \
stat.c \
super.c \
truncate.c \
umask.c \
umount.c \
unlink.c \
utime.c \
write.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
# if you want compile:
#
# without the paranoia checks (checks for data structure status/overwriting)
# compile without the -D_PARANOIA
#
# without the internals checks (made with assertions) use the
# -DNDEBUG command line switch
#
 
#for debug
#C_DEF += -D_PARANOIA
 
# for NO debug
C_DEF += -D_PARANOIA -DNDEBUG
 
C_MAC += -imacros $(BASE)/include/fs/fsconf.h
 
OTHERINCL += -I.
 
install:: all
all clean cleanall depend::
make -C msdos $@
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/modules/Makefile
File deleted
/shark/branches/xen/modules/rrsoft/Makefile
File deleted
/shark/branches/xen/modules/rrsoft/subdir.mk
0,0 → 1,0
OBJS += rrsoft/rrsoft.o
/shark/branches/xen/modules/ps/Makefile
File deleted
/shark/branches/xen/modules/ps/subdir.mk
0,0 → 1,0
OBJS += ps/ps.o
/shark/branches/xen/modules/rr/Makefile
File deleted
/shark/branches/xen/modules/rr/subdir.mk
0,0 → 1,0
OBJS += rr/rr.o
/shark/branches/xen/modules/intdrive/Makefile
File deleted
/shark/branches/xen/modules/intdrive/subdir.mk
0,0 → 1,0
OBJS += intdrive/intdrive.o intdrive/inttask.o
/shark/branches/xen/modules/sem/Makefile
File deleted
/shark/branches/xen/modules/sem/subdir.mk
0,0 → 1,0
OBJS += sem/sem.o
/shark/branches/xen/modules/ss/Makefile
File deleted
/shark/branches/xen/modules/ss/subdir.mk
0,0 → 1,0
OBJS += ss/ss.o
/shark/branches/xen/modules/tbs/Makefile
File deleted
/shark/branches/xen/modules/tbs/subdir.mk
0,0 → 1,0
OBJS += tbs/tbs.o
/shark/branches/xen/modules/dummy/Makefile
File deleted
/shark/branches/xen/modules/dummy/subdir.mk
0,0 → 1,0
OBJS += dummy/dummy.o
/shark/branches/xen/modules/nop/Makefile
File deleted
/shark/branches/xen/modules/nop/subdir.mk
0,0 → 1,0
OBJS += nop/nop.o
/shark/branches/xen/modules/npp/Makefile
File deleted
/shark/branches/xen/modules/npp/subdir.mk
0,0 → 1,0
OBJS += npp/npp.o
/shark/branches/xen/modules/edf/Makefile
File deleted
/shark/branches/xen/modules/edf/subdir.mk
0,0 → 1,0
OBJS += edf/edf.o
/shark/branches/xen/modules/pc/Makefile
File deleted
/shark/branches/xen/modules/pc/subdir.mk
0,0 → 1,0
OBJS += pc/pc.o
/shark/branches/xen/modules/posix/Makefile
File deleted
/shark/branches/xen/modules/posix/subdir.mk
0,0 → 1,0
OBJS += posix/posix.o
/shark/branches/xen/modules/hartport/Makefile
File deleted
/shark/branches/xen/modules/hartport/subdir.mk
0,0 → 1,0
OBJS += hartport/hartport.o
/shark/branches/xen/modules/bd_edf/Makefile
File deleted
/shark/branches/xen/modules/bd_edf/subdir.mk
0,0 → 1,0
OBJS += bd_edf/bd_edf.o
/shark/branches/xen/modules/srp/Makefile
File deleted
/shark/branches/xen/modules/srp/subdir.mk
0,0 → 1,0
OBJS += srp/srp.o
/shark/branches/xen/modules/rr2/Makefile
File deleted
/shark/branches/xen/modules/rr2/subdir.mk
0,0 → 1,0
OBJS += rr2/rr2.o
/shark/branches/xen/modules/hardcbs/Makefile
File deleted
/shark/branches/xen/modules/hardcbs/subdir.mk
0,0 → 1,0
OBJS += hardcbs/hardcbs.o
/shark/branches/xen/modules/ds/Makefile
File deleted
/shark/branches/xen/modules/ds/subdir.mk
0,0 → 1,0
OBJS += ds/ds.o
/shark/branches/xen/modules/cbs/Makefile
File deleted
/shark/branches/xen/modules/cbs/subdir.mk
0,0 → 1,0
OBJS += cbs/cbs.o
/shark/branches/xen/modules/cabs/Makefile
File deleted
/shark/branches/xen/modules/cabs/subdir.mk
0,0 → 1,0
OBJS += cabs/cabs.o
/shark/branches/xen/modules/pi/Makefile
File deleted
/shark/branches/xen/modules/pi/subdir.mk
0,0 → 1,0
OBJS += pi/pi.o
/shark/branches/xen/modules/nopm/Makefile
File deleted
/shark/branches/xen/modules/nopm/subdir.mk
0,0 → 1,0
OBJS += nopm/nopm.o
/shark/branches/xen/modules/bd_pscan/Makefile
File deleted
/shark/branches/xen/modules/bd_pscan/subdir.mk
0,0 → 1,0
OBJS += bd_pscan/bd_pscan.o
/shark/branches/xen/modules/rm/Makefile
File deleted
/shark/branches/xen/modules/rm/subdir.mk
0,0 → 1,0
OBJS += rm/rm.o
/shark/branches/xen/modules/elastic/Makefile
File deleted
/shark/branches/xen/modules/elastic/subdir.mk
0,0 → 1,0
OBJS += elastic/elastic.o
/shark/branches/xen/modules/makefile
0,0 → 1,16
ifndef BASE
BASE=..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = modules
 
OBJS_PATH = $(BASE)/modules
 
include $(wildcard */subdir.mk)
 
OTHERINCL += -I$(BASE)/modules
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/oslib/Makefile
File deleted
/shark/branches/xen/oslib/kl/Makefile
File deleted
/shark/branches/xen/oslib/kl/makefile
0,0 → 1,72
# Standard library for X/COFF kernel
# Makefile for GNU MAKE & GCC 2.8.0
 
#
# Standard path
#
 
ifndef BASE
BASE = ..
BASEDOS = ..
endif
 
include $(BASE)/config.mk
 
C_OPT += -D__VIRCSW__
ASM_OPT += -D__VIRCSW__
INCL += -I$(BASE)/../tracer/include
 
#C_OPT += -DPROFILE
#ASM_OPT += -DPROFILE
KL_C_OBJ = mem.o \
cxsw-2.o \
init.o \
time.o \
aspace.o \
intevt.o \
event.o \
event1.o \
advtimer.o
 
KL_OBJ = $(KL_C_OBJ) abort.o timeint.o
 
#
# Ok! Finally the dependency rules!
# We do not mess with automatic depencencies here!!
#
 
.PHONY : all clean info install
 
info :
@echo "OSLib Makefile"
@echo "Chose: all, install, clean"
 
all : libkl.a
 
install : libkl.a $(LIB_DIR)
$(CP) libkl.a $(LIB_DIR)
 
$(LIB_DIR) :
$(MKDIR) $(LIB_DIR)
clean :
$(RM) *.o
$(RM) *.err
$(RM) libkl.a
 
allclean : clean
echo # Kernel Dependency file > deps
$(RM) $(LIB_PATH)libkl.a
 
deps :$(KL_C_OBJ:.o=.c)
$(CC) $(C_OPT) $(KLINCL) -M $(KL_C_OBJ:.o=.c) > deps
 
libkl.a : $(KL_OBJ)
$(AR) rs libkl.a $(KL_OBJ)
 
etest: estub.o event.o
gcc estub.o event.o -o etest
 
ifeq (deps,$(wildcard deps))
include deps
endif
/shark/branches/xen/oslib/ll/i386/x-bios.h
35,28 → 35,28
 
typedef union x_regs16 {
struct {
WORD ax;
WORD bx;
WORD cx;
WORD dx;
WORD si;
WORD di;
WORD cflag;
WORD _pad;
} x;
WORD ax __attribute__ ((packed));
WORD bx __attribute__ ((packed));
WORD cx __attribute__ ((packed));
WORD dx __attribute__ ((packed));
WORD si __attribute__ ((packed));
WORD di __attribute__ ((packed));
WORD cflag __attribute__ ((packed));
WORD _pad __attribute__ ((packed));
} x __attribute__ ((packed));
struct {
BYTE al,ah;
BYTE bl,bh;
BYTE cl,ch;
BYTE dl,dh;
} h;
BYTE al,ah __attribute__ ((packed));
BYTE bl,bh __attribute__ ((packed));
BYTE cl,ch __attribute__ ((packed));
BYTE dl,dh __attribute__ ((packed));
} h __attribute__ ((packed));
} X_REGS16;
 
typedef struct x_sregs16 {
WORD es;
WORD cs;
WORD ss;
WORD ds;
WORD es __attribute__ ((packed));
WORD cs __attribute__ ((packed));
WORD ss __attribute__ ((packed));
WORD ds __attribute__ ((packed));
} X_SREGS16;
 
typedef struct {
/shark/branches/xen/oslib/ll/i386/hw-data.h
62,20 → 62,20
/* Hardware based types (Self explanatory) */
 
typedef struct gate {
WORD offset_lo;
WORD sel;
BYTE dword_cnt;
BYTE access;
WORD offset_hi;
WORD offset_lo __attribute__ ((packed));
WORD sel __attribute__ ((packed));
BYTE dword_cnt __attribute__ ((packed));
BYTE access __attribute__ ((packed));
WORD offset_hi __attribute__ ((packed));
} GATE;
 
typedef struct descriptor {
WORD lim_lo;
WORD base_lo;
BYTE base_med;
BYTE access;
BYTE gran;
BYTE base_hi;
WORD lim_lo __attribute__ ((packed));
WORD base_lo __attribute__ ((packed));
BYTE base_med __attribute__ ((packed));
BYTE access __attribute__ ((packed));
BYTE gran __attribute__ ((packed));
BYTE base_hi __attribute__ ((packed));
} DESCRIPTOR;
 
/* A LDT/GDT entry could be a gate or a selector */
82,8 → 82,8
/* An IDT entry could be a gate only */
 
union gdt_entry {
DESCRIPTOR d;
GATE g;
DESCRIPTOR d __attribute__ ((packed));
GATE g __attribute__ ((packed));
};
 
struct registers {
161,46 → 161,46
 
 
typedef struct tss {
WORD back_link;
WORD _fill0;
DWORD esp0;
WORD ss0;
WORD _fill1;
DWORD esp1;
WORD ss1;
WORD _fill2;
DWORD esp2;
WORD ss2;
WORD _fill3;
DWORD cr3;
DWORD eip;
DWORD eflags;
DWORD eax;
DWORD ecx;
DWORD edx;
DWORD ebx;
DWORD esp;
DWORD ebp;
DWORD esi;
DWORD edi;
WORD es;
WORD _fill5;
WORD cs;
WORD _fill6;
WORD ss;
WORD _fill7;
WORD ds;
WORD _fill8;
WORD fs;
WORD _fill9;
WORD gs;
WORD _fill10;
WORD ldt;
WORD _fill11;
WORD trap;
WORD io_base;
DWORD control;
BYTE ctx_FPU[FPU_CONTEXT_SIZE];
WORD back_link __attribute__ ((packed));
WORD _fill0 __attribute__ ((packed));
DWORD esp0 __attribute__ ((packed));
WORD ss0 __attribute__ ((packed));
WORD _fill1 __attribute__ ((packed));
DWORD esp1 __attribute__ ((packed));
WORD ss1 __attribute__ ((packed));
WORD _fill2 __attribute__ ((packed));
DWORD esp2 __attribute__ ((packed));
WORD ss2 __attribute__ ((packed));
WORD _fill3 __attribute__ ((packed));
DWORD cr3 __attribute__ ((packed));
DWORD eip __attribute__ ((packed));
DWORD eflags __attribute__ ((packed));
DWORD eax __attribute__ ((packed));
DWORD ecx __attribute__ ((packed));
DWORD edx __attribute__ ((packed));
DWORD ebx __attribute__ ((packed));
DWORD esp __attribute__ ((packed));
DWORD ebp __attribute__ ((packed));
DWORD esi __attribute__ ((packed));
DWORD edi __attribute__ ((packed));
WORD es __attribute__ ((packed));
WORD _fill5 __attribute__ ((packed));
WORD cs __attribute__ ((packed));
WORD _fill6 __attribute__ ((packed));
WORD ss __attribute__ ((packed));
WORD _fill7 __attribute__ ((packed));
WORD ds __attribute__ ((packed));
WORD _fill8 __attribute__ ((packed));
WORD fs __attribute__ ((packed));
WORD _fill9 __attribute__ ((packed));
WORD gs __attribute__ ((packed));
WORD _fill10 __attribute__ ((packed));
WORD ldt __attribute__ ((packed));
WORD _fill11 __attribute__ ((packed));
WORD trap __attribute__ ((packed));
WORD io_base __attribute__ ((packed));
DWORD control __attribute__ ((packed));
BYTE ctx_FPU[FPU_CONTEXT_SIZE] __attribute__ ((packed));
} TSS;
 
/* Irq services specifications */
/shark/branches/xen/oslib/libcons/Makefile
File deleted
/shark/branches/xen/oslib/libcons/makefile
0,0 → 1,53
# Standard library for X/COFF applications
# Makefile for GNU MAKE & GCC 2.8.0
 
ifndef BASE
BASE = ..
BASEDOS = ..
endif
 
include $(BASE)/config.mk
 
#C_OPT += -DPROFILE
#ASM_OPT += -DPROFILE
 
OBJS = cons1.o \
cons2.o \
cprintf.o \
message.o
 
.PHONY : clean allclean info install
 
info :
@echo "OSLib Makefile"
@echo "Chose: all, install, clean"
all : libcons.a
 
install : libcons.a $(LIB_DIR)
$(CP) libcons.a $(LIB_DIR)
 
$(LIB_DIR) :
$(MKDIR) $(LIB_DIR)
 
clean :
$(RM) *.o
$(RM) *.err
$(RM) libcons.a
 
allclean :
echo # XTN Library dependencies > deps
$(RM) $(LIB_PATH)libcons.a
 
deps: $(OBJS:.o=.c)
$(CC) $(C_OPT) -M $(OBJS:.o=.c) > deps
 
#
# The library!!
#
libcons.a : $(OBJS)
$(AR) rs libcons.a $(OBJS)
 
ifeq (deps,$(wildcard deps))
include deps
endif
/shark/branches/xen/oslib/examples/Makefile
File deleted
/shark/branches/xen/oslib/examples/makefile
0,0 → 1,35
# Standard library for X/COFF applications
# Makefile for GNU MAKE & GCC 2.8.0
 
ifndef BASE
BASE = ..
BASEDOS = ..
endif
 
include $(BASE)/config.mk
 
all: mbdemo.xtn timetest.xtn eventdem.xtn vmdemo.xtn \
ctxswdem.xtn scheddem.xtn cpudemo.xtn biosdemo.xtn \
asdemo.xtn kerndem.xtn
 
%.ftp: %.xtn
ncftpput -u ll -p example thorin . $<
%.flp: %.xtn
mcopy $< a:
 
clean :
$(RM) *.o
$(RM) *.err
$(RM) *.xtn
 
#
# Demo
#
 
kerndem.xtn: syscalls.o $(LIB_PATH)/libhc.a $(LIB_PATH)/libhm.a $(LIB_PATH)/libhx.a $(LIB_PATH)/libkl.a
$(LD) $(LINK_OPT) $(LIB_PATH)x0.o syscalls.o --start-group -lhc -lhm -lhx -lkl -lcons --end-group -o $@
 
 
%.xtn : %.o $(LIB_PATH)/libhc.a $(LIB_PATH)/libhm.a $(LIB_PATH)/libhx.a $(LIB_PATH)/libkl.a
$(LD) $(LINK_OPT) $(LIB_PATH)x0.o $< --start-group -lhc -lhm -lhx -lkl -lcons --end-group -o $@
# $(LD) $(LINK_OPT) $(LIB_PATH)x0.o $< --start-group -lhc -lhx -lkl --end-group -o $@
/shark/branches/xen/oslib/xlib/Makefile
File deleted
/shark/branches/xen/oslib/xlib/makefile
0,0 → 1,76
# Standard library for X/COFF applications
# Makefile for GNU MAKE & GCC 2.8.0
 
ifndef BASE
BASE = ..
BASEDOS = ..
endif
 
include $(BASE)/config.mk
 
C_OPT += -D__VIRCSW__
ASM_OPT += -D__VIRCSW__
INCL += -I$(BASE)/../tracer/include
 
#C_OPT += -DPROFILE
#ASM_OPT += -DPROFILE
 
COMMON_OBJS = xinfo.o \
x1.o \
xsystab.o \
xconv.o \
xdosf.o \
xdosm.o \
ccpu.o \
fpu.o \
irq.o \
ctxsw.o \
xinit.o \
idtinit.o \
vm86.o \
xbios.o
 
GNU_S_OBJS = xsys0.o cpu2.o exc.o ctx.o mem.o
#GNU_C_OBJS = gnucomp.o
 
OBJS = $(GNU_S_OBJS) $(GNU_C_OBJS) $(COMMON_OBJS)
 
.PHONY : clean allclean info install
 
info :
@echo "OSLib Makefile"
@echo "Chose: all, install, clean"
all : libhx.a x0.o
 
libs : libhx.a
 
install : libhx.a x0.o $(LIB_DIR)
$(CP) libhx.a $(LIB_DIR)
$(CP) x0.o $(LIB_DIR)
 
$(LIB_DIR) :
$(MKDIR) $(LIB_DIR)
 
clean :
$(RM) *.o
$(RM) *.err
$(RM) libhx.a
 
allclean :
echo # XTN Library dependencies > deps
$(RM) $(LIB_PATH)libhx.a
$(RM) $(LIB_PATH)x0.o
 
deps: $(COMMON_OBJS:.o=.c) $(patsubst %.o,gnu/%.c,$(GNU_C_OBJS))
$(CC) $(C_OPT) -M $(COMMON_OBJS:.o=.c) $(patsubst %.o,gnu/%.c,$(GNU_C_OBJS)) > deps
 
#
# The library!!
#
libhx.a : $(OBJS)
$(AR) rs libhx.a $(OBJS)
 
ifeq (deps,$(wildcard deps))
include deps
endif
/shark/branches/xen/oslib/makefile
0,0 → 1,20
all:
make -C xlib all
make -C libcons all
make -C kl all
 
install:
make -C xlib install
make -C libcons install
make -C kl install
 
clean:
make -C xlib clean
make -C libcons clean
make -C kl clean
 
allclean cleanall: clean
make -C lib allclean
 
depend:
 
/shark/branches/xen/oslib/lib/Makefile
File deleted
/shark/branches/xen/oslib/lib/makefile
0,0 → 1,18
#
# Standard path
#
 
ifndef BASE
BASE = ..
BASEDOS = ..
endif
 
include $(BASE)/config.mk
.PHONY : all allclean
 
all:
 
allclean:
$(RM) lib*.a
$(RM) x0.o
/shark/branches/xen/oslib/docs/Makefile
File deleted
/shark/branches/xen/oslib/docs/makefile
0,0 → 1,19
all: man.ps
 
oslib.dvi: oslib.tex
latex oslib
latex oslib
 
man.ps: oslib.dvi
dvips oslib -o man.ps
 
clean :
rm -f *.log
rm -f *~
rm -f *.aux
rm -f *.dvi
rm -f man.ps
rm -f *.ind
rm -f *.idx
rm -f *.ilg
rm -f *.toc
/shark/branches/xen/libc/Makefile
File deleted
/shark/branches/xen/libc/stdio/Makefile
File deleted
/shark/branches/xen/libc/stdio/makefile
0,0 → 1,88
#
# The stdio sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/stdio
 
#perror.c
# already into kernel
#tmpfile.c
# do not work
# sprintf.c vsprintf.c sscanf.c vsscanf.c
# into the ll starte
 
SRCS= asprintf.c \
clrerr.c \
fclose.c \
fdopen.c \
feof.c \
ferror.c \
fflush.c \
fgetc.c \
fgetln.c \
fgetpos.c \
fgets.c \
fileno.c \
findfp.c \
flags.c \
fopen.c \
fprintf.c \
fpurge.c \
fputc.c \
fputs.c \
fread.c \
freopen.c \
fscanf.c \
fseek.c \
fsetpos.c \
ftell.c \
funopen.c \
fvwrite.c \
fwalk.c \
fwrite.c \
getc.c \
getchar.c \
gets.c \
getw.c \
makebuf.c \
mktemp.c \
printf.c \
putc.c \
putchar.c \
puts.c \
putw.c \
refill.c \
remove.c \
rewind.c \
rget.c \
scanf.c \
setbuf.c \
setbuffe.c \
setvbuf.c \
snprintf.c \
stdio.c \
tempnam.c \
tmpnam.c \
ungetc.c \
vasprint.c \
vfprintf.c \
vfscanf.c \
vprintf.c \
vscanf.c \
vsnprint.c \
wbuf.c \
wsetup.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
C_DEF += -D_THREAD_SAFE
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/string/Makefile
File deleted
/shark/branches/xen/libc/string/makefile
0,0 → 1,21
#
# The stdlib sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/stdlib
 
SRCS= strcasecmp.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
C_DEF += -D_THREAD_SAFE -Di386
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/arch/x86/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/ioformat/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/stdlib/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/libm/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/libm/msun/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/libm/msun/i387/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/libm/machine/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/libm/makefile
0,0 → 1,94
# Standard library for X/COFF kernel
# Makefile for GNU MAKE & GCC 2.8.0
 
#
# Standard path
#
 
ifndef BASE
BASE = ../../../../oslib/
BASEDOS = ..
endif
 
include $(BASE)/config.mk
 
C_OPT += $(INCL)/ll -I.
C_OPT += -Dlint -Wno-uninitialized -Wno-parentheses
ASM_OPT += -Dlint -I.
 
C_OPT += -Dwrite=glue_write
 
 
 
SRCDIRS = msun/src msun/i387 machine
space := $(empty) $(empty)
 
vpath %.s msun/i387
vpath %.c msun/src machine
 
# First find a list of every file that might possibly be a source file,
# so we only have to scan the source directories once.
FILES := $(foreach DIR,$(SRCDIRS),$(wildcard $(DIR)/*))
 
 
# C source files
CFILES := $(filter %.c,$(FILES))
SFILES := $(filter %.s,$(FILES))
 
 
# The generated object files have the same prefix names as the source files,
# except they live in the current (object) directory.
OBJFILES += $(patsubst %.s,%.o,$(notdir $(SFILES)))
OBJFILES += $(patsubst %.c,%.o,$(notdir $(CFILES)))
 
# This is to eliminate duplicate files,
# which might appear when files are being overridden.
OBJFILES := $(sort $(OBJFILES))
 
OBJS = $(STUB_OBJS) $(OBJFILES)
 
#
# Ok! Finally the dependency rules!
# We do not mess with automatic depencencies here!!
#
 
.PHONY : all clean info install
 
.SUFFIXES:
 
info :
@echo "OSLib Makefile"
@echo "Chose: all, install, clean"
 
all : libhm.a
 
install : libhm.a $(LIB_DIR)
$(CP) libhm.a $(LIB_DIR)
 
$(LIB_DIR) :
$(MKDIR) $(LIB_DIR)
clean :
$(RM) *.o
$(RM) *.err
$(RM) libhm.a
 
cleanall : clean
echo # Kernel Dependency file > deps
$(RM) $(LIB_PATH)libhm.a
 
#deps : $(OBJS:.o=.c)
deps : makefile $(CFILES)
$(CC) $(C_OPT) -M $(CFILES) > deps
 
libhm.a : $(OBJS)
$(AR) rs libhm.a $(OBJS)
 
deb:
echo $(CFILES)
 
%.s:%.c
 
ifeq (deps,$(wildcard deps))
include deps
endif
/shark/branches/xen/libc/arch/x86/string/Makefile
File deleted
/shark/branches/xen/libc/arch/x86/makefile
0,0 → 1,96
# Standard library for X/COFF applications
# Makefile for GNU MAKE & GCC 2.8.0
 
# Standard library for X/COFF applications
# Makefile for GNU MAKE & GCC 2.8.0
 
ifndef BASE
BASE = ../../../oslib/
BASEDOS = ..
endif
 
include $(BASE)/config.mk
 
#C_OPT += -DPROFILE
#ASM_OPT += -DPROFILE
 
COMMON_OBJS = reboot.o
 
STRING_OBJS = strncat.o \
strrchr.o \
strstr.o \
string.o \
special.o \
strnum.o \
strbase.o
 
IO_OBJS = ecvt.o \
fcvt.o \
gcvt.o \
sprintf.o \
ksprintf.o \
sscanf.o \
ucvt.o
 
STD_OBJS = random.o \
stdlib.o \
strtod.o \
strtoi.o \
strtol.o \
strtou.o \
strtoul.o
 
GNU_S_OBJS = modf.o
 
GNU_C_OBJS =
 
OBJS = $(GNU_S_OBJS) $(GNU_C_OBJS) $(COMMON_OBJS) $(STRING_OBJS) $(IO_OBJS) $(STD_OBJS)
 
vpath %.c string stdlib ioformat
#VPATH := $(subst $(space),:,$(SRCDIRS) $(MOSTLY_SRCDIRS))
 
.PHONY : clean allclean info
 
info :
@echo "OSLib Makefile"
@echo "Chose: all, install, clean"
 
all : libhc.a
make -C libm $@
 
libs : libhc.a
make -C libm $@
 
install : libhc.a $(LIB_DIR)
make -C libm $@
$(CP) libhc.a $(LIB_DIR)
 
$(LIB_DIR) :
$(MKDIR) $(LIB_DIR)
clean :
make -C libm $@
$(RM) *.o
$(RM) *.err
$(RM) libhc.a
 
cleanall :
make -C libm $@
echo # XTN Library dependencies > deps
$(RM) $(LIB_PATH)libhc.a
 
deps: $(COMMON_OBJS:.o=.c) $(patsubst %.o,string/%.c,$(STRING_OBJS)) $(patsubst %.o,ioformat/%.c,$(IO_OBJS)) $(patsubst %.o,stdlib/%.c,$(STD_OBJS))
$(CC) -E $(C_OPT) -M $(COMMON_OBJS:.o=.c) \
$(patsubst %.o,string/%.c,$(STRING_OBJS)) \
$(patsubst %.o,ioformat/%.c,$(IO_OBJS)) \
$(patsubst %.o,stdlib/%.c,$(STD_OBJS)) > deps
 
#
# The library!!
#
libhc.a : $(OBJS)
$(AR) rs libhc.a $(OBJS)
 
ifeq (deps,$(wildcard deps))
include deps
endif
/shark/branches/xen/libc/makefile
0,0 → 1,99
#
# The standard lib C
#
 
ifndef BASE
BASE=..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc
 
SRCS= init.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
install: all $(LIB_PATH)/lib$(LIBRARY).a
make -C arch/$(ARCH) $@
 
clean cleanall depend::
make -C libio $@
make -C quad $@
make -C stdio $@
make -C stdlib $@
make -C assert $@
make -C unistd $@
make -C utsname $@
make -C ctype $@
make -C string $@
make -C getopt $@
make -C arch/$(ARCH) $@
 
 
#
# Dependency rules used to make a library
# derived directly from /config/lib.mak
#
 
.PHONY: all install clean cleanall depend
 
#
 
all: $(OBJS)
make -C libio $@
make -C quad $@
make -C stdio $@
make -C stdlib $@
make -C assert $@
make -C unistd $@
make -C utsname $@
make -C ctype $@
make -C string $@
make -C getopt $@
make -C arch/$(ARCH) $@
$(AR) rs lib$(LIBRARY).a $(OBJS)
 
clean::
make -C arch/$(ARCH) $@
$(RM) *.o
$(RM) *.err
$(RM) lib$(LIBRARY).a
 
cleanall:: clean
$(RM) deps
$(RM) *.bak
$(RM) *.~
$(RM) *.?~
$(RM) *.??~
$(RM) $(LIBRARYPATHNAME)
 
depend::
$(CC) $(C_OPT) -M $(OBJS:.o=.c) > deps
 
deps:
$(CC) $(C_OPT) -M $(OBJS:.o=.c) > deps
 
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),cleanall)
include deps
endif
endif
 
# Common rules
%.o : %.s
$(REDIR) $(CC) $(ASM_OPT) $(ASM_OUTPUT) -c $<
%.o : %.c
$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -c $<
%.s : %.c
$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -S $<
%.o : %.cpp
$(REDIR) $(CPP) $(C_OPT) $(C_OUTPUT) -c $<
 
$(LIB_PATH)/lib$(LIBRARY).a: lib$(LIBRARY).a copylibrary
 
copylibrary:
$(CP) lib$(LIBRARY).a $(LIBRARYDIR)
 
/shark/branches/xen/libc/libio/Makefile
File deleted
/shark/branches/xen/libc/libio/makefile
0,0 → 1,32
#
# The I/O sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/libio
 
SRCS= close.c \
dir.c \
dup.c \
dup2.c \
getcwd.c \
getumask.c \
getwd.c \
lseek.c \
read.c \
truncate.c \
umask.c \
unlink.c \
wrappers.c \
write.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/stdlib/Makefile
File deleted
/shark/branches/xen/libc/stdlib/makefile
0,0 → 1,32
#
# The stdlib sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/stdlib
 
SRCS= abort.c \
atexit.c \
calloc.c \
free.c \
malloc.c \
realloc.c \
strtod.c \
strtol.c \
strtoul.c \
qsort.c \
bsearch.c
 
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
C_DEF += -D_THREAD_SAFE -Di386
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/getopt/Makefile
File deleted
/shark/branches/xen/libc/getopt/makefile
0,0 → 1,21
#
# The stdlib sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/stdlib
 
SRCS= getopt.c getopt1.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
C_DEF += -D_THREAD_SAFE -Di386
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/assert/Makefile
File deleted
/shark/branches/xen/libc/assert/makefile
0,0 → 1,19
#
# The assert sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/assert
 
SRCS= assert.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/ctype/Makefile
File deleted
/shark/branches/xen/libc/ctype/makefile
0,0 → 1,19
#
# The ctype sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/ctype
 
SRCS= ctype.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/unistd/Makefile
File deleted
/shark/branches/xen/libc/unistd/makefile
0,0 → 1,21
#
# The unistd sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/unistd
 
SRCS= fpathcon.c \
pathconf.c \
sysconf.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/libc/quad/Makefile
File deleted
/shark/branches/xen/libc/quad/makefile
0,0 → 1,47
#
# The quad (64bits integer aritmetics) sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/quad
 
SRCS= adddi3.c \
anddi3.c \
ashldi3.c \
ashrdi3.c \
cmpdi2.c \
divdi3.c \
fixdfdi.c \
fixsfdi.c \
fixunsdf.c \
fixunssf.c \
floatdid.c \
floatdis.c \
floatuns.c \
iordi3.c \
lshldi3.c \
lshrdi3.c \
moddi3.c \
muldi3.c \
negdi2.c \
notdi2.c \
qdivrem.c \
subdi3.c \
ucmpdi2.c \
udivdi3.c \
umoddi3.c \
xordi3.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
C_DEF += -D_THREAD_SAFE
 
include $(BASE)/config/sublib.mk
 
/shark/branches/xen/libc/quad/old/Makefile
File deleted
/shark/branches/xen/libc/quad/old/makefile
0,0 → 1,62
#
# GNU-C 32 bit makefile
#
 
HARTIK=$(BASE)
 
include $(HARTIK)/config/config.mak
 
# to remove
CP=cp
RM=rm -f
 
C_DEF += -D_THREAD_SAFE
#C_INC += -I.
 
#
# Device driver files
#
 
C_SRCS= anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c fixdfdi.c \
fixsfdi.c fixunsdf.c fixunssf.c floatdid.c floatdis.c \
floatuns.c iordi3.c lshldi3.c lshrdi3.c moddi3.c \
muldi3.c negdi2.c notdi2.c subdi3.c adddi3.c qdivrem.c \
ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
 
S_SRCS=
 
SRCS= $(C_SRCS) $(S_SRCS)
 
#
 
LIBNAME= c
 
#
# Finally the dependency rules!
#
 
.PHONY : all install depend clean allclean
 
 
#
 
all install: ../lib$(LIBNAME).a
 
depend deps:
$(CC) $(C_OPT) -M $(C_SRCS) >deps
 
clean :
-del *.o
-del *.err
-del *.a
 
allclean : clean
 
#
#
#
 
include deps
 
../lib$(LIBNAME).a : $(SRCS:.c=.o)
ar rs ../lib$(LIBNAME).a $(SRCS:.c=.o)
/shark/branches/xen/libc/utsname/Makefile
File deleted
/shark/branches/xen/libc/utsname/makefile
0,0 → 1,19
#
# The utsname sub-library
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = c
 
OBJS_PATH = $(BASE)/libc/utsname
 
SRCS= utsname.c
 
OBJS= $(patsubst %.c,%.o,$(SRCS))
 
include $(BASE)/config/sublib.mk
/shark/branches/xen/drivers/Makefile
File deleted
/shark/branches/xen/drivers/oldsnd/Makefile
File deleted
/shark/branches/xen/drivers/oldsnd/makefile
0,0 → 1,18
# The Hartik 3.3.1 Sound Library
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = hsnd
 
OBJS_PATH = $(BASE)/drivers/oldsnd
 
OTHERINCL += -I./include
 
OBJS = sbio.o blaster.o dma.o sound.o
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/net/Makefile
File deleted
/shark/branches/xen/drivers/net/makefile
0,0 → 1,33
# The Network Drivers
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = net
 
OBJS_PATH = $(BASE)/drivers/net
 
OBJS = eth.o \
8390.o \
3c509.o \
3c59x.o \
eepro100.o \
ne.o \
rtl8139.o \
netbuff.o \
arp.o \
udpip.o \
net.o \
net_init.o \
skbuff.o \
misc.o
 
OTHERINCL += -I./include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/parport/Makefile
File deleted
/shark/branches/xen/drivers/parport/makefile
0,0 → 1,18
# The Parallel Port Library, by Andrea Battistotti & Armando Leggio
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = pport
 
OBJS_PATH = $(BASE)/drivers/parport
 
OBJS = ppdrv.o ppnrtdrv.o pppindrv.o
 
OTHERINCL += -I$(BASE)/drivers/parport/include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/fb/Makefile
File deleted
/shark/branches/xen/drivers/fb/riva/Makefile
File deleted
/shark/branches/xen/drivers/fb/matrox/Makefile
File deleted
/shark/branches/xen/drivers/fb/makefile
0,0 → 1,28
# Frame Buffer Linux 2.6 Driver
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = fb
 
OBJS_PATH = $(BASE)/drivers/fb
 
OBJS = fbmem.o fbcmap.o cfbfillrect.o softcursor.o cfbcopyarea.o cfbimgblt.o\
modedb.o vga16fb.o vgastate.o vesafb.o radeonfb.o shark_fb26.o gdvesa.o\
logo.o logo_bmp.o ./riva/fbdev.o ./riva/nv_driver.o ./riva/riva_hw.o fun16.o\
./matrox/g450_pll.o ./matrox/matroxfb_accel.o ./matrox/matroxfb_base.o\
./matrox/matroxfb_crtc2.o ./matrox/matroxfb_DAC1064.o ./matrox/matroxfb_g450.o\
./matrox/matroxfb_maven.o ./matrox/matroxfb_misc.o ./matrox/matroxfb_Ti3026.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include -I./include -I.
 
C_OPT += -D__KERNEL__ -D__i386__ $(CFG_VIDEO_OPT)
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
 
/shark/branches/xen/drivers/block/Makefile
File deleted
/shark/branches/xen/drivers/block/sstf/Makefile
File deleted
/shark/branches/xen/drivers/block/fcfs/Makefile
File deleted
/shark/branches/xen/drivers/block/edf/Makefile
File deleted
/shark/branches/xen/drivers/block/look/Makefile
File deleted
/shark/branches/xen/drivers/block/pscan/Makefile
File deleted
/shark/branches/xen/drivers/block/clook/Makefile
File deleted
/shark/branches/xen/drivers/block/makefile
0,0 → 1,80
#
#
#
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = blk
 
OBJS_PATH = $(BASE)/drivers/block
 
OBJS= bdev.o \
lodsk.o \
phdsk.o \
glue.o \
ide.o \
idereq.o \
idelow.o
 
# for debug
#C_DEF += -D_PARANOIA
 
# for NO debug
C_DEF += -DNDEBUG
 
C_MAC += -imacros $(BASE)/include/fs/bdevconf.h
C_INC += -I.
 
#
#
#
 
_SCHED_FCFS=1
 
#
 
ifdef _SCHED_FCFS
C_DEF += -D_SCHED_FCFS
OBJS += fcfs/fcfs.o
endif
 
ifdef _SCHED_SSTF
C_DEF += -D_SCHED_SSTF
OBJS += sstf/sstf.o
endif
 
ifdef _SCHED_LOOK
C_DEF += -D_SCHED_LOOK
OBJS += look/look.o
endif
 
ifdef _SCHED_CLOOK
C_DEF += -D_SCHED_CLOOK
OBJS += clook/clook.o
endif
 
ifdef _SCHED_EDF
C_DEF += -D_SCHED_EDF
OBJS += edf/edf.o
endif
 
ifdef _SCHED_PSCAN
C_DEF += -D_SCHED_PSCAN
OBJS += pscan/pscan.o
endif
 
#
#
#
 
include $(BASE)/config/lib.mk
 
SCHEDDIRS := fcfs sstf look clock edf pscan
SCHEDOBJS := $(foreach DIR,$(SCHEDDIRS),$(wildcard $(DIR)/*.o))
 
clean::
rm -f $(SCHEDOBJS)
/shark/branches/xen/drivers/pci6025e/Makefile
File deleted
/shark/branches/xen/drivers/pci6025e/adc/Makefile
File deleted
/shark/branches/xen/drivers/pci6025e/makefile
0,0 → 1,23
# National Instruments PCI6025E Driver
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = 6025e
 
OBJS_PATH = $(BASE)/drivers/pci6025e
 
OBJS = pci6025e.o ./tim/timer.o ./dac/dac.o ./dio_ppi/dio_ppi.o ./adc/adc.o
 
OTHERINCL += -I$(BASE)/drivers/pci6025e/include
 
include $(BASE)/config/lib.mk
 
PCI6025EDIRS := tim dio_ppi dac
PCI6025EOBJS := $(foreach DIR,$(PCI6025EDIRS),$(wildcard $(DIR)/*.o))
 
clean::
rm -f $(PCI6025EOBJS)
/shark/branches/xen/drivers/pci6025e/tim/Makefile
File deleted
/shark/branches/xen/drivers/pci6025e/dio_ppi/Makefile
File deleted
/shark/branches/xen/drivers/pci6025e/dac/Makefile
File deleted
/shark/branches/xen/drivers/grx/Makefile
File deleted
/shark/branches/xen/drivers/grx/drawfun/Makefile
File deleted
/shark/branches/xen/drivers/grx/drivers/Makefile
File deleted
/shark/branches/xen/drivers/grx/makefile
0,0 → 1,27
# The Graphic library
 
ifndef BASE
BASE=../..
endif
 
 
include $(BASE)/config/config.mk
 
#C_OPT += -DVM86
LIBRARY = grx
 
OBJS_PATH = $(BASE)/drivers/grx
 
OBJS = gd.o glib.o palette.o drivers/gdvesa.o drivers/gds3.o drivers/gdtrid.o drawfun/fun8.o drawfun/fun16.o
 
#vpath %.c drivers drawfun .
 
OTHERINCL = -I./include/
 
include $(BASE)/config/lib.mk
 
GRXDIRS := drawfun drivers
GRXOBJS := $(foreach DIR,$(GRXDIRS),$(wildcard $(DIR)/*.o))
 
clean::
rm -f $(GRXOBJS)
/shark/branches/xen/drivers/cons/Makefile
File deleted
/shark/branches/xen/drivers/cons/makefile
0,0 → 1,19
# The console Devices (console)
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
 
LIBRARY = cons
 
OBJS_PATH = $(BASE)/drivers/cons
 
OBJS = cons1.o cons2.o message.o cprintf.o crtwin.o
 
OTHERINCL += -I$(BASE)/drivers/cons/include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/pcl812/Makefile
File deleted
/shark/branches/xen/drivers/pcl812/makefile
0,0 → 1,16
# The PCI library
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = pclab
 
OBJS_PATH = $(BASE)/drivers/pcl812
 
OBJS = pclab.o
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/linuxc26/Makefile
File deleted
/shark/branches/xen/drivers/linuxc26/makefile
0,0 → 1,23
# The LINUXCOMP 2.6 directory
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = comp26
 
OBJS_PATH = $(BASE)/drivers/linuxc26
 
OBJS = bus.o linuxcomp.o core.o driver.o vsprintf.o interface.o kobject.o\
shark_linuxc26.o shark_glue.o class.o videodev.o linux_kthread.o waitqueue.o\
int.o timer.o cmdline.o video-buf.o shark_videodev.o
 
C_OPT += -I../linuxc26/include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
 
 
/shark/branches/xen/drivers/oldchar/Makefile
File deleted
/shark/branches/xen/drivers/oldchar/makefile
0,0 → 1,18
# The Char Devices (mouse, serial ports, keyboard)
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = oldch
 
OBJS_PATH = $(BASE)/drivers/oldchar
 
OBJS = keyb.o mouse.o ps2mouse.o 8042.o mcurtxt.o mcurgrx.o
 
OTHERINCL += -I$(BASE)/drivers/oldchar/include -I$(BASE)/drivers/grx/include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/bttv/Makefile
File deleted
/shark/branches/xen/drivers/bttv/makefile
0,0 → 1,23
# National Instruments PCI6025E Driver
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = bttv
 
OBJS_PATH = $(BASE)/drivers/bttv
 
OBJS = bttv-if.o btcx-risc.o bttv-cards.o bttv-driver.o bttv-risc.o shark_bttv26.o
 
OTHERINCL += -I$(BASE)/drivers/bttv/include -I$(BASE)/drivers/linuxc26/include -I.
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
 
/shark/branches/xen/drivers/cpu/Makefile
File deleted
/shark/branches/xen/drivers/cpu/shark/Makefile
File deleted
/shark/branches/xen/drivers/cpu/cpufreq/Makefile
File deleted
/shark/branches/xen/drivers/cpu/makefile
0,0 → 1,26
# CPU support from linux 2.6.0
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = cpu
 
OBJS_PATH = $(BASE)/drivers/cpu
 
OBJS = common.o amd.o cyrix.o intel.o\
cpufreq/cpufreq.o cpufreq/freq_table.o\
cpufreq/powernow-k6.o cpufreq/powernow-k7.o cpufreq/powernow-k8.o\
cpufreq/gx-suspmod.o cpufreq/p4-clockmod.o\
cpufreq/speedstep-lib.o cpufreq/speedstep-centrino.o\
cpufreq/speedstep-ich.o\
shark/shark_cpu.o
# cpufreq/speedstep-smi.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
/shark/branches/xen/drivers/usb/Makefile
File deleted
/shark/branches/xen/drivers/usb/shark_glue/Makefile
File deleted
/shark/branches/xen/drivers/usb/input/Makefile
File deleted
/shark/branches/xen/drivers/usb/serial/Makefile
File deleted
/shark/branches/xen/drivers/usb/core/Makefile
File deleted
/shark/branches/xen/drivers/usb/host/Makefile
File deleted
/shark/branches/xen/drivers/usb/media/Makefile
File deleted
/shark/branches/xen/drivers/usb/makefile
0,0 → 1,34
# PCI support from linux 2.6.0
#_I386_SEMAPHORE_H
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = usb
 
OBJS_PATH = $(BASE)/demos/usb
 
OBJS = core/usb.o core/usb-debug.o core/hub.o core/hcd.o core/urb.o core/message.o \
core/config.o core/file.o core/buffer.o core/driverfs.o core/hcd-pci.o\
host/ohci-hcd.o host/ehci-hcd.o host/uhci-hcd.o \
shark_glue/shark_usb.o\
input/usbmouse.o input/usbkbd.o \
media/pwc-if.o media/pwc-ctrl.o media/pwc-misc.o media/pwc-uncompress.o \
input/hid-core.o input/hid-input.o serial/bus.o serial/generic.o \
serial/usb-serial.o serial/pl2303.o serial/tty_io.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include -I./core -I./host
 
#
# add -DCONFIG_USB_DEBUG to enable USB core debug messages
# -DCONFIG_USB_SERIAL_DEBUG to enable USB/serial converters debug messages
#
C_OPT += -D__KERNEL__ -DCONFIG_USB_HIDINPUT -DCONFIG_USB_SERIAL_PL2303 -DCONFIG_USB_DEBUG
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
/shark/branches/xen/drivers/input/Makefile
File deleted
/shark/branches/xen/drivers/input/serio/Makefile
File deleted
/shark/branches/xen/drivers/input/mouse/Makefile
File deleted
/shark/branches/xen/drivers/input/shark/Makefile
File deleted
/shark/branches/xen/drivers/input/keyboard/Makefile
File deleted
/shark/branches/xen/drivers/input/handler/Makefile
File deleted
/shark/branches/xen/drivers/input/joystick/Makefile
File deleted
/shark/branches/xen/drivers/input/gameport/Makefile
File deleted
/shark/branches/xen/drivers/input/makefile
0,0 → 1,30
# Input support from linux 2.6.0
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = input
 
OBJS_PATH = $(BASE)/drivers/input
 
OBJS = input.o serio/serio.o serio/i8042.o\
mouse/psmouse-base.o mouse/logips2pp.o mouse/synaptics.o\
keyboard/atkbd.o\
misc/pcspkr.o\
gameport/gameport.o gameport/ns558.o\
joystick/analog.o joystick/joydump.o\
handler/mouse.o handler/keyboard.o handler/speaker.o\
handler/evbug.o handler/joystick.o\
shark/shark_input.o shark/shark_mouse.o\
shark/shark_keymap.o shark/shark_keyb.o\
shark/mcurtxt.o shark/mcurgrx.o\
shark/shark_spk.o shark/shark_joy.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
/shark/branches/xen/drivers/input/misc/Makefile
File deleted
/shark/branches/xen/drivers/pci/Makefile
File deleted
/shark/branches/xen/drivers/pci/makefile
0,0 → 1,27
# PCI support from linux 2.6.0
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = pci
 
OBJS_PATH = $(BASE)/drivers/pci
 
OBJS = access.o bus.o names.o pci.o pci-driver.o\
pool.o probe.o quirks.o remove.o search.o setup-res.o\
setup-irq.o setup-bus.o syscall.o i386.o common.o\
fixup.o irq.o legacy.o pcbios.o direct.o shark_pci26.o \
pci20to26.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
 
/shark/branches/xen/drivers/serial/Makefile
File deleted
/shark/branches/xen/drivers/serial/makefile
0,0 → 1,18
# The Serial Devices
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = serial
 
OBJS_PATH = $(BASE)/drivers/serial
 
OBJS = scom.o scomirq.o
 
OTHERINCL += -I$(BASE)/drivers/serial/include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/drivers/makefile
0,0 → 1,43
 
dirs := $(filter-out CVS cvs cm7326 makefile, $(wildcard *))
p_all := $(addprefix prefixall_, $(dirs))
p_install := $(addprefix prefixinstall_, $(dirs))
p_clean := $(addprefix prefixclean_, $(dirs))
p_cleanall := $(addprefix prefixcleanall_, $(dirs))
p_depend := $(addprefix prefixdepend_, $(dirs))
 
 
.PHONY: all install clean cleanall depend
 
install: $(p_install)
 
all: $(p_all)
 
clean: $(p_clean)
 
cleanall: $(p_cleanall)
 
depend: $(p_depend)
 
prefixinstall_%:
make -C $* install
 
prefixall_%:
make -C $* all
 
prefixclean_%:
make -C $* clean
 
prefixcleanall_%:
make -C $* cleanall
 
prefixdepend_%:
make -C $* depend
 
 
 
 
 
 
 
 
/shark/branches/xen/drivers/i2c/Makefile
File deleted
/shark/branches/xen/drivers/i2c/makefile
0,0 → 1,23
# I2C Driver
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = i2c
 
OBJS_PATH = $(BASE)/drivers/i2c
 
OBJS = i2c-dev.o i2c-core.o shark_i2c26.o algos/i2c-algo-bit.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
 
/shark/branches/xen/drivers/i2c/algos/Makefile
File deleted
/shark/branches/xen/drivers/cm7326/Makefile
File deleted
/shark/branches/xen/drivers/cm7326/makefile
0,0 → 1,23
# CM7326 - Driver for pc104+ framegrabber
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = cm7326
 
OBJS_PATH = $(BASE)/drivers/cm7326
 
OBJS = cm7326.o saa7146_core.o saa7146_hlp.o saa7146_i2c.o saa7146_video.o saa7146_fops.o
 
OTHERINCL += -I$(BASE)/drivers/cm7326/include -I$(BASE)/drivers/linuxc26/include -I$(BASE)/drivers/i2c/include
 
C_OPT += -D__KERNEL__
 
include $(BASE)/config/lib.mk
 
clean::
rm -f $(OBJS)
 
/shark/branches/xen/drivers/pcl833/Makefile
File deleted
/shark/branches/xen/drivers/pcl833/makefile
0,0 → 1,18
# The PCL833 library
 
ifndef BASE
BASE=../..
endif
 
include $(BASE)/config/config.mk
 
LIBRARY = pcl833
 
OBJS_PATH = $(BASE)/drivers/pcl833
 
OBJS = pcl833.o
 
OTHERINCL += -I./include
 
include $(BASE)/config/lib.mk
 
/shark/branches/xen/shark.cfg
37,7 → 37,7
 
# Select the events tracer
# TRACER = NO,OLD,NEW
TRACER = NEW
TRACER = NO
 
# Select the BIOS INTERRUPT access mode
# BIOS = X,VM86
69,4 → 69,4
# Select the S.Ha.R.K. file system support
# YES = build the FS library
# NO = do not build the FS library
SHARK_FS = YES
SHARK_FS = NO
/shark/branches/xen/makefile
0,0 → 1,27
#
# Main S.Ha.R.K. makefile
#
 
ifndef BASE
BASE=.
endif
 
include $(BASE)/config/config.mk
 
#
 
.PHONY: install all clean cleanall distrib depend
 
install all clean cleanall depend:
make -C $(OSLIB) $@
make -C kernel $@
make -C modules $@
make -C drivers $@
make -C lib $@
make -C libc $@
make -C ports $@
make -C tracer $@
ifeq ($(findstring YES,$(SHARK_FS)) , YES)
make -C fs $@
endif
 
/shark/branches/xen/lib/Makefile
File deleted
/shark/branches/xen/lib/makefile
0,0 → 1,15
#
#
#
 
ifndef BASE
BASE=../..
endif
 
.PHONY: all install depend clean cleanall
 
all install clean depend:
 
cleanall:
$(RM) lib*.a