summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-12 00:01:27 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-12 00:01:27 -0400
commit24de3887e5e3bba2b8a4f60d1224ac927b98b1ed (patch)
tree20a27018a7fae78205e0bfee7fac4db4c82c0dea /Makefile
parentc8f6735fce3d7ba5aa8019775d26b6999ed5a344 (diff)
stuff
- fix memory leaks (except for those from libusb) - fix graceful shutdown - fix systemd weirdness
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b17dec3..1e2e3bd 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ all: build
include config.mk
progs = freenect-server multipart-replace-http-server
-units = freenect-server-http.service freenect-server-http.socket freenect-server.service freenect-server@.socket
+units = freenect-server-http.service freenect-server-http.socket freenect-server.service
build: $(addprefix src/,$(progs)) $(addprefix systemd/,$(units))
.PHONY: build
@@ -53,12 +53,11 @@ CPPFLAGS += -MD -MF $(@D)/$(@F:%.o=.%.mk) -MP
-include src/.*.mk
# Dependencies that don't get figured out automatically
-src/freenect-server: src/util.o -lfreenect -lusb-1.0 -ljpeg
-src/multipart-replace-http-server: src/util.o src/wg.o src/multipart-replace.o -lpthread
+src/freenect-server: src/util.o -lsystemd -lfreenect -lusb-1.0 -ljpeg
+src/multipart-replace-http-server: src/util.o src/wg.o src/multipart-replace.o -lsystemd -lpthread
systemd/freenect-server-http.service: .var.user .var.group .var.bindir
systemd/freenect-server-http.socket: .var.httpstream
systemd/freenect-server.service: .var.user .var.group .var.bindir
-systemd/freenect-server@.socket: .var.user .var.group
# Rules to make things
COPYING.GPL3: