From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reiner Sailer Subject: [PATCH][BUGFIX] secpol_tool Makefile fix Date: Tue, 09 May 2006 10:25:30 -0400 Message-ID: <4460A65A.5050008@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This small patch fixes new make-dependencies of the secpol_tool Signed-off by: Reiner Sailer --- xen-unstable.hg-shype.orig/tools/security/Makefile +++ xen-unstable.hg-shype/tools/security/Makefile @@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror CFLAGS += -fno-strict-aliasing -CFLAGS += -I. +CFLAGS += -I. -I $(XEN_LIBXC) CPPFLAGS += -MMD -MF .$*.d PROG_DEPS = .*.d @@ -89,7 +89,7 @@ build: mk-symlinks $(ACM_INST_TOOLS) $(A chmod 700 $(ACM_SCRIPTS) xensec_tool: $(OBJS_TOOL) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -L$(XEN_LIBXC) -lxenctrl xensec_xml2bin: $(OBJS_XML2BIN) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^