# # Copyright (c) 1995, 1996 Gunther Schadow. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # Site dependent configuration options # # # Which protocol you want to build (currently only ``hl7'') # PROTOCOL= hl7 # # Which version of the protocol (``v2.1'' or ``v2.2'') # VERSION = v2.2 # # Where the standard documents reside (commonly for all versions) # (Word 5.0 or WinWord format) # HL7STDIR= $(HOME)/HL7 # # The extension of the standard document files # HL7STEXT=.doc # # the common root name of all chapter files # HL7CHP=hl7chp # # the common root name of all appendix files # HL7APP=hl7app # # whether you want to build code for CareVue HL7 CAREVUE = 0 # # whether you want to build UKBF extensions UKBF = 0 # # The GNU C/C++ compiler (preferably of release 2.7.0) # CC = gcc # # Default options for the C/C++ Compiler # (I personally discurage the use of -O, text size inreases a lot by # inlining the inline functions --- should inline functions be used # at all?) # COPT = -g -Wall # # Do you want to build shared libraries? # #CSHARED = -fPIC # # Where the libg++ include files live # # for libg++-2.7.0a please rename $(GXXINCL)/string.h to something else, # since your operating system's /usr/include/string.h will provide more # declarations, which are as well C++ clean (or at leas should be). # GXXINCL = /usr/local/lib/g++-include # # Non-standard directories where include files are # INCLUDE += -I/usr/local/include # # The linker options # LD = gcc LDOPT = LNCLUDE = -L/usr/local/lib # # Install variables # PREFIX = /usr/local PGBASE = $(PREFIX)/protogen PGINCLUDE = $(PGBASE)/include PGLIB = $(PGBASE)/lib PGCODE = $(PGBASE)/codes PGBIN = $(PGBASE)/bin PGETC = $(PGBASE)/etc PGDOC = $(PGBASE)/doc PGVAR = $(PGBASE)/var PGLOG = $(PGVAR)/log PGSPOOL= $(PGVAR)/spool # # Your particular SWI prolog installation is described here # # Options for the handling of SWI-Prolog seem a bit too much at # the first glance, but don't care too much: I recommend you to # use *only* pl-2.1.0 (neither less nor more) and use static linking # of foreign functions. This is save, this works, and saves you from # unnecessary troubles. # # Where your prolog executable resides # PL_CMD = my-pl # # Where the relink library is found # PL_RUNTIME = /usr/local/lib/pl-2.1.0/runtime/RisCy1.1-GarNix4.0.1/pl.o # ####### # Libraries to include when pl is relinked, depends on whether you had # the libreadline.a installed when you built the pl system. # # either: # #PL_LIBS = -ltermcap # # or: # PL_LIBS = -lreadline -ltermcap # ####### # Whether your pl can do dynamic foreign predicate loading (just say no # i.e. leave it commented out) # #PL_DYNAMIC_FOREIGN = 1