ia64/xen-unstable

changeset 5113:5288bd28bf98

bitkeeper revision 1.1523.1.1 (4292f383Cc0iiNE6syBhzLa27UwM7w)

Makefile:
Fix library link on systems which don't have libxc installed (yet).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue May 24 09:27:31 2005 +0000 (2005-05-24)
parents d8bcfd0c3742
children bc145d5c0aed d98308dd856e
files tools/xcutils/Makefile
line diff
     1.1 --- a/tools/xcutils/Makefile	Tue May 24 08:19:59 2005 +0000
     1.2 +++ b/tools/xcutils/Makefile	Tue May 24 09:27:31 2005 +0000
     1.3 @@ -32,14 +32,15 @@ PROG_DEP = .*.d
     1.4  PROGRAMS		= xc_restore
     1.5  
     1.6  xc_restore_OBJS		= xc_restore.o
     1.7 -xc_restore_LIBS		= xc
     1.8 +
     1.9 +LDLIBS			+= -L$(XEN_LIBXC) -lxc
    1.10  
    1.11  .PHONY: all
    1.12  all: build
    1.13  build: $(PROGRAMS)
    1.14  
    1.15  define PROGRAM_template
    1.16 - $(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%)
    1.17 + $(1): $$($(1)_OBJS)
    1.18   ALL_OBJS	+= $$($(1)_OBJS)
    1.19  endef
    1.20