# # 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 1.1.5.1 with lots of GNU # utilities. # PLATFORM = sunOS include $(TOPDIR)/site.mk # # The GNU C/C++ compiler (preferably of release 2.7.0) # CC = gcc ifndef COPT COPT = -g -Wall endif COPT += -D__USE_FIXED_PROTOTYPES__ ifndef CSHARED #CSHARED = -fPIC endif # # 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). # ifndef GXXINCL GXXINCL = /usr/local/lib/g++-include endif # # The linking options # ifndef LD LD = gcc endif # command for partial linking: ifndef LDR LDR = ld -r endif ifndef LDOPT LDOPT = endif # # programs # INSTALL = install -c -m644 INSTBIN = install -c -s -m755 ifndef AR AR = ar ARFLAGS = ruv endif RANLIB = ranlib CD = cd CP = cp LN = ln LNS = ln -s MV = mv RM = rm MKDIRHIER = mkdir -p M4 = m4 ifndef AWK AWK = awk endif 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_STRSTR # 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_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_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 compile one and give it's name here. # #NEED_SIGLIST = hpux-siglist.c 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/runtime/i386-freebsd/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