forked from altcloud/fence-virt
Add checkpoint.so to the build
Even though it doesn't work yet ;) Signed-off-by: Lon Hohberger <lhh@redhat.com>
This commit is contained in:
parent
082eb8be09
commit
68c5d1c57b
@ -13,12 +13,14 @@
|
||||
include ../Makefile.top
|
||||
|
||||
|
||||
TARGETS=fence_virtd libvirt.so
|
||||
TARGETS=fence_virtd libvirt.so checkpoint.so
|
||||
|
||||
fence_virtd_SOURCES = mcast.c main.c plugin.c
|
||||
|
||||
libvirt_so_SOURCES = libvirt.c
|
||||
|
||||
checkpoint_so_SOURCES = virt.c vm_states.c
|
||||
|
||||
INCLUDES=-I../include\
|
||||
-I/usr/include/openais -I/usr/include/libvirt \
|
||||
-I/usr/include/nss3 -I/usr/include/nspr4 \
|
||||
@ -40,6 +42,9 @@ fence_virtd: ${fence_virtd_SOURCES:.c=.o}
|
||||
libvirt.so: ${libvirt_so_SOURCES:.c=.o}
|
||||
gcc -o $@ $^ $(LIBS) -shared
|
||||
|
||||
checkpoint.so: ${checkpoint_so_SOURCES:.c=.o}
|
||||
gcc -o $@ $^ $(LIBS) -shared
|
||||
|
||||
%.o: %.c
|
||||
gcc $(CFLAGS) -c -o $@ $^ $(INCLUDES)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user