ia64/xen-unstable

changeset 7694:889814fb94c5

Minor Makefile cleanup in tools/libxc/Makefile
author unknown@aosda.research.intel-research.net
date Mon Nov 07 18:35:55 2005 +0100 (2005-11-07)
parents 06abebc3a56d
children 913ad6d48cbc
files tools/libxc/Makefile
line diff
     1.1 --- a/tools/libxc/Makefile	Mon Nov 07 18:25:09 2005 +0100
     1.2 +++ b/tools/libxc/Makefile	Mon Nov 07 18:35:55 2005 +0100
     1.3 @@ -13,7 +13,6 @@ XEN_ROOT = ../..
     1.4  include $(XEN_ROOT)/tools/Rules.mk
     1.5  
     1.6  SRCS       :=
     1.7 -BUILD_SRCS :=
     1.8  SRCS       += xc_bvtsched.c
     1.9  SRCS       += xc_core.c
    1.10  SRCS       += xc_domain.c
    1.11 @@ -24,25 +23,27 @@ SRCS       += xc_physdev.c
    1.12  SRCS       += xc_private.c
    1.13  SRCS       += xc_sedf.c
    1.14  SRCS       += xc_tbuf.c
    1.15 +
    1.16 +ifeq ($(XEN_TARGET_ARCH),x86_32)
    1.17 +SRCS       += xc_ptrace.c
    1.18 +SRCS       += xc_ptrace_core.c
    1.19 +endif
    1.20 +
    1.21 +BUILD_SRCS :=
    1.22  BUILD_SRCS += xc_linux_build.c
    1.23  BUILD_SRCS += xc_load_bin.c
    1.24  BUILD_SRCS += xc_load_elf.c
    1.25 +BUILD_SRCS += xg_private.c
    1.26  
    1.27  ifeq ($(XEN_TARGET_ARCH),ia64)
    1.28  BUILD_SRCS += xc_ia64_stubs.c
    1.29  else
    1.30 -ifeq ($(XEN_TARGET_ARCH),x86_32)
    1.31 -SRCS       += xc_ptrace.c
    1.32 -SRCS       += xc_ptrace_core.c
    1.33 -endif
    1.34  BUILD_SRCS += xc_load_aout9.c
    1.35  BUILD_SRCS += xc_linux_restore.c
    1.36  BUILD_SRCS += xc_linux_save.c
    1.37  BUILD_SRCS += xc_vmx_build.c
    1.38  endif
    1.39  
    1.40 -BUILD_SRCS += xg_private.c
    1.41 -
    1.42  CFLAGS   += -Wall
    1.43  CFLAGS   += -Werror
    1.44  CFLAGS   += -O3
    1.45 @@ -105,7 +106,7 @@ install: build
    1.46  .PHONY: TAGS clean rpm install all
    1.47  
    1.48  TAGS:
    1.49 -	etags -t $(SRCS) *.h
    1.50 +	etags -t *.c *.h
    1.51  
    1.52  clean:
    1.53  	rm -rf *.a *.so* *.o *.opic *.rpm $(LIB) *~ $(DEPS) xen