easier testing

master
Avril 5 years ago
parent f57d643333
commit 4506b6a2bc
Signed by: flanchan
GPG Key ID: 284488987C31F630

1
.gitignore vendored

@ -1,4 +1,5 @@
libsipc/sipcli
sipcli
*.o
libsipc/*.so
*.socket

@ -4,9 +4,14 @@ LOCAL_PROJECTS:=$(HOME)/quicklisp/local-projects
ffi:
cd libsipc && make libsipc-ffi
utils:
cd libsipc && make all-ffi
ln -sf libsipc/sipcli sipcli
clean:
cd libsipc && make clean
rm -f *.socket
rm -f sipcli
install-ffi:
if [[ $(shell id -u) == 0 ]]; then cp -f libsipc.so /usr/lib/libsipc.so; fi

@ -9,7 +9,7 @@ The symlinked libsipc.so will resolve after the ffi library is built and the pac
Additionally you can run `sudo make install-ffi' to make it work system-wide (installed to /usr/lib/libsipc.so) (`sudo make uninstall' to remove it)
Or you can copy/symlink libsipc/libsipc-ffi.so to wherever you need.
Additional tools can be built by running `make all-ffi' in the libsipc/ directory.
Additional tools can be built by running `make all-ffi' in the libsipc/ directory (or `make utils' in this one).
Functions:
sipc:bind(file) ;; Bind to socket `file'. Returns the socket descriptor on success and nil on fail (the socket must not already exist)

Loading…
Cancel
Save