! MMS file for building BUILD_INDEX.EXE and QUERY.EXE !******************************************************************** ! wilkinson ! 2.13VMS ! 1995/11/16 14:00 ! gopher_root1:[gopher2_0vms16.indexing]descrip.mms,v ! Exp ! ! Paul Lindner, University of Minnesota CIS. ! ! Copyright 1991, 1992 by the Regents of the University of Minnesota ! see the file "Copyright" in the distribution for conditions of use. !******************************************************************** ! MODULE: descrip.mms ! make description for VMS/MMS !********************************************************************* ! Revision History: ! descrip.mms,v ! Revision 2.13VMS 1995/11/16 14:00 wilkinson ! Initial revision ! ! !********************************************************************/ ! ! Expected command line macros (MMS/MACRO=(...)) ! DEC_C or VAX_C - which compiler to use ! DEBUG or NODEBUG - compile/link debug/non-debug server ! HARDWARE - select architecture-appropriate directories ! Expected DCL symbols ! macros - use $(macros) for /DEFINE=() on compilations ! exe - use $(EXE) for executables target directory ! lis - use $(LIS) for listings target directory ! obj - use $(OBJ) for objects target directory ! inc - use $(INC) for include file source directories GOPHERD_VERSION = 2.1VMS-3 .suffixes .suffixes : .exe .olb .obj .c .h XX = [-.object] .IFDEF DEBUG BX=$(EXE)build_index_debug.exe Q=$(EXE)query_debug.exe LK_DBG = /debug CC_DBG = /debug/noopt DBG = ,DEBUGGING .ELSE BX=$(EXE)build_index.exe Q=$(EXE)query.exe LK_DBG = /nodebug CC_DBG = /nodebug DBG = .ENDIF .IFDEF DEC_C LK_OPTS = [-.optfiles]DECC.opt .ELSE LK_OPTS = [-.optfiles]VAXC.opt .ENDIF .c.obj $(cc) $< !== Build_Index, Query Executables ================================= ! The Query object file list Q_OBJECT =- $(OBJ)query.obj ! The Build_Index object file list BX_OBJECT =- $(OBJ)build_index.obj,- $(OBJ)indexcld.obj ! Link the executables indexing : $(Q) $(BX) .IFDEF DEBUG @ write sys$output " Indexing Tools Executables Built!" .ELSE @ write sys$output " Indexing Tools Executables Built!" .ENDIF $(BX) : $(BX_OBJECT),[-.optfiles]ident.opt,$(LK_OPTS) @ write sys$output " " @ write sys$output " " link$(LK_DBG)/exe=$(BX) $(BX_OBJECT),[-.optfiles]ident/opt,$(LK_OPTS)/opt @ write sys$output " " @ write sys$output " " .IFDEF DEBUG @ write sys$output " Build_Index Executable Built!" .ELSE @ write sys$output " Build_Index Executable Built!" .ENDIF $(Q) : $(Q_OBJECT),[-.optfiles]ident.opt,$(LK_OPTS) @ write sys$output " " @ write sys$output " " link$(LK_DBG)/exe=$(Q) $(Q_OBJECT),[-.optfiles]ident/opt,$(LK_OPTS)/opt @ write sys$output " " @ write sys$output " " .IFDEF DEBUG @ write sys$output " Query Executable Built!" .ELSE @ write sys$output " Query Executable Built!" .ENDIF !== Indexing Tools Source Files =================================== $(OBJ)build_index.obj : build_index.c $(OBJ)indexcld.obj : indexcld.cld set command/object=$(OBJ) indexcld.cld $(OBJ)query.obj : query.c .