# # 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 FreeBSD 2.1 with lots of GNU # utilities. # PLATFORM = rs6000-AIX3.2 include $(TOPDIR)/site.mk # # The GNU C/C++ compiler (preferably of release 2.7.0) # CC = gcc ifndef COPT COPT = -g -Wall endif ifndef CSHARED #CSHARED = -fPIC endif INCLUDE += -I/usr/local/include # # Where 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 # # The linking options # LD = gcc # command for partial linking: LDR = ld -r ifndef LDOPT LDOPT = endif LNCLUDE += -L/usr/local/lib # # 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 = usv 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 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. # #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 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. # #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 ifndef PL_CMD PL_CMD = my-pl endif ifndef PL_RUNTIME PL_RUNTIME = /usr/local/lib/pl-2.1.0/runtime/rs6000-aix3.2/pl.o 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