Skip to contentSkip to conversation

xl: Move xl command implementation to a seperate file

PATCH In review Yang Hongyang 1 participant 1 message Apr 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 xl: Move xl command implementation to a seperate file

Move xl command implementation to a seperate file

tools/libxl/Makefile +4 -1
diff -r 9a1d7caa2024 -r d23a0a1823ef tools/libxl/Makefile
@@ -70,7 +70,10 @@
 xl.o: xl.c
 	$(CC) $(CFLAGS) -c xl.c
 
-$(CLIENTS): xl.o libxlutil.so libxenlight.so
+xl_cmdimpl.o: xl_cmdimpl.c
+	$(CC) $(CFLAGS) -c xl_cmdimpl.c
+
+$(CLIENTS): xl.o xl_cmdimpl.o libxlutil.so libxenlight.so
 	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 .PHONY: install
tools/libxl/xl.c +3 -2719

2,746 lines not on this page · raw message

tools/libxl/xl_cmdimpl.c new file +2750 -0

243 lines not on this page · raw message

tools/libxl/xl_cmdimpl.h new file +38 -0
diff -r 9a1d7caa2024 -r d23a0a1823ef tools/libxl/xl_cmdimpl.h

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 2 lines
Regards
Yang Hongyang

Part of the diff is not shown here. View the raw message.