/shark/branches/xen/makefile |
---|
File deleted |
/shark/branches/xen/kernel/makefile |
---|
File deleted |
/shark/branches/xen/kernel/Makefile |
---|
0,0 → 1,30 |
targets:= \ |
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 |
/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/tracer/makefile |
---|
File deleted |
/shark/branches/xen/tracer/newtrace/Makefile |
---|
0,0 → 1,7 |
targets:= \ |
FTrace.o \ |
FTrace_OSD.o \ |
FTrace_OSD_ll.o \ |
FTrace_udp.o \ |
FTrace_disk.o |
/shark/branches/xen/tracer/oldtrace/Makefile |
---|
0,0 → 1,9 |
targets:= \ |
oldtrace.o \ |
trccirc.o \ |
trcdfix.o \ |
trcudp.o \ |
trcfixed.o \ |
trcdummy.o \ |
ctable.o |
/shark/branches/xen/tracer/Makefile |
---|
0,0 → 1,11 |
targets-NEW:= libtracer.a |
targets-OLD:= libtracer.a |
objs-NEW:= newtrace/ |
objs-OLD:= oldtrace/ |
targets:= $(targets-$(TRACER)) |
libtracer.a-objs:= $(objs-$(TRACER)) |
exported-cppflags:= -I$(curdir)/include -I$(srctree)/drivers/net/include |
/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 |
/shark/branches/xen/shark.cfg |
---|
37,7 → 37,7 |
# Select the events tracer |
# TRACER = NO,OLD,NEW |
TRACER = NO |
TRACER = NEW |
# 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 = NO |
SHARK_FS = YES |
/shark/branches/xen/ports/makefile |
---|
File deleted |
/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/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/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/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/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/fftw/makefile |
---|
File deleted |
/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/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/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/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/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/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/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/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/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/Makefile |
---|
0,0 → 1,0 |
targets:= |
/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/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/fs/makefile |
---|
File deleted |
/shark/branches/xen/fs/Makefile |
---|
0,0 → 1,37 |
targets:= libfs.a |
libfs.a-objs:= \ |
access.o \ |
chdir.o \ |
close.o \ |
closedir.o \ |
dcache.o \ |
dentry.o \ |
fcntl.o \ |
fdevice.o \ |
file.o \ |
fs.o \ |
fstat.o \ |
getcwd.o \ |
getumask.o \ |
inode.o \ |
lseek.o \ |
mount.o \ |
open.o \ |
opendir.o \ |
read.o \ |
readdir.o \ |
rwlock.o \ |
rtc.o \ |
stat.o \ |
super.o \ |
truncate.o \ |
umask.o \ |
umount.o \ |
unlink.o \ |
utime.o \ |
write.o |
exported-cppflags:= -D_PARANOIA -DNDEBUG -I$(curdir) \ |
-imacros $(srctree)/include/fs/fsconf.h |
/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/modules/makefile |
---|
File deleted |
/shark/branches/xen/modules/rrsoft/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/rrsoft/Makefile |
---|
0,0 → 1,0 |
targets:= rrsoft.o |
/shark/branches/xen/modules/ps/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/ps/Makefile |
---|
0,0 → 1,0 |
targets:= ps.o |
/shark/branches/xen/modules/rr/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/rr/Makefile |
---|
0,0 → 1,0 |
targets:= rr.o |
/shark/branches/xen/modules/intdrive/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/intdrive/Makefile |
---|
0,0 → 1,0 |
targets:= intdrive.o inttask.o |
/shark/branches/xen/modules/elastic/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/elastic/Makefile |
---|
0,0 → 1,0 |
targets:= elastic.o |
/shark/branches/xen/modules/sem/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/sem/Makefile |
---|
0,0 → 1,0 |
targets:= sem.o |
/shark/branches/xen/modules/ss/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/ss/Makefile |
---|
0,0 → 1,0 |
targets:= ss.o |
/shark/branches/xen/modules/tbs/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/tbs/Makefile |
---|
0,0 → 1,0 |
targets:= tbs.o |
/shark/branches/xen/modules/dummy/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/dummy/Makefile |
---|
0,0 → 1,0 |
targets:= dummy.o |
/shark/branches/xen/modules/nop/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/nop/Makefile |
---|
0,0 → 1,0 |
targets:= nop.o |
/shark/branches/xen/modules/npp/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/npp/Makefile |
---|
0,0 → 1,0 |
targets:= npp.o |
/shark/branches/xen/modules/edf/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/edf/Makefile |
---|
0,0 → 1,0 |
targets:= edf.o |
/shark/branches/xen/modules/pc/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/pc/Makefile |
---|
0,0 → 1,0 |
targets:= pc.o |
/shark/branches/xen/modules/posix/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/posix/Makefile |
---|
0,0 → 1,0 |
targets:= posix.o |
/shark/branches/xen/modules/hartport/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/hartport/Makefile |
---|
0,0 → 1,0 |
targets:= hartport.o |
/shark/branches/xen/modules/bd_edf/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/bd_edf/Makefile |
---|
0,0 → 1,0 |
targets:= bd_edf.o |
/shark/branches/xen/modules/srp/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/srp/Makefile |
---|
0,0 → 1,0 |
targets:= srp.o |
/shark/branches/xen/modules/rr2/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/rr2/Makefile |
---|
0,0 → 1,0 |
targets:= rr2.o |
/shark/branches/xen/modules/hardcbs/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/hardcbs/Makefile |
---|
0,0 → 1,0 |
targets:= hardcbs.o |
/shark/branches/xen/modules/ds/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/ds/Makefile |
---|
0,0 → 1,0 |
targets:= ds.o |
/shark/branches/xen/modules/cbs/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/cbs/Makefile |
---|
0,0 → 1,0 |
targets:= cbs.o |
/shark/branches/xen/modules/cabs/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/cabs/Makefile |
---|
0,0 → 1,0 |
targets:= cabs.o |
/shark/branches/xen/modules/pi/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/pi/Makefile |
---|
0,0 → 1,0 |
targets:= pi.o |
/shark/branches/xen/modules/nopm/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/nopm/Makefile |
---|
0,0 → 1,0 |
targets:= nopm.o |
/shark/branches/xen/modules/bd_pscan/subdir.mk |
---|
File deleted |
/shark/branches/xen/modules/bd_pscan/Makefile |
---|
0,0 → 1,0 |
targets:= bd_pscan.o |
/shark/branches/xen/modules/Makefile |
---|
0,0 → 1,27 |
targets:= \ |
bd_edf/ \ |
bd_pscan/ \ |
cabs/ \ |
cbs/ \ |
ds/ \ |
dummy/ \ |
edf/ \ |
elastic/ \ |
hardcbs/ \ |
hartport/ \ |
intdrive/ \ |
nop/ \ |
nopm/ \ |
npp/ \ |
pc/ \ |
pi/ \ |
posix/ \ |
ps/ \ |
rm/ \ |
rr/ \ |
rr2/ \ |
rrsoft/ \ |
sem/ \ |
srp/ \ |
ss/ \ |
tbs/ |
/shark/branches/xen/modules/rm/subdir.mk |
---|
File deleted |
\ No newline at end of file |
/shark/branches/xen/modules/rm/Makefile |
---|
0,0 → 1,0 |
targets:= rm.o |
/shark/branches/xen/oslib/makefile |
---|
File deleted |
/shark/branches/xen/oslib/kl/makefile |
---|
File deleted |
/shark/branches/xen/oslib/kl/Makefile |
---|
0,0 → 1,13 |
targets:= \ |
mem.o \ |
cxsw-2.o \ |
init.o \ |
time.o \ |
aspace.o \ |
intevt.o \ |
event.o \ |
event1.o \ |
advtimer.o \ |
abort.o \ |
timeint.o |
/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/ll/i386/x-bios.h |
---|
35,28 → 35,28 |
typedef union x_regs16 { |
struct { |
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)); |
WORD ax; |
WORD bx; |
WORD cx; |
WORD dx; |
WORD si; |
WORD di; |
WORD cflag; |
WORD _pad; |
} x; |
struct { |
BYTE al,ah __attribute__ ((packed)); |
BYTE bl,bh __attribute__ ((packed)); |
BYTE cl,ch __attribute__ ((packed)); |
BYTE dl,dh __attribute__ ((packed)); |
} h __attribute__ ((packed)); |
BYTE al,ah; |
BYTE bl,bh; |
BYTE cl,ch; |
BYTE dl,dh; |
} h; |
} X_REGS16; |
typedef struct x_sregs16 { |
WORD es __attribute__ ((packed)); |
WORD cs __attribute__ ((packed)); |
WORD ss __attribute__ ((packed)); |
WORD ds __attribute__ ((packed)); |
WORD es; |
WORD cs; |
WORD ss; |
WORD ds; |
} 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 __attribute__ ((packed)); |
WORD sel __attribute__ ((packed)); |
BYTE dword_cnt __attribute__ ((packed)); |
BYTE access __attribute__ ((packed)); |
WORD offset_hi __attribute__ ((packed)); |
WORD offset_lo; |
WORD sel; |
BYTE dword_cnt; |
BYTE access; |
WORD offset_hi; |
} GATE; |
typedef struct descriptor { |
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)); |
WORD lim_lo; |
WORD base_lo; |
BYTE base_med; |
BYTE access; |
BYTE gran; |
BYTE base_hi; |
} 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 __attribute__ ((packed)); |
GATE g __attribute__ ((packed)); |
DESCRIPTOR d; |
GATE g; |
}; |
struct registers { |
161,46 → 161,46 |
typedef struct tss { |
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)); |
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]; |
} TSS; |
/* Irq services specifications */ |
/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/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/Makefile |
---|
0,0 → 1,3 |
targets:= xlib/ kl/ |
exported-cppflags:= -I$(srctree)/libc/arch/$(ARCH)/include |
/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,19 |
targets:= \ |
libx0.a \ |
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 |
libx0.a-objs:= x0.o |
/shark/branches/xen/libc/makefile |
---|
File deleted |
/shark/branches/xen/libc/assert/makefile |
---|
File deleted |
/shark/branches/xen/libc/assert/Makefile |
---|
0,0 → 1,2 |
targets:= assert.o |
/shark/branches/xen/libc/stdlib/makefile |
---|
File deleted |
/shark/branches/xen/libc/stdlib/Makefile |
---|
0,0 → 1,13 |
targets:= \ |
abort.o \ |
atexit.o \ |
calloc.o \ |
free.o \ |
malloc.o \ |
realloc.o \ |
strtod.o \ |
strtol.o \ |
strtoul.o \ |
qsort.o \ |
bsearch.o |
/shark/branches/xen/libc/getopt/makefile |
---|
File deleted |
/shark/branches/xen/libc/getopt/Makefile |
---|
0,0 → 1,2 |
targets:= getopt.o getopt1.o |
/shark/branches/xen/libc/stdio/makefile |
---|
File deleted |
/shark/branches/xen/libc/stdio/Makefile |
---|
0,0 → 1,63 |
targets:= \ |
asprintf.o \ |
clrerr.o \ |
fclose.o \ |
fdopen.o \ |
feof.o \ |
ferror.o \ |
fflush.o \ |
fgetc.o \ |
fgetln.o \ |
fgetpos.o \ |
fgets.o \ |
fileno.o \ |
findfp.o \ |
flags.o \ |
fopen.o \ |
fprintf.o \ |
fpurge.o \ |
fputc.o \ |
fputs.o \ |
fread.o \ |
freopen.o \ |
fscanf.o \ |
fseek.o \ |
fsetpos.o \ |
ftell.o \ |
funopen.o \ |
fvwrite.o \ |
fwalk.o \ |
fwrite.o \ |
getc.o \ |
getchar.o \ |
gets.o \ |
getw.o \ |
makebuf.o \ |
mktemp.o \ |
printf.o \ |
putc.o \ |
putchar.o \ |
puts.o \ |
putw.o \ |
refill.o \ |
remove.o \ |
rewind.o \ |
rget.o \ |
scanf.o \ |
setbuf.o \ |
setbuffe.o \ |
setvbuf.o \ |
snprintf.o \ |
stdio.o \ |
tempnam.o \ |
tmpnam.o \ |
ungetc.o \ |
vasprint.o \ |
vfprintf.o \ |
vfscanf.o \ |
vprintf.o \ |
vscanf.o \ |
vsnprint.o \ |
wbuf.o \ |
wsetup.o |
/shark/branches/xen/libc/ctype/makefile |
---|
File deleted |
/shark/branches/xen/libc/ctype/Makefile |
---|
0,0 → 1,2 |
targets:= ctype.o |
/shark/branches/xen/libc/string/makefile |
---|
File deleted |
/shark/branches/xen/libc/string/Makefile |
---|
0,0 → 1,2 |
targets:= strcasecmp.o |
/shark/branches/xen/libc/unistd/makefile |
---|
File deleted |
/shark/branches/xen/libc/unistd/Makefile |
---|
0,0 → 1,5 |
targets:= \ |
fpathcon.o \ |
pathconf.o \ |
sysconf.o |
/shark/branches/xen/libc/quad/makefile |
---|
File deleted |
/shark/branches/xen/libc/quad/Makefile |
---|
0,0 → 1,28 |
targets:= \ |
adddi3.o \ |
anddi3.o \ |
ashldi3.o \ |
ashrdi3.o \ |
cmpdi2.o \ |
divdi3.o \ |
fixdfdi.o \ |
fixsfdi.o \ |
fixunsdf.o \ |
fixunssf.o \ |
floatdid.o \ |
floatdis.o \ |
floatuns.o \ |
iordi3.o \ |
lshldi3.o \ |
lshrdi3.o \ |
moddi3.o \ |
muldi3.o \ |
negdi2.o \ |
notdi2.o \ |
qdivrem.o \ |
subdi3.o \ |
ucmpdi2.o \ |
udivdi3.o \ |
umoddi3.o \ |
xordi3.o |
/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,2 |
targets:= utsname.c |
/shark/branches/xen/libc/arch/x86/makefile |
---|
File deleted |
/shark/branches/xen/libc/arch/x86/ioformat/Makefile |
---|
0,0 → 1,8 |
targets:= \ |
ecvt.o \ |
fcvt.o \ |
gcvt.o \ |
sprintf.o \ |
ksprintf.o \ |
sscanf.o \ |
ucvt.o |
/shark/branches/xen/libc/arch/x86/stdlib/Makefile |
---|
0,0 → 1,9 |
targets:= \ |
random.o \ |
stdlib.o \ |
strtod.o \ |
strtoi.o \ |
strtol.o \ |
strtou.o \ |
strtoul.o |
/shark/branches/xen/libc/arch/x86/libm/makefile |
---|
File deleted |
/shark/branches/xen/libc/arch/x86/libm/msun/i387/Makefile |
---|
0,0 → 1,26 |
targets:= \ |
e_acos.o \ |
e_asin.o \ |
e_atan2.o \ |
e_exp.o \ |
e_fmod.o \ |
e_log.o \ |
e_log10.o \ |
e_remain.o \ |
e_scalb.o \ |
e_sqrt.o \ |
s_atan.o \ |
s_ceil.o \ |
s_copysi.o \ |
s_cos.o \ |
s_finite.o \ |
s_floor.o \ |
s_ilogb.o \ |
s_log1p.o \ |
s_logb.o \ |
s_rint.o \ |
s_scalbn.o \ |
s_signif.o \ |
s_sin.o \ |
s_tan.o |
/shark/branches/xen/libc/arch/x86/libm/msun/Makefile |
---|
0,0 → 1,2 |
targets:= i387/ src/ |
/shark/branches/xen/libc/arch/x86/libm/machine/Makefile |
---|
0,0 → 1,2 |
targets:= infinity.o |
/shark/branches/xen/libc/arch/x86/libm/Makefile |
---|
0,0 → 1,5 |
targets:= msun/ machine/ |
exported-aflags:= -I$(curdir) |
exported-cppflags:= -I$(curdir) |
/shark/branches/xen/libc/arch/x86/string/Makefile |
---|
0,0 → 1,9 |
targets:= \ |
strncat.o \ |
strrchr.o \ |
strstr.o \ |
string.o \ |
special.o \ |
strnum.o \ |
strbase.o |
/shark/branches/xen/libc/arch/x86/Makefile |
---|
0,0 → 1,5 |
targets:= modf.o reboot.o ioformat/ libm/ stdlib/ string/ |
exported-aflags:= -I. |
exported-cppflags:= -I. |
exported-cflags:= -Dwrite=glue_write -Dlint -Wno-uninitialized -Wno-parentheses |
/shark/branches/xen/libc/Makefile |
---|
0,0 → 1,16 |
targets:= libc.a |
libc.a-objs:= \ |
init.o \ |
libio/ \ |
quad/ \ |
stdio/ \ |
stdlib/ \ |
assert/ \ |
unistd/ \ |
utsname/ \ |
ctype/ \ |
string/ \ |
getopt/ \ |
arch/$(ARCH)/ |
/shark/branches/xen/libc/libio/makefile |
---|
File deleted |
/shark/branches/xen/libc/libio/Makefile |
---|
0,0 → 1,16 |
targets:= \ |
close.o \ |
dir.o \ |
dup.o \ |
dup2.o \ |
getcwd.o \ |
getumask.o \ |
getwd.o \ |
lseek.o \ |
read.o \ |
truncate.o \ |
umask.o \ |
unlink.o \ |
wrappers.o \ |
write.c |
/shark/branches/xen/Makefile |
---|
0,0 → 1,524 |
# Copyright (c) 2007 Fabio Checconi <fabio@gandalf.sssup.it> |
# |
# This is a non-recursive makefile that supports a Kbuild-like syntax |
# for input/output specification. |
# Handle the V=0|1 option. We use both a long and a short form. In |
# the short one we use the $(Q) variable prepended to shell commands |
# (e.g., $(Q)mkdir) that in quiet mode expands to @, and in verbose |
# mode expands to nothing. In the long one we have a couple of strings |
# per command, one named quiet_cmd, the other cmd, and we always echo |
# $(QS)cmd, so if $(QS) expands to quiet_ the first string is printed. |
# The first string is the quiet version of the command, the second one |
# holds the whole command. |
ifneq ($(V),1) |
Q:=@ |
QS:=quiet_ |
endif |
# Handle the make -s flag: produce no output at all... |
ifneq ($(findstring s,$(MAKEFLAGS)),) |
Q:=@ |
QS:=nothing_ |
endif |
# The variables used to generate the rules to build targets. Use |
# CROSS_COMPILE to specify the prefix to be used for the toolchain. |
ar:= $(CROSS_COMPILE)$(AR) |
as:= $(CROSS_COMPILE)$(CC) |
cc:= $(CROSS_COMPILE)$(CC) |
ld:= $(CROSS_COMPILE)$(LD) |
rm:= $(if $(RM),$(RM),rm) |
install:= $(if $(INSTALL),$(INSTALL),install) |
# As in the rules we cannot use the variables we use in the makefile, |
# because we reassign them for every directory we visit, we just try |
# to recover the information from the targets being built. Another |
# way could have been to expand the variables when generating the |
# rules, but it would have made rule generation unreadable. |
in-local:= $$(subst $$(srctree)/,,$$<) |
out-local:= $$(subst install-,,$$(subst $$(objtree)/,,$$@)) |
in-objs:= $$(filter %.o,$$^) |
in-objs-local:= $$(filter %.o,$$(subst $$(objtree)/,,$$^)) |
# The rule patterns, in quiet and in verbose form. The verbose form is |
# used also for the actual command. |
quiet_ar_cmd := ' AR\\t$(out-local) $(in-objs-local)' |
ar_cmd := $(ar) cr $$@ $(in-objs) |
quiet_cc_cmd := ' CC\\t$(in-local)' |
cc_cmd := $(cc) $$(cflags-$$(<:.c=.o)) $$(cppflags-$$(<:.c=.o)) \ |
-c $$< -o $$@ |
quiet_as_cmd := ' AS\\t$(in-local)' |
as_cmd := $(as) $$(aflags-$$(<:.s=.o)) -c $$< -o $$@ |
quiet_dep_cmd := ' DEP\\t$(in-local)' |
dep_cmd := $(cc) $$(cflags-$$(<:.c=.o)) $$(cppflags-$$(<:.c=.o)) \ |
-M -MT \ |
"$$(subst $$(srctree),$$(objtree),$$(<:.c=.o))\ |
$$@" $$< > $$@ 2>/dev/null |
quiet_ld-r_cmd := ' LD\\t$(out-local) $(in-objs-local)' |
ld-r_cmd := $(ld) $$(ldflags-$$(dir $$@)) -r $(in-objs) -o $$@ |
quiet_rm_cmd := ' RM\\t$$(subst clean-,,$$(subst distclean-,,$(out-local)))' |
rm_cmd := -$(rm) $$(subst clean-,,$$(subst distclean-,,$$@)) |
quiet_install_cmd := ' INSTALL $(out-local)' |
install_cmd := -$(install) $$(subst install-,,$$@) $$(installdir) |
# Generate the requested rule for the requested directory. First echo |
# the command according to the requested verbosity (suppress all the |
# output if $(QS)$(1)_cmd is not defined, i.e., in the silent make case,) |
# and then emit the actual command. |
define cmd |
$(if $($(QS)$(1)_cmd),@echo -e '$($(QS)$(1)_cmd)') |
@$($(1)_cmd) |
endef |
# Remove duplicate slashes, ../'s, trailing slashes and so on from paths. |
define clean-path |
$(dir $(abspath $(1)))$(notdir $(abspath $(1))) |
endef |
# Adjust the paths for all the prerequisites of a target. Given a list |
# of objects, with relative or absolute path, figure out the right paths |
# in the build directory. Leave the output in $(target-objs). |
define all-prerequisites-templ |
target-obj-list:=$(1) |
# Filter absolute paths. |
target-objs:=$$(filter $(srctree)/%,$$(target-obj-list)) |
target-obj-list:=$$(filter-out $$(target-objs),$$(target-obj-list)) |
# Add all the other objects, and convert the path to the $(objtree) |
# root and with a reasonable path. |
target-objs+=$$(addprefix $$(curdir)/,$$(target-obj-list)) |
target-objs:=$$(foreach dir,$$(subst $(srctree),$(objtree),$$(target-objs)),\ |
$$(call clean-path,$$(dir))) |
endef |
# Produce targets for a given library. |
define lib-templ |
lib:=$(1) |
lib-target:=$$(objdir)/$$(lib) |
# Get a list of all the prerequisites needed to build the library. |
$$(eval $$(call all-prerequisites-templ,\ |
$$(patsubst %/,%/obj.o,$$($$(lib)-objs)))) |
$$(foreach flag,$(flags),$$(eval $$(call flags-per-target,$$(flag),$$(lib)))) |
$$(foreach obj,$$(target-objs),\ |
$$(eval $$(call flags-per-objects,$$(obj),$$(lib)))) |
# Produce the real target, in $(objtree), and the user-friendly target, |
# with a relative path to $(srctree). Note that even when the two trees |
# are equal we define two targets; a possible optimization could be to |
# use relative paths for the object tree in this case, but the code can |
# become even less readable than it is now... |
$$(lib-target): $$(target-objs) |
$(call cmd,ar) |
short-lib-taget:=$$(subst $$(srctree)/,,$$(curdir)/$$(lib)) |
.PHONY: $$(short-lib-target) |
$$(short-lib-target): $$(lib-target) |
# Update the $(subdirs) for $(curdir) and its target list. |
subdirs+=$$(filter %/,$$($$(lib)-objs)) |
curdir-targets+=$$(lib-target) |
.PHONY: clean-$$(lib-target) |
clean-$$(lib-target): |
$(call cmd,rm) |
curdir-clean-targets+= clean-$$(lib-target) |
.PHONY: install-$$(lib-target) |
install-$$(lib-target): $$(lib-target) |
$(call cmd,install) |
curdir-install-targets+= install-$$(lib-target) |
endef |
# Produce the needed code for a given object. |
define obj-templ |
obj:=$(1) |
obj-target:=$$(objdir)/$$(obj) |
obj-dep:=$$(objdir)/.$$(obj:.o=.c).deps |
# Handle dependencies. |
ifeq ($(goals-have-clean),) |
$$(obj-dep): $$(objdir-prereq) |
-include $$(obj-dep) |
endif |
# Produce the user shortcut for the real target (that does not need to |
# be produced, as it is handled by implicit rules.) |
short-obj-target:= $$(subst $$(srctree)/,,$$(curdir)/$$(obj)) |
.PHONY: $$(short-obj-target) |
$$(short-obj-target): $$(obj-target) |
curdir-targets+=$$(obj-target) |
.PHONY: clean-$$(obj-target) distclean-$$(obj-dep) |
clean-$$(obj-target): |
$(call cmd,rm) |
distclean-$$(obj-dep): |
$(call cmd,rm) |
curdir-clean-targets+= clean-$$(obj-target) |
curdir-distclean-targets+= distclean-$$(obj-dep) |
endef |
# Handle the flags for the current directory. for each *FLAGS variable |
# used by the implicit rules there are two variants: |
# o the local one, e.g., cflags:=-I. or cflags+=-I. changing the |
# flags used only by the current directory. |
# o The global one, e.g., exported-cflags:=-I$(srctree) changing the |
# flags for the current directory and all its subdirs. |
# The flag handling is split in three parts, one to be inserted before |
# including the current directory makefile, one before recurring into |
# subdirs, the other one after the recursion. |
define flags-save-templ |
flag:=$(1) |
# Flags on input to this dir; they must be preserved for our sibling |
# directories. |
saved-$$(flag)-$$(curdir):= $$($$(flag)) |
endef |
define flags-pre-templ |
flag:=$(1) |
# For the current directory, use the user-specified flags (that may |
# come from our parent directory.) Extra flags are used to specify |
# library-specific flags. |
$$(flag)-$$(curdir):=$$($$(flag)) $$(exported-$$(flag)) |
#to-print+= [ $$(flag)-$$(curdir) = $$($$(flag)-$$(curdir)) ] RET |
# Export to our children also the user exported flags. |
$$(flag):= $$(saved-$$(flag)-$$(curdir)) $$(exported-$$(flag)) |
exported-$$(flag):= |
endef |
define flags-post-templ |
flag:=$(1) |
# Restore the flags that our parent specified. |
$$(flag):= $$(saved-$$(flag)-$$(curdir)) |
endef |
# Allow redefinition of flags on the basis of a single target. Each |
# target gets its own version of the flags, based on the ones of the |
# current directory and its own ones. |
define flags-per-target |
flag:=$(1) |
target:=$(2) |
$$(flag)-$$(curdir)/$$(target):=$$($$(flag)-$$(curdir)) \ |
$$($$(target)-$$(flag)) $$(extra-$$(flag)-$$(curdir)/$$(target)) |
# Those are the flags coming from the upper directories, they are set for |
# obj.o targets, we must export them to our children, so we leave them here. |
exported-$$(flag)-$$(curdir)/$$(target):= $$($$(target)-$$(flag)) \ |
$$(extra-$$(flag)-$$(curdir)/$$(target)) |
$$(target)-$$(flag):= |
endef |
define flags-per-object |
# Generate flags only for objects in the current directory, as prerequisites |
# that come from ousdide are not compiled here. |
flag:=$(1) |
target:=$(3) |
ifeq ($(dir $(subst $(objtree),$(srctree),$(2))),$$(curdir)/) |
this-obj:=$(notdir $(2)) |
# The flags for a given object are the ones specified for its target |
# plus any specific one. |
$$(flag)-$$(curdir)/$$(this-obj):=$$($$(flag)-$$(curdir)/$$(target)) \ |
$$($$(this-obj)-$$(flag)) |
$$(this-obj)-$$(flag):= |
#to-print+= [ $$(flag)-$$(curdir)/$$(this-obj) = $$($$(flag)-$$(curdir)/$$(this-obj)) ] RET |
endif |
# Pass the right flags to the subdirs we use to build $(target). |
ifeq ($$(notdir $(2)),obj.o) |
extra-$$(flag)-$(2):= $$(exported-$$(flag)-$$(curdir)/$$(target)) |
endif |
endef |
# Allow the user to specify per-object flags |
define flags-per-objects |
$$(foreach flag,$$(flags),\ |
$$(eval $$(call flags-per-object,$$(flags),$(1),$(2)))) |
endef |
# Helper to define per-library flags. |
define flags-per-libs |
$$(foreach flag,$$(flags),\ |
$$(eval $$(call flags-per-lib,$$(flags),$(1),$(2)))) |
endef |
# Disable default implicit rules. |
.SUFFIXES: |
# The roots of our source and object trees. If an O=dir option is |
# passed to the toplevel makefile all the output of the building |
# process is in dir. |
srctree:=$(call clean-path,$(CURDIR)) |
objtree:=$(if $(O),$(call clean-path,$(O)),$(srctree)) |
ifeq ($(wildcard $(objtree)),) |
$(error Output directory $(objtree) does not exist) |
endif |
clean-targets:= |
distclean-targets:= |
install-targets:= |
goals-have-clean:=$(strip $(filter clean distclean,$(MAKECMDGOALS))) |
aflags:= $(AFLAGS) |
cflags:= $(CFLAGS) |
cppflags:= $(CPPFLAGS) |
ldflags:= $(LDFLAGS) |
flags:= aflags cflags cppflags ldflags |
# XXX debug only |
to-print:= |
# The following macro is used to do a standard set of operations |
# for every subdirectory we have to work on. It is instantiated |
# every time we change subdirectory, and generates a set of targets |
# specific to that directory. |
define recurse-templ |
# Remember where we are in the source and object tree. The clean-path |
# macro is used for user output and for generating targets independently |
# from directories being specified as dir or dir/ or with multiple slashes |
# and so on. |
curdir:=$$(call clean-path,$(1)) |
objdir:=$(objtree)$$(subst $(srctree),,$$(curdir)) |
# Save the flags our parent passed us. |
$$(foreach flag,$(flags),$$(eval $$(call flags-save-templ,$$(flag)))) |
# A list of all the targets defined for the current directory. It is |
# used to produce an user-reachable target for submakes into source tree |
# subdirectories, e.g., if src/utils is a source directory, make src/utils |
# will build all the targets defined inside it. Start with the short path |
# to all subdirs. |
curdir-targets:= |
curdir-clean-targets:= |
curdir-distclean-targets:= |
curdir-install-targets:= |
# If the output directory does not exist every target that actually |
# needs it will have to create it. |
ifneq ($(objtree),$(srctree)) |
ifeq ($$(wildcard $$(objdir)),) |
objdir-prereq:=$$(objdir)/.build |
$$(objdir)/.build: |
$(Q)if [ ! -d $$(dir $$@) ] ; then \ |
mkdir -p $$(dir $$@) ; touch $$@ ; fi |
endif |
endif |
# Include the next subdirectory. Don't include the root makefile, |
# if we are at the first step of the recursion. |
include $$(subst $(srctree)/Makefile,,$$(curdir)/Makefile) |
# Figure out all the targets. We support three kind of targets: |
# - subdirectories |
# - libraries |
# - objects |
# |
# Subdirectories are recursively processed, libraries are built using |
# the objects specified in their *.a-objs target (if it contains a |
# subdirectory the latter is processed and the resulting obj.o object |
# is included,) and objects are compiled and incrementally linked |
# together in a obj.o file. |
subdirs:=$$(filter %/, $$(targets)) |
objs:=$$(filter %.o, $$(targets)) |
libs:=$$(filter %.a, $$(targets)) |
$$(eval $$(call all-prerequisites-templ, $$(subdirs))) |
subdir-targets:= $$(target-objs) |
# Recurse into all the subdirectories. |
curdir-targets+=$$(subst $(objtree)/,,$$(subdir-targets)) |
# Look for prerequisites to build obj.o for the current directory. |
$$(eval $$(call all-prerequisites-templ,\ |
$$(filter-out $$(exclude),$$(objs)))) |
target-objs+=$$(addsuffix /obj.o,$$(subdir-targets)) |
$$(foreach flag,$(flags),$$(eval $$(call flags-pre-templ,$$(flag)))) |
# Produce a target for obj.o, even if not needed (it will be empty in |
# this case.) |
ifneq ($$(strip $$(target-objs)),) |
$$(foreach flag,$(flags),$$(eval $$(call flags-per-target,$$(flag),obj.o))) |
$$(foreach obj,$$(target-objs),\ |
$$(eval $$(call flags-per-objects,$$(obj),obj.o))) |
$$(objdir)/obj.o: $$(target-objs) |
$(call cmd,ld-r) |
else |
$$(objdir)/obj.o: |
$(Q)touch $$@ |
endif |
curdir-targets+= $$(objdir)/obj.o |
# to-print+= [ [ $$(objdir)/obj.o ] $$(target-objs) ] |
# Produce the needed targets for each library. |
ifneq ($$(strip $$(libs)),) |
$$(foreach lib,$$(libs),$$(eval $$(call lib-templ,$$(lib)))) |
endif |
# Produce a target for each local object. Build the list of all the |
# targets specified by the current subdir. It is given by all the local |
# objects in $(targets) or in a library contained in it. Non-local |
# objects can be specified as dependencies but must be built from the |
# directory containing them (if needed their directory can specify that |
# they are not to be included in the local obj.o putting them into |
# $(exclude); this may not seem straightforward but is to support a |
# few corner cases.) |
# |
# First build a relative path for all the .o files in the targets (the |
# default one and the library ones,) taking care of not being confused |
# by relative directory specifications. |
all-local-objs-paths:=$$(subst $$(curdir)/,,\ |
$$(abspath $$(addprefix $$(curdir)/,\ |
$$(objs) $$(foreach lib,$$(libs),$$(filter %.o,$$($$(lib)-objs)))))) |
# Then keep only those with a dir equal to ./ A local object is not |
# allowed to be specified with a path specifying a directory different |
# from the current one. |
all-local-objs:=$$(foreach obj, $$(all-local-objs-paths), \ |
$$(if $$(subst ./,,$$(dir $$(obj))),,$$(obj))) |
# Produce one target per object, and the rules to build them along with |
# their dependencies. |
ifneq ($$(strip $$(all-local-objs)),) |
$$(foreach obj,$$(all-local-objs),$$(eval $$(call obj-templ,$$(obj)))) |
$$(objdir)/%.o: $$(curdir)/%.c |
$(call cmd,cc) |
$$(objdir)/%.o: $$(curdir)/%.s |
$(call cmd,as) |
$$(objdir)/.%.c.deps: $$(curdir)/%.c |
$(call cmd,dep) |
endif |
# Produce the user-friendly target for the source dir, depending |
# on its obj.o, libs and local objects (only if they can be built.) |
curdir-target:= $$(subst $$(srctree)/,,$$(curdir)) |
.PHONY: $$(curdir-target) |
$$(curdir-target): $$(curdir-targets) |
# Produce the clean and distclean targets for the current directory. |
.PHONY: clean-$$(curdir-target) distclean-$$(curdir-target) |
clean-$$(curdir-target): $$(curdir-clean-targets) |
distclean-$$(curdir-target): clean-$$(curdir-target) \ |
$$(curdir-distclean-targets) |
# to-print+=[ distclean-$$(curdir-target) ] |
clean-targets+= clean-$$(curdir-target) |
distclean-targets+= distclean-$$(curdir-target) |
# Produce the install target. This is very Shark specific... |
.PHONY: install-$$(curdir-target) |
$$(curdir-install-targets): $(installdir)/.build |
install-$$(curdir-target): $$(curdir-install-targets) |
install-targets+= install-$$(curdir-target) |
#to-print+=[ install-$$(curdir-target) = $$(curdir-install-targets) ] |
# Actually do the recursion, generating the code specified by |
# recurse-tmpl for every subdirectory needed from the one we are |
# leaving. |
ifneq ($$(strip $$(subdirs)),) |
$$(foreach dir,$$(subdirs),$$(eval $$(call recurse-templ,$(1)/$$(dir)))) |
curdir:=$$(call clean-path,$(1)) |
endif |
$$(foreach flag,$(flags),$$(eval $$(call flags-post-templ,$$(flag)))) |
endef |
.DEFAULT_GOAL:= all |
include shark.cfg |
installdir:=$(objtree)/.lib |
# Handle Shark configuration. Really insane, indeed. |
options:=TSC APIC BIOS TRACER FG FB COMPILER |
define strip-in-place |
$(1):=$(strip $($(1))) |
endef |
$(foreach cfgopt,$(options),$(eval $(call strip-in-place,$(cfgopt)))) |
cpp-tsc-TRUE:= -D__TSC__ |
cpp-apic-TRUE:= -D__APIC__ |
cpp-bios-VM86:= -DVM86 |
cpp-tracer-NEW:= -D__NEW_TRACER__ |
cpp-tracer-OLD:= -D__OLD_TRACER__ |
cpp-fg-FORCE_PXC:= -D__FORCE_PXC__ |
cpp-fb-VESA:= -DCONFIG_FB_VESA -DCONFIG_LOGO |
cpp-fb-FINDPCI:= -DCONFIG_FB_RIVA -DCONFIG_FB_RADEON -DCONFIG_FB_MATROX \ |
-DCONFIG_LOGO -DCONFIG_FB_MATROX_G100 \ |
-DCONFIG_FB_MATROX_MILLENIUM -DCONFIG_FB_MATROX_MYSTIQUE |
cpp-fb-VGA16:= -DCONFIG_FB_VGA16 |
include-dirs:= \ |
-I$(srctree)/include -I$(srctree)/modules \ |
-I$(srctree)/libc/arch/$(ARCH)/include \ |
-I$(srctree)/tracer/include \ |
-I$(srctree)/oslib |
config:= -D__LINUX__ \ |
$(cpp-tsc-$(TSC)) $(cpp-apic-$(APIC)) $(cpp-bios-$(BIOS)) \ |
$(cpp-tracer-$(TRACER)) $(cpp-fg-$(FG)) $(cpp-fb-$(FB)) |
exported-cppflags:= $(include-dirs) $(config) |
exported-aflags:= -x assembler-with-cpp $(include-dirs) $(config) |
cc-compiler-GCC4:= -Wimplicit-function-declaration -Wno-attributes \ |
-Wno-pointer-sign -Wall -O -fno-builtin -nostdinc \ |
-minline-all-stringops -fno-stack-protector |
cc-compiler-GCC3:= -Wimplicit-function-declaration -Wall -O \ |
-fno-builtin -nostdinc -minline-all-stringops |
cc-compiler-DJGPP:= -Wimplicit-function-declaration -Wall -O \ |
-fno-builtin -nostdinc -minline-all-stringops |
exported-cflags:= $(cc-compiler-$(COMPILER)) |
fs-YES:= fs/ |
targets:= libgkern.a drivers/ libc/ ports/ tracer/ $(fs-$(SHARK_FS)) |
libgkern.a-objs:= oslib/ kernel/ modules/ |
# Let the good times roll... |
$(eval $(call recurse-templ,$(srctree))) |
all: $(srctree) |
.PHONY: clean distclean |
clean: $(clean-targets) |
distclean: $(distclean-targets) |
debug: |
@echo $(to-print) |
.PHONY: install $(install-targets) |
$(installdir)/.build: |
$(Q)if [ ! -d $(dir $@) ] ; then \ |
mkdir -p $(dir $@) ; touch $@ ; fi |
install: $(install-targets) |
/shark/branches/xen/drivers/makefile |
---|
File deleted |
/shark/branches/xen/drivers/bttv/makefile |
---|
File deleted |
/shark/branches/xen/drivers/bttv/Makefile |
---|
0,0 → 1,13 |
targets:= libbttv.a |
libbttv.a-objs = \ |
bttv-if.o \ |
btcx-risc.o \ |
bttv-cards.o \ |
bttv-driver.o \ |
bttv-risc.o \ |
shark_bttv26.o |
cppflags+= -D__KERNEL__ -I$(srctree)/drivers/bttv/include \ |
-I$(srctree)/drivers/linuxc26/include -I$(curdir) |
/shark/branches/xen/drivers/serial/makefile |
---|
File deleted |
/shark/branches/xen/drivers/serial/Makefile |
---|
0,0 → 1,6 |
targets:= libserial.a |
libserial.a-objs:= scom.o scomirq.o |
cppflags+= -I$(srctree)/drivers/serial/include |
/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/oldsnd/makefile |
---|
File deleted |
/shark/branches/xen/drivers/oldsnd/Makefile |
---|
0,0 → 1,10 |
targets:= libhsnd.a |
libhsnd.a-objs:= \ |
sbio.o \ |
blaster.o \ |
dma.o \ |
sound.o |
cppflags+= -I$(curdir)/include |
/shark/branches/xen/drivers/net/makefile |
---|
File deleted |
/shark/branches/xen/drivers/net/Makefile |
---|
0,0 → 1,20 |
targets:= libnet.a |
libnet.a-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 |
cppflags+= -I$(curdir)/include -D__KERNEL__ |
/shark/branches/xen/drivers/parport/makefile |
---|
File deleted |
/shark/branches/xen/drivers/parport/Makefile |
---|
0,0 → 1,6 |
targets:= libpport.a |
libpport.a-objs:= ppdrv.o ppnrtdrv.o pppindrv.o |
cppflags+= -I$(srctree)/drivers/parport/include |
/shark/branches/xen/drivers/fb/makefile |
---|
File deleted |
/shark/branches/xen/drivers/fb/riva/Makefile |
---|
0,0 → 1,5 |
targets:= \ |
fbdev.o \ |
nv_driver.o \ |
riva_hw.o |
/shark/branches/xen/drivers/fb/matrox/Makefile |
---|
0,0 → 1,11 |
targets:= \ |
g450_pll.o \ |
matroxfb_DAC1064.o \ |
matroxfb_Ti3026.o \ |
matroxfb_accel.o \ |
matroxfb_base.o \ |
matroxfb_crtc2.o \ |
matroxfb_g450.o \ |
matroxfb_maven.o \ |
matroxfb_misc.o |
/shark/branches/xen/drivers/fb/Makefile |
---|
0,0 → 1,27 |
targets:= libfb.a |
libfb.a-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/ \ |
fun16.o \ |
matrox/ |
exported-cppflags:= -I$(srctree)/drivers/linuxc26/include \ |
-I$(curdir)/include -I$(curdir) -D__KERNEL__ -D__i386__ |
exported-clfags:= $(CFG_VIDEO_OPT) |
/shark/branches/xen/drivers/cpu/makefile |
---|
File deleted |
/shark/branches/xen/drivers/cpu/cpufreq/Makefile |
---|
0,0 → 1,12 |
targets:= \ |
cpufreq.o \ |
freq_table.o \ |
gx-suspmod.o \ |
p4-clockmod.o \ |
powernow-k6.o \ |
powernow-k7.o \ |
powernow-k8.o \ |
speedstep-centrino.o \ |
speedstep-ich.o \ |
speedstep-lib.o |
/shark/branches/xen/drivers/cpu/shark/Makefile |
---|
0,0 → 1,2 |
targets:= shark_cpu.o |
/shark/branches/xen/drivers/cpu/Makefile |
---|
0,0 → 1,12 |
targets:= libcpu.a |
libcpu.a-objs:= \ |
common.o \ |
amd.o \ |
cyrix.o \ |
intel.o \ |
cpufreq/ \ |
shark/ \ |
exported-cppflags:= -I$(srctree)/drivers/linuxc26/include -D__KERNEL__ |
/shark/branches/xen/drivers/usb/makefile |
---|
File deleted |
/shark/branches/xen/drivers/usb/input/Makefile |
---|
0,0 → 1,2 |
targets:= usbmouse.o usbkbd.o |
/shark/branches/xen/drivers/usb/media/Makefile |
---|
0,0 → 1,6 |
targets:= \ |
pwc-if.o \ |
pwc-ctrl.o \ |
pwc-misc.o \ |
pwc-uncompress.o |
/shark/branches/xen/drivers/usb/serial/Makefile |
---|
0,0 → 1,6 |
targets:= \ |
generic.o \ |
usb-serial.o \ |
pl2303.o \ |
tty_io.o |
/shark/branches/xen/drivers/usb/shark_glue/Makefile |
---|
0,0 → 1,2 |
targets:= shark_usb.o |
/shark/branches/xen/drivers/usb/core/Makefile |
---|
0,0 → 1,12 |
targets:= \ |
config.o \ |
usb-debug.o \ |
hub.o \ |
hcd.o \ |
urb.o \ |
message.o \ |
file.o \ |
buffer.o \ |
driverfs.o \ |
hcd-pci.o |
/shark/branches/xen/drivers/usb/host/Makefile |
---|
0,0 → 1,5 |
targets:= \ |
ohci-hcd.o \ |
ehci-hcd.o \ |
uhci-hcd.o |
/shark/branches/xen/drivers/usb/Makefile |
---|
0,0 → 1,15 |
targets:= libusb.a |
libusb.a-objs:= \ |
core/ \ |
host/ \ |
shark_glue/ \ |
media/ \ |
input/ \ |
serial/ |
exported-cppflags:= -I$(srctree)/drivers/linuxc26/include \ |
-I$(curdir)/core -I$(curdir)/host -D__KERNEL__ \ |
-DCONFIG_USB_HIDINPUT -DCONFIG_USB_SERIAL_PL2303 \ |
-DCONFIG_USB_DEBUG |
/shark/branches/xen/drivers/block/makefile |
---|
File deleted |
/shark/branches/xen/drivers/block/sstf/Makefile |
---|
0,0 → 1,2 |
targets:= sstf.o |
/shark/branches/xen/drivers/block/fcfs/Makefile |
---|
0,0 → 1,2 |
targets:= fcfs.o |
/shark/branches/xen/drivers/block/edf/Makefile |
---|
0,0 → 1,2 |
targets:= edf.o |
/shark/branches/xen/drivers/block/look/Makefile |
---|
0,0 → 1,2 |
targets:= look.o |
/shark/branches/xen/drivers/block/pscan/Makefile |
---|
0,0 → 1,2 |
targets:= pscan.o |
/shark/branches/xen/drivers/block/clook/Makefile |
---|
0,0 → 1,2 |
targets:= clook.o |
/shark/branches/xen/drivers/block/Makefile |
---|
0,0 → 1,35 |
_SCHED_FCFS=y |
cppflags-$(_SCHED_FCFS):= -D_SCHED_FCFS |
objs-$(_SCHED_FCFS):= fcfs/ |
cppflags-$(_SCHED_SSTF):= -D_SCHED_SSTF |
objs-$(_SCHED_SSTF):= sstf/ |
cppflags-$(_SCHED_LOOK):= -D_SCHED_LOOK |
objs-$(_SCHED_LOOK):= look/ |
cppflags-$(_SCHED_CLOOK):= -D_SCHED_CLOOK |
objs-$(_SCHED_CLOOK):= clook/ |
cppflags-$(_SCHED_EDF):= -D_SCHED_EDF |
objs-$(_SCHED_EDF):= edf/ |
cppflags-$(_SCHED_PSCAN):= -D_SCHED_PSCAN |
objs-$(_SCHED_PSCAN):= pscan/ |
targets:= libblk.a |
libblk.a-objs:= \ |
bdev.o \ |
lodsk.o \ |
phdsk.o \ |
glue.o \ |
ide.o \ |
idereq.o \ |
idelow.o \ |
$(objs-y) |
exported-cppflags:= $(cppflags-y) -DNDEBUG -I$(curdir) \ |
-imacros $(srctree)/include/fs/bdevconf.h |
/shark/branches/xen/drivers/pci6025e/makefile |
---|
File deleted |
/shark/branches/xen/drivers/pci6025e/dio_ppi/Makefile |
---|
0,0 → 1,2 |
targets:= dio_ppi.o |
/shark/branches/xen/drivers/pci6025e/adc/Makefile |
---|
0,0 → 1,2 |
targets:= adc.o |
/shark/branches/xen/drivers/pci6025e/dac/Makefile |
---|
0,0 → 1,2 |
targets:= dac.o |
/shark/branches/xen/drivers/pci6025e/tim/Makefile |
---|
0,0 → 1,2 |
targets:= timer.o |
/shark/branches/xen/drivers/pci6025e/Makefile |
---|
0,0 → 1,11 |
targets:= lib6025e.a |
lib6026e.a-objs:= \ |
pci6025e.o \ |
tim/ \ |
dac/ \ |
dio_ppi/ \ |
adc/ |
exported-cppflags:= -I$(srctree)/drivers/pci6025e/include |
/shark/branches/xen/drivers/input/makefile |
---|
File deleted |
/shark/branches/xen/drivers/input/joystick/Makefile |
---|
0,0 → 1,2 |
targets:= analog.o joydump.o |
/shark/branches/xen/drivers/input/keyboard/Makefile |
---|
0,0 → 1,2 |
targets:= atkbd.o |
/shark/branches/xen/drivers/input/serio/Makefile |
---|
0,0 → 1,2 |
targets:= serio.o i8042.o |
/shark/branches/xen/drivers/input/mouse/Makefile |
---|
0,0 → 1,5 |
targets:= \ |
psmouse-base.o \ |
logips2pp.o \ |
synaptics.o |
/shark/branches/xen/drivers/input/shark/Makefile |
---|
0,0 → 1,10 |
targets:= \ |
shark_input.o \ |
shark_keymap.o \ |
shark_mouse.o \ |
shark_keyb.o \ |
mcurtxt.o \ |
mcurgrx.o \ |
shark_spk.o \ |
shark_joy.o |
/shark/branches/xen/drivers/input/misc/Makefile |
---|
0,0 → 1,2 |
targets:= pcspkr.o |
/shark/branches/xen/drivers/input/handler/Makefile |
---|
0,0 → 1,7 |
targets:= \ |
mouse.o \ |
keyboard.o \ |
speaker.o \ |
evbug.o \ |
joystick.o |
/shark/branches/xen/drivers/input/Makefile |
---|
0,0 → 1,15 |
targets:= libinput.a |
libinput.a-objs:= \ |
input.o \ |
serio/ \ |
mouse/ \ |
keyboard/ \ |
misc/ \ |
gameport/ \ |
joystick/ \ |
handler/ \ |
shark/ |
exported-cppflags:= -I$(srctree)/drivers/linuxc26/include -D__KERNEL__ |
/shark/branches/xen/drivers/input/gameport/Makefile |
---|
0,0 → 1,2 |
targets:= gameport.o ns558.o |
/shark/branches/xen/drivers/grx/makefile |
---|
File deleted |
/shark/branches/xen/drivers/grx/drawfun/Makefile |
---|
0,0 → 1,2 |
targets:= fun16.o fun8.o |
/shark/branches/xen/drivers/grx/Makefile |
---|
0,0 → 1,10 |
targets:= libgrx.a |
libgrx.a-objs:= \ |
gd.o glib.o \ |
palette.o \ |
drivers/ \ |
drawfun/ |
exported-cppflags:= -I$(curdir)/include/ |
/shark/branches/xen/drivers/grx/drivers/Makefile |
---|
0,0 → 1,2 |
targets:= gdvesa.o gds3.o gdtrid.o |
/shark/branches/xen/drivers/cons/makefile |
---|
File deleted |
/shark/branches/xen/drivers/cons/Makefile |
---|
0,0 → 1,11 |
targets:= libcons.a |
libcons.a-objs:= \ |
cons1.o \ |
cons2.o \ |
message.o \ |
cprintf.o \ |
crtwin.o |
cppflags+= -I$(srctree)/drivers/cons/include |
/shark/branches/xen/drivers/pcl812/makefile |
---|
File deleted |
/shark/branches/xen/drivers/pcl812/Makefile |
---|
0,0 → 1,4 |
targets:= libpclab.a |
libpclab.a-objs:= pclab.o |
/shark/branches/xen/drivers/linuxc26/makefile |
---|
File deleted |
/shark/branches/xen/drivers/linuxc26/Makefile |
---|
0,0 → 1,24 |
targets:= libcomp26.a |
libcomp26.a-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 |
cppflags+= -I$(srctree)/drivers/linuxc26/include -D__KERNEL__ |
/shark/branches/xen/drivers/pci/makefile |
---|
File deleted |
/shark/branches/xen/drivers/pci/Makefile |
---|
0,0 → 1,29 |
targets:= libpci.a |
libpci.a-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 |
cppflags+= -I$(srctree)/drivers/linuxc26/include -D__KERNEL__ |
/shark/branches/xen/drivers/oldchar/makefile |
---|
File deleted |
/shark/branches/xen/drivers/oldchar/Makefile |
---|
0,0 → 1,13 |
targets:= liboldch.a |
liboldch.a-objs:= \ |
keyb.o \ |
mouse.o \ |
ps2mouse.o \ |
8042.o \ |
mcurtxt.o \ |
mcurgrx.o |
cppflags+= -I$(srctree)/drivers/oldchar/include \ |
-I$(srctree)/drivers/grx/include |
/shark/branches/xen/drivers/pcl833/makefile |
---|
File deleted |
/shark/branches/xen/drivers/pcl833/Makefile |
---|
0,0 → 1,6 |
targets:= libpcl833.a |
libpcl833.a-objs:= pcl833.o |
cppflags+= -I$(curdir)/include |
/shark/branches/xen/drivers/i2c/makefile |
---|
File deleted |
/shark/branches/xen/drivers/i2c/algos/Makefile |
---|
0,0 → 1,2 |
targets:= i2c-algo-bit.o |
/shark/branches/xen/drivers/i2c/Makefile |
---|
0,0 → 1,10 |
targets:= libi2c.a |
libi2c.a-objs:= \ |
i2c-dev.o \ |
i2c-core.o \ |
shark_i2c26.o \ |
algos/ |
exported-cppflags:= -I$(srctree)/drivers/linuxc26/include -D__KERNEL__ |
/shark/branches/xen/drivers/Makefile |
---|
0,0 → 1,21 |
targets:= \ |
block/ \ |
bttv/ \ |
cons/ \ |
cpu/ \ |
fb/ \ |
grx/ \ |
i2c/ \ |
input/ \ |
linuxc26/ \ |
net/ \ |
oldchar/ \ |
oldsnd/ \ |
parport/ \ |
pci/ \ |
pci6025e/ \ |
pcl812/ \ |
pcl833/ \ |
serial/ \ |
usb/ |