Move updating the acl object into serve.c

* * *
Replacing the server acl sends an acl_updated signal
This commit is contained in:
Alex Young
2012-06-08 10:32:33 +01:00
parent 5fb0cd4cca
commit f7e1a098b1
5 changed files with 109 additions and 10 deletions

View File

@@ -96,8 +96,23 @@ file check("acl") =>
gcc_link t.name, t.prerequisites + [LIBCHECK]
end
file check("serve") =>
%w{tests/check_serve.c
build/self_pipe.o
build/nbdtypes.o
build/control.o
build/readwrite.o
build/parse.o
build/client.o
build/serve.o
build/acl.o
build/ioutil.o
build/util.o} do |t|
gcc_link t.name, t.prerequisites + [LIBCHECK]
end
(TEST_MODULES- %w{acl client}).each do |m|
(TEST_MODULES- %w{acl client serve}).each do |m|
deps = ["tests/check_#{m}.c", "build/ioutil.o", "build/util.o"]
maybe_obj_name = "build/#{m}.o"