include ../../makeinit.vms # Alpha only compiler flags. ifdef ALPHA ifdef 64BIT MAKE_DEFS = "64BIT=1" else MAKE_DEFS = endif endif ifdef IA64 ifdef 64BIT MAKE_DEFS = "IA64=1 64BIT=1" else MAKE_DEFS = "IA64=1" endif endif ifdef VAX MAKE_DEFS = "VAX=1" endif ifdef DEBUG MAKE_DEFS += "DEBUG=1" endif TARGETS = sclient sserver all: $(TARGETS) sclient:: gmake -f makefile.vms "-C" sclient $(MAKE_DEFS) sserver:: gmake -f makefile.vms "-C" sserver $(MAKE_DEFS) $(OBJLIB): $(OBJS) @if f$$search("$@") .eqs. "" then library /create $@ library /replace /log $@ $? clean: @gmake -f makefile.vms "-C" sclient clean @gmake -f makefile.vms "-C" sserver clean @gmake -f makefile.vms "VAX=1" "-C" sclient clean @gmake -f makefile.vms "VAX=1" "-C" sserver clean @gmake -f makefile.vms "IA64=1" "-C" sclient clean @gmake -f makefile.vms "IA64=1" "-C" sserver clean help: @$(ECHO) " gmake -? - Displays general command line Gmake help" @$(ECHO) " gmake help - Displays help for using/typing gmake in this directory" @$(ECHO) "" @$(ECHO) " gmake - Builds sclient & sserver in their respective directories" @$(ECHO) " gmake ""DEBUG=1"" - Builds everything with DEBUG" @$(ECHO) "" @$(ECHO) " gmake clean - Cleans the sserver and sclient directories"