From 70fc89d31b81a0cc49fc4b8daf527dd187544d9e Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 8 Jun 2008 18:39:17 +0000 Subject: disable client prediction by default, add --without-client option to configure --- src/Makefile.am | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 37e1b2e..9c55179 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,10 +4,20 @@ SUFFIXES = .rc .rc.o: windres $< -o $@ -SUBDIRS = sys math auxiliary filesystem model core server audio render client \ - game +if BUILD_CLIENT + MAYBE_CLIENT_SUBDIRS = audio render client + MAYBE_CLIENT_PROGRAMS = osirion +endif + +SUBDIRS = sys math auxiliary filesystem model core server $(MAYBE_CLIENT_SUBDIRS) game + noinst_HEADERS = config.h + +if BUILD_CLIENT bin_PROGRAMS = osiriond osirion +else +bin_PROGRAMS = osiriond +endif # dedicated server osiriond_SOURCES = osiriond.cc -- cgit v1.2.3