]> mj.ucw.cz Git - subauth.git/blob - server/Makefile
Debian packaging: init
[subauth.git] / server / Makefile
1 DIRS+=server
2
3 PROGS+=$(o)/server/subauthd
4 CONFIGS+=subauthd
5
6 $(o)/server/subauthd: $(addprefix $(o)/server/, subauthd.o cmd.o auth.o temp.o)
7 $(o)/server/subauthd: LIBS+=$(LIBGCRYPT_LIBS)
8 $(o)/server/auth.o: CFLAGS+=$(LIBGCRYPT_CFLAGS)
9
10 .PHONY: install-server
11 install:: install-server
12 install-server:
13         install -d -m 755 $(DESTDIR)$(INSTALL_SBIN_DIR)
14         install -m 755 $(o)/server/subauthd $(DESTDIR)$(INSTALL_SBIN_DIR)