/* Copyright (C) 1989, Digital Equipment Corporation */ /* All rights reserved. */ /* See the file COPYRIGHT for a full description. */ /* Last Modified On Wed Jul 18 02:48:02 1990 By muller */ /* Modified On Tue May 8 1990 by orgass@ibm.com */ /* Standard configuration file for DS3100 */ MACHINE = DS3100 #define DS3100_ARCHITECTURE /* Path names defined in the rest of this file will be prefixed by PREFIX or INSTALL_PREFIX, depending on the context. When a path is used in the documentation or in the Modula-3 driver, PREFIX is used. When a file is installed, INSTALL_PREFIX is used. That is, if PREFIX is 'a', INSTALL_PREFIX is 'b' and LIBDIR is 'c', the Modula-3 driver will look for the Modula-3 runtime in 'a/c', but 'make install' will attempt to put it in 'b/c'. */ PREFIX = /usr/local INSTALL_PREFIX = $(PREFIX) /* Make sure that the directories you mention in this file exist: BINDIR, LIBDIR, MANDIR{1,5,7}, UEMACSDIR; remember, these paths are relative to PREFIX and/or INSTALL_PREFIX */ /* The Modula-3 driver goes there. */ BINDIR = bin /* The object files and libraries necessary to run Modula-3 go in LIBDIR. */ LIBDIR = lib/m3 /* The manual pages go there. A '1', '5' or '7' is added to the value of this symbol according to the type of manual page. */ MANDIR = man/man /* The Unipress-Emacs mocklisp files go there */ UEMACSDIR = lib/emacs /* If you have X11R4 installed and would like the X11R4 binding and demos to be built, define HAVE_X11R4 and the paths to the X libraries */ #define HAVE_X11R4 #if defined(HAVE_X11R4) LIBX11 = /src/misc/X11R4/pmax/mit/lib/X/libX11.a LIBXT = /src/misc/X11R4/pmax/mit/lib/Xt/libXt.a LIBXMU = /src/misc/X11R4/pmax/mit/lib/Xmu/libXmu.a LIBXEXT = /src/misc/X11R4/pmax/mit/extensions/lib/libXext.a LIBXAW = /src/misc/X11R4/pmax/mit/lib/Xaw/libXaw.a #endif /* If you have TeX, define HAVE_TeX and define DVIPS to convert DVI files to PostScript (or whatever your printer accepts) */ /*#define HAVE_TeX*/ #if defined (HAVE_TeX) DVIPS = dvips #endif /* CC is the compiler that will be used for the installed version of the system */ CC = /bin/cc /* If you are doing a port, BOOT_CC is the version of CC used for building the cross-compiler on the host machine */ BOOT_CC = $(CC) /* These optimization/debug options are used for the compilation of SRC Modula-3. In the case of a boot, they are for BOOT_CC. */ COPT = -O1 /* or nothing or -g for debug */ M3OPT = -X1O1 /* or nothing or -X1g for debug */ /* Some versions of make(1) let us specify the shell to use. In any case, we want sh */ SHELL = /bin/sh /* During the load phase, we use nm(1), but we do not care about the order of the symbols. Some versions support the -p option that removes sorting */ NM = nm -p /* Everyone's ld is different, of course. Here are the options that need to be present */ LD = /bin/ld /* Not only that, but some ld require a space between the -L option and its value, some don't. Define this symbol to be 1 if yours wants it, 0 otherwise. */ LD_WANTS_SPACE_AFTER_L = 0 /* Ranlib is another of these things that differ from one machine to the next */ RANLIB = ar ts /* What about CPP ? */ CPP = /lib/cpp /* And install ? */ INSTALL = install -c /* Here are the pieces that the Modula-3 driver needs */ PASS0 = $(PREFIX)/$(LIBDIR)/m3compiler PASS1 = $(CC) PASS2 = $(PREFIX)/$(LIBDIR)/m3ld /* This is the name of the operating system interface library */ UNIX_LIB = ultrix-3.1 /* The Modula-3 interfaces will be searched along this path. The standard interfaces are installed in LIBDIR. */ #if defined(HAVE_X11R4) DEFPATH_X = -D$(PREFIX)/$(LIBDIR)/X11 \ -D$(PREFIX)/$(LIBDIR)/Xt \ -D$(PREFIX)/$(LIBDIR)/Xaw #else DEFPATH_X = #endif DEFPATH = -D \ -D$(PREFIX)/$(LIBDIR)/core \ -D$(PREFIX)/$(LIBDIR)/$(UNIX_LIB) \ -D$(PREFIX)/$(LIBDIR)/io \ -D$(PREFIX)/$(LIBDIR)/data \ -D$(PREFIX)/$(LIBDIR)/math \ -D$(PREFIX)/$(LIBDIR)/misc \ $(DEFPATH_X) \ -D. /* This collection of -L options is passed to the loader */ #if defined(HAVE_X11R4) LIBPATH_X = -L$(PREFIX)/$(LIBDIR)/X11 \ -L$(PREFIX)/$(LIBDIR)/Xt \ -L$(PREFIX)/$(LIBDIR)/Xaw #else LIBPATH_X = #endif LIBPATH = -L$(PREFIX)/$(LIBDIR)/core \ -L$(PREFIX)/$(LIBDIR)/$(UNIX_LIB) \ -L$(PREFIX)/$(LIBDIR)/io \ -L$(PREFIX)/$(LIBDIR)/data \ -L$(PREFIX)/$(LIBDIR)/math \ -L$(PREFIX)/$(LIBDIR)/misc \ $(LIBPATH_X) /* These files are systematically link with C programs */ CLINKFILES = -lm /* These files are systematically link with Modula-3 programs */ LINKFILES = $(PREFIX)/$(LIBDIR)/m3run.o -lm3$(UNIX_LIB) -lm3core $(CLINKFILES) /* These files are linked with Modula-3 programs when -Z is specified */ LINKCOVER = $(PREFIX)/$(LIBDIR)/report_coverage.o /* The C code generated by the Modula-3 to C translator #include's some basic files, to be found in this directory. */ INCLDIR = $(PREFIX)/$(LIBDIR)