Skip to content
Snippets Groups Projects
Verified Commit 2ee4c776 authored by Petr Špaček's avatar Petr Špaček
Browse files

client: move sources into separate directory

Let's not mix daemon and client files as client might grow to multiple
files in future. This will also help with upcomming changes to packaging
scripts.
parent f9742127
No related branches found
No related tags found
1 merge request!409Pre-2.0 cleanup
...@@ -43,9 +43,9 @@ _obj ...@@ -43,9 +43,9 @@ _obj
/aclocal.m4 /aclocal.m4
/ltmain.sh /ltmain.sh
/ylwrap /ylwrap
/client/kresc
/doc/doxyxml /doc/doxyxml
/doc/html /doc/html
/daemon/kresc
/daemon/kresd /daemon/kresd
/daemon/lua/*.inc /daemon/lua/*.inc
/daemon/lua/kres.lua /daemon/lua/kres.lua
......
...@@ -187,6 +187,7 @@ $(DESTDIR)$(ETCDIR): ...@@ -187,6 +187,7 @@ $(DESTDIR)$(ETCDIR):
# Sub-targets # Sub-targets
include contrib/contrib.mk include contrib/contrib.mk
include lib/lib.mk include lib/lib.mk
include client/client.mk
include daemon/daemon.mk include daemon/daemon.mk
include modules/modules.mk include modules/modules.mk
include tests/tests.mk include tests/tests.mk
......
# Experimental client requires libedit
ifeq ($(HAS_libedit), yes)
kresc_SOURCES := client/kresc.c
kresc_CFLAGS += -fPIE $(libedit_CFLAGS)
kresc_LIBS += $(contrib_TARGET) $(libedit_LIBS)
kresc_DEPEND := $(libkres) $(contrib)
$(eval $(call make_sbin,kresc,client,yes))
client: $(kresc)
client-install: kresc-install
client-clean: kresc-clean
.PHONY: client client-install client-clean
endif
File moved
...@@ -77,16 +77,4 @@ daemon/lua/kres-gen.lua: | $(libkres) ...@@ -77,16 +77,4 @@ daemon/lua/kres-gen.lua: | $(libkres)
daemon/lua/kres-gen.sh | sed 's/ /\t/g' > $@ daemon/lua/kres-gen.sh | sed 's/ /\t/g' > $@
.DELETE_ON_ERROR: daemon/lua/kres-gen.lua .DELETE_ON_ERROR: daemon/lua/kres-gen.lua
# Client .PHONY: daemon daemon-install daemon-clean
ifeq ($(HAS_libedit), yes)
kresc_SOURCES := daemon/kresc.c
kresc_CFLAGS += -fPIE $(libedit_CFLAGS)
kresc_LIBS += $(contrib_TARGET) $(libedit_LIBS)
kresc_DEPEND := $(libkres) $(contrib)
$(eval $(call make_sbin,kresc,daemon,yes))
client: $(kresc)
client-install: kresc-install
client-clean: kresc-clean
endif
.PHONY: daemon daemon-install daemon-clean client client-install client-clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment