1#ident "@(#)i386-unixware-cc.rul 1.4 03/05/31 " 2########################################################################### 3# Written 1999 by J. Schilling/Santa Cruz Operation 4########################################################################### 5# 6# Platform dependent MACROS for SCO UnixWare 2.x / 7.x using cc 7# 8########################################################################### 9# This program is free software; you can redistribute it and/or modify 10# it under the terms of the GNU General Public License as published by 11# the Free Software Foundation; either version 2, or (at your option) 12# any later version. 13# 14# This program is distributed in the hope that it will be useful, 15# but WITHOUT ANY WARRANTY; without even the implied warranty of 16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17# GNU General Public License for more details. 18# 19# You should have received a copy of the GNU General Public License along with 20# this program; see the file COPYING. If not, write to the Free Software 21# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22########################################################################### 23include $(SRCROOT)/$(RULESDIR)/rules.prg 24########################################################################### 25 26CPPFLAGS= $(CPPOPTS) $(CPPOPTX) 27CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX) 28 29OSDEFS= -DUNIXWARE -DSVR4 30CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) 31COPTS= 32CWOPTS= -v 33COPTOPT= -O 34KDEFINES= -DKERNEL -D_KERNEL 35COPTDYN= -KPIC 36#COPTGPROF= -pg 37COPTGPROF= -p 38 39LIB_PREFIX= lib 40LIB_SUFFIX= .a 41SHL_SUFFIX= .so.1.0 42 43LIB_SOCKET= -lsocket -lnsl -ldl 44LIB_MATH= -lm 45#LIB_KVM= -lkvm 46LIB_KVM= 47 48LIBS_PATH= -L$(OLIBSDIR) 49 50LDFLAGS= $(LDOPTS) $(LDOPTX) 51LDLIBS= $(LIBS) $(LIBX) 52 53LDOPTS= $(LIBS_PATH) $(LDPATH) 54LDOPTDYN= -dy -G $(TARGET) 55LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so 56 57FLOAT_OPTIONS= 58 59 60CC= @echo " ==> COMPILING \"$@\""; cc 61LDCC= @echo " ==> LINKING \"$@\""; cc 62DYNLD= @echo " ==> LINKING dynamic library \"$@\""; cc 63RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true 64 65ARFLAGS= cr 66LORDER= echo 67TSORT= cat 68 69RMDEP= : 70MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-sco.sh 71MKDEP_OUT= 72