include ../makeinit.vms # Override any Alpha flags in makeinit.vms. ifdef ALPHA CFLAGS += /pointer_size=short MAKE_DEFS = endif # Override any Itanium flags in makeinit.vms. ifdef IA64 CFLAGS += /pointer_size=short MAKE_DEFS = "IA64=1" endif # VAX only compiler flags. ifdef VAX CFLAGS += MAKE_DEFS = "VAX=1" endif # Compiler flags we always want CFLAGS += /prefix=all /include=([],krb$$root:[include]) LFLAGS += /map/full ifdef DEBUG CFLAGS += /debug/nooptimize/lis/show=all DEFINES += ,"DEBUG=1" LFLAGS += /debug MAKE_DEFS += "DEBUG=1" else LFLAGS += /nodebug ### /notraceback endif CFLAGS += /define=($(DEFINES)) TARGETS = gss-sample, sample, simple, user-user all: com_init $(TARGETS) com_init:: @define/job/nolog gssapi krb$$root:[include] gss-sample:: gmake -f makefile.vms "-C" gss-sample $(MAKE_DEFS) sample:: gmake -f makefile.vms "-C" sample $(MAKE_DEFS) simple:: gmake -f makefile.vms "-C" simple $(MAKE_DEFS) user-user:: gmake -f makefile.vms "-C" user_user $(MAKE_DEFS) $(OBJLIB): $(OBJS) @if f$$search("$@") .eqs. "" then library /create $@ library /replace /log $@ $? clean: @gmake -f makefile.vms "-C" gss-sample clean @gmake -f makefile.vms "-C" gss-sample "VAX=1" clean @gmake -f makefile.vms "-C" gss_sample "IA64=1" clean @gmake -f makefile.vms "-C" sample clean @gmake -f makefile.vms "-C" simple clean @gmake -f makefile.vms "-C" user_user clean @gmake -f makefile.vms "-C" user_user "VAX=1" clean @gmake -f makefile.vms "-C" user_user "IA64=1" clean help: @$(ECHO) " gmake -? - Displays general Gmake help for using Gmake from the command line." @$(ECHO) " gmake help - Displays help for using/typing gmake in this directory." @$(ECHO) "" @$(ECHO) " gmake - Builds everything from the current directory down." @$(ECHO) " gmake ""DEBUG=1"" - Builds everything with DEBUG" @$(ECHO) "" @$(ECHO) " gmake gss-sample - Builds the 32 bit MIT gss-sample example" @$(ECHO) " gmake sample - Builds the 32 bit MIT sample example" @$(ECHO) " gmake simple - Builds the 32 bit MIT simple example" @$(ECHO) " gmake user_user - Builds the 32 bit MIT user-user example" @$(ECHO) " Note: Each of these command lines can have ""DEBUG=1"" appended to build debug versions." @$(ECHO) "" @$(ECHO) " gmake clean - Cleans the entire tree below this current directory"