# # 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. # System dependent options for ......... # # Please enter a name here that matches the basebame of this file # and reflects your machine/operating system (not your hostname!) # PLATFORM = RisCy1.1-GarNix4.0.1 include $(TOPDIR)/site.mk ###### # # In the following section, tell me which features your system lacks # if you don't know, look in your manuals, include files or even the # standard libraries (e.g. libc.h or something like libPW.h or libBSD.h) # A library is searched by the `nm' command. # ifndef NEED_REGSUB # 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 endif ifndef NEED_STRSEP # 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 endif ifndef NEED_STRRSTR # If your system does not have a strrstr(3) function uncomment the # following definition. # NEED_STRRSTR = 1 endif ifndef NEED_SYSLOG # If your system does not have a syslog(3) call or you don't feel # like using it, comment out the following definition. This will # make a fake syslog function that serves as a drop in but logs # to a file instead of the syslog port. # #NEED_SYSLOG = 1 endif ifndef NEED_CONFIG # If your system does not have Poul-Henning Kamp's # config_... utility, set NEED_CONFIG to 1. # This will most probably be necessary on any other system than # FreeBSD. # NEED_CONFIG = 1 endif ifndef NEED_SIGLIST # If your system does not have the list of signal messages # const char *sys_siglist[NSIG]; # you should create one and give it's name here. (HPUX 9 needs # this, so you have an example in config/hpux-siglist.c # #NEED_SIGLIST = hpux-siglist.c endif ifndef NEED_CFMAKERAW # If your system does not have a CFMAKERAW function which is 4.3 BSD # style (but not POSIX) then define this # NEED_CFMAKERAW = 1 endif ifndef NEED_USLEEP # If your system does not have the usleep() function #NEED_USLEEP = 1 endif ifndef NEED_UALARM # If your system does not have the ualarm() function #NEED_UALARM = 1 endif # # programs # YACC = bison -y # GNU bison is known to work here LEX = flex # this should be GNU flex INSTALL = $(TOPDIR)/compat/install -c -m 644 INSTBIN = $(TOPDIR)/compat/install -c -s -m 755 AR = ar ARFLAGS = uv RANLIB = ranlib CD = cd CP = cp LN = ln LNS = ln -s MV = mv RM = rm MKDIRHIER = mkdir -p M4 = m4 AWK = awk FIND_OR = -or # # command for 'partial' linking: # LDR = ld -r ###################################################################### # You won't need to change anything below! ##################################################################### ifndef CC CC = gcc endif ifndef COPT COPT = -g -Wall endif ifndef LD LD = $(CC) endif ifndef PL_RUNTIME error Please specify the Path to the pl.o file endif ifndef PL_CMD PL_CMD = my-pl endif ifdef PL_DYNAMIC_FOREIGN PL_DYNAMIC_FOREIGN = -DDYNAMIC_FOREIGN endif ifndef PL_DYNAMIC_LOAD ifdef PL_DYNAMIC_FOREIGN PL_DYNAMIC_LOAD = ":- load_foreign(pltools, init_pltools)." endif endif ifndef PL_WITH_REGSUB PL_WITH_REGSUB = -DWITH_REGSUB endif ifndef PL_VERSION PL_VERSION = -DSWIPL=2 endif