Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3160499aacb81f6735941eb4c372d87a > files > 9

kvm-83-164.el5_5.30.src.rpm

From eb53b62db9eb6cd2e077c43b9c4f5b84c7841a8d Mon Sep 17 00:00:00 2001
From: Andrea Arcangeli <aarcange@redhat.com>
Date: Tue, 20 Jan 2009 22:26:06 +0100
Subject: [PATCH 08/54] ksmctl buildsystem

Build and clean ksmctl along with kvmctl.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
RH-Upstream-status: pending
---
 user/Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/user/Makefile b/user/Makefile
index cf7f8ed..7a3f1f3 100644
--- a/user/Makefile
+++ b/user/Makefile
@@ -41,9 +41,14 @@ LDFLAGS += -pthread -lrt
 
 kvmtrace_objs= kvmtrace.o
 
+all: kvmctl ksmctl
+
 kvmctl: $(kvmctl_objs)
 	$(CC) $(LDFLAGS) $^ -o $@
 
+ksmctl: ksmctl.c
+	$(CC) $(LDFLAGS) $^ -o $@
+
 kvmtrace: $(kvmtrace_objs)
 	$(CC) $(LDFLAGS) $^ -o $@
 
@@ -56,4 +61,4 @@ $(libcflat): $(cflatobjs)
 -include .*.d
 
 clean: arch_clean
-	$(RM) kvmctl kvmtrace *.o *.a .*.d $(libcflat) $(cflatobjs)
+	$(RM) kvmctl ksmctl kvmtrace *.o *.a .*.d $(libcflat) $(cflatobjs)
-- 
1.6.1