Don't try to build QW if we don't have UDP.

This commit is contained in:
Marcus Sundberg 2000-01-07 01:13:47 +00:00
parent eab5b194a5
commit 475651495e

View file

@ -1,5 +1,11 @@
SUBDIRS = qw_client qw_server uquake
SRC_DIR = @srcdir@ SRC_DIR = @srcdir@
HAVE_UDP = @HAVE_UDP@
ifeq ($(HAVE_UDP),yes)
SUBDIRS = qw_client qw_server uquake
else
SUBDIRS = uquake
endif
DESTDIR = DESTDIR =
@ -27,8 +33,8 @@ clean-autoconf mrproper: distclean
@for dir in $(SUBDIRS); do \ @for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@ || exit; \ $(MAKE) -C $$dir $@ || exit; \
done done
changelog: changelog:
@echo "CVS will ask for a passwd, press enter" @echo "CVS will ask for a passwd, press enter"
cvs -d$(ANONCVS) login cvs -d$(ANONCVS) login
@ -52,4 +58,3 @@ qw_server/Makefile: qw_server/Makefile.in configure
uquake/Makefile: uquake/Makefile.in configure uquake/Makefile: uquake/Makefile.in configure
./configure ./configure
endif endif