SIGTERM again
[handlervirt.git] / Makefile
blobef4193488fd4945ba94ab530a8a61c38e713823f
1 all: handler_example.c
2 gcc -g -o create create.c
3 gcc -g -Wall -lrrd -lavahi-client -o rrdsaver rrdsaver.c
4 # gcc -g -lavahi-client -L/opt/libvirt/lib -lvirt -o domumdns domumdns.c
5 # gcc -g -lavahi-client -L/opt/libvirt/lib -lvirt -o offer offer.c
6 # gcc -g -fPIC -shared -I/opt/cherokee/include -o libplugin_example.so handler_example.c
7 # gcc -g -fPIC -shared -I/opt/cherokee/include -lavahi-client -o libplugin_avahi.so handler_avahi.c
8 gcc -DTRACE_ENABLED -D_GNU_SOURCE -I/usr/include/libxml2 -g -fPIC -shared -I/opt/cherokee/include -lrrd -lavahi-client -L/opt/domu/lib -lvirt -o libplugin_virt.so handler_clusterstats.c handler_virt.c handler_virt_dnsmasq.c handler_virt_domains.c handler_virt_tender.c
9 # gcc -g -fPIC -shared -I/opt/cherokee/include -lavahi-client -o libplugin_clusterstats.so handler_clusterstats.c
11 install:
12 cp *.so /opt/cherokee/lib/cherokee/.
13 cp Module*.py /opt/cherokee/share/cherokee/admin/.