The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/xen/interface/foreign/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 XEN_ROOT=../../../..
    2 include $(XEN_ROOT)/Config.mk
    3 
    4 architectures := x86_32 x86_64 ia64
    5 headers := $(patsubst %, %.h, $(architectures))
    6 scripts := $(wildcard *.py)
    7 
    8 .PHONY: all clean check-headers
    9 all: $(headers) check-headers
   10 
   11 clean:
   12         rm -f $(headers)
   13         rm -f checker checker.c $(XEN_TARGET_ARCH).size
   14         rm -f *.pyc *.o *~
   15 
   16 ifeq ($(CROSS_COMPILE)$(XEN_TARGET_ARCH),$(XEN_COMPILE_ARCH))
   17 check-headers: checker
   18         ./checker > $(XEN_TARGET_ARCH).size
   19         diff -u reference.size $(XEN_TARGET_ARCH).size
   20 checker: checker.c $(headers)
   21         $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
   22 else
   23 check-headers:
   24         @echo "cross build: skipping check"
   25 endif
   26 
   27 x86_32.h: ../arch-x86/xen-x86_32.h ../arch-x86/xen.h ../xen.h $(scripts)
   28         python mkheader.py $* $@ $(filter %.h,$^)
   29 
   30 x86_64.h: ../arch-x86/xen-x86_64.h ../arch-x86/xen.h ../xen.h $(scripts)
   31         python mkheader.py $* $@ $(filter %.h,$^)
   32 
   33 ia64.h: ../arch-ia64.h ../xen.h $(scripts)
   34         python mkheader.py $* $@ $(filter %.h,$^)
   35 
   36 checker.c: $(scripts)
   37         python mkchecker.py $(XEN_TARGET_ARCH) $@ $(architectures)

Cache object: ca9516e9d393bc33b2c1376a0538cb26


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.