Index: code/unix/Makefile =================================================================== --- code/unix/Makefile (revision 252) +++ code/unix/Makefile (working copy) @@ -488,6 +488,26 @@ endif #IRIX endif #SunOS +BUILD_SERVER := 1 +ifneq ($(BUILD_SERVER),1) + TARGETS := $(subst $(B)/$(PLATFORM)q3ded,,$(TARGETS)) +endif + +BUILD_CLIENT := 1 +ifneq ($(BUILD_CLIENT),1) + TARGETS := \ + $(subst $(B)/baseq3/cgame$(ARCH).$(SHLIBEXT),,\ + $(subst $(B)/baseq3/ui$(ARCH).$(SHLIBEXT),,\ + $(subst $(B)/missionpack/cgame$(ARCH).$(SHLIBEXT),,\ + $(subst $(B)/missionpack/ui$(ARCH).$(SHLIBEXT),,\ + $(subst $(B)/baseq3/vm/cgame.qvm,,\ + $(subst $(B)/baseq3/vm/ui.qvm,,\ + $(subst $(B)/missionpack/vm/cgame.qvm,,\ + $(subst $(B)/missionpack/vm/ui.qvm,,\ + $(subst $(B)/$(PLATFORM)quake3-smp$(BINEXT),,\ + $(subst $(B)/$(PLATFORM)quake3$(BINEXT),,$(TARGETS) )))))))))) +endif + ifdef DEFAULT_BASEDIR BASE_CFLAGS += -DDEFAULT_BASEDIR=\\\"$(DEFAULT_BASEDIR)\\\" endif Index: i_o-q3-readme =================================================================== --- i_o-q3-readme (revision 252) +++ i_o-q3-readme (working copy) @@ -41,6 +41,11 @@ 1. If not already there, change to the directory containing this readme 2. Run 'make' +For distro maintainers, you can set some make variables: + DEFAULT_BASEDIR - extra path to search for baseq3 and such + BUILD_SERVER - build the 'q3ded' server binary (1 = build it, default = 1) + BUILD_CLIENT - build the 'quake3' client binary (1 = build it, default = 1) + Installing under Linux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In code/unix edit the Makefile's COPYDIR variable to be where you installed