# # 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. # overall configuration options # PROTOCOL:= hl7 VERSION := v2.1 #LOCAL-PREFIX = /usr/local LOCAL-PREFIX = /home/schadow CC = gcc COPT = -g -Wall #CSHARED = -fPIC INCLUDE += -I$(LOCAL-PREFIX)/include LD = gcc # command for partial linking: LDR = ld -r LDOPT = LNCLUDE += -L$(LOCAL-PREFIX)/lib # # System dependent options # OS := $(shell uname -s) AR = ar ARFLAGS = usv RANLIB = touch # ranlib CD = cd CP = cp LN = ln LNS = ln -s MV = mv RM = rm MKDIRHIER = mkdir -p M4 = m4 FIND_OR = -or INCLUDE += -I$(LOCAL-PREFIX)/lib/g++-include # If you need the regular expression library that contains the # regsub() function, uncomment this. It is very unlikely that # your system has it. # NEED_REGSUB = 1 # If your system does not have a strsep(3) function uncomment the # following definition. Newer BSD systems (Net2, 4.4) have this # function. # #NEED_STRSEP = 1 # If your system does not have a syslog(3) call or you don't feel # like using it, comment out the following definition. # NEED_SYSLOG = 1 # If your system does not have the list of signal messages # const char *sys_siglist[NSIG]; # you should compile one and give it's name here. # #NEED_SIGLIST = hpux-siglist.c # If your system does not have the usleep() function #NEED_USLEEP = 1 # If your system does not have the ualarm() function NEED_UALARM = 1 PL_CMD = $(LOCAL-PREFIX)/bin/pl PL_RUNTIME = $(LOCAL-PREFIX)/lib/pl/runtime/i386/pl.o PL_DYNAMIC_FOREIGN = -DDYNAMIC_FOREIGN PL_WITH_REGSUB = -DWITH_REGSUB PL_DYNAMIC_LOAD = ":- load_foreign(pltools, init_pltools)."