ia64/xen-unstable

annotate xen/Post.mk @ 9372:fcef620a859c

'permitted_clock_jitter' units are nanoseconds not microseconds.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Mar 21 15:10:26 2006 +0100 (2006-03-21)
parents 4813462ed4f9
children
rev   line source
kaf24@9343 1 # Ensure each subdirectory has exactly one trailing slash.
kaf24@9343 2 subdir-n := $(patsubst %,%/,$(patsubst %/,%,$(subdir-n)))
kaf24@9343 3 subdir-y := $(patsubst %,%/,$(patsubst %/,%,$(subdir-y)))
kaf24@9330 4
kaf24@9343 5 # Add explicitly declared subdirectories to the object list.
kaf24@9343 6 obj-y += $(patsubst %,%/built_in.o,$(subdir-y))
kaf24@9330 7
kaf24@9343 8 # Add implicitly declared subdirectories (in the object list) to the
kaf24@9343 9 # subdirectory list, and rewrite the object-list entry.
kaf24@9343 10 subdir-y += $(filter %/,$(obj-y))
kaf24@9343 11 obj-y := $(patsubst %/,%/built-in.o,$(obj-y))
kaf24@9343 12
kaf24@9343 13 subdir-all := $(subdir-y) $(subdir-n)
kaf24@9331 14
kaf24@9331 15 built_in.o: $(obj-y)
kaf24@9331 16 $(LD) $(LDFLAGS) -r -o $@ $^
kaf24@9330 17
kaf24@9330 18 .PHONY: FORCE
kaf24@9330 19 FORCE:
kaf24@9330 20
kaf24@9331 21 %/built_in.o: FORCE
kaf24@9330 22 $(MAKE) -C $*
kaf24@9330 23
kaf24@9343 24 clean:: $(addprefix _clean_, $(subdir-all)) FORCE
kaf24@9331 25 rm -f *.o *~ core
kaf24@9330 26 _clean_%/: FORCE
kaf24@9330 27 $(MAKE) -C $* clean