DIRS+=server PROGS+=$(o)/server/subauthd CONFIGS+=subauthd $(o)/server/subauthd: $(addprefix $(o)/server/, subauthd.o cmd.o auth.o temp.o) $(o)/server/subauthd: LIBS+=$(LIBGCRYPT_LIBS) $(o)/server/auth.o: CFLAGS+=$(LIBGCRYPT_CFLAGS) .PHONY: install-server install:: install-server install-server: install -d -m 755 $(DESTDIR)$(INSTALL_SBIN_DIR) install -m 755 $(o)/server/subauthd $(DESTDIR)$(INSTALL_SBIN_DIR)