1#ident "@(#)hppa-nextstep-cc.rul 1.5 03/02/27 " 2########################################################################### 3# Written 1996 by J. Schilling 4########################################################################### 5# 6# Platform dependent MACROS for NeXT Step on hppa (GCC) 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) $(GCCOPTOPT) $(COPTX) 28 29CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) 30COPTS= 31CWOPTS= -Wall -Wtraditional \ 32 -Wshadow -Wmissing-prototypes -Wstrict-prototypes 33COPTOPT= -O 34KDEFINES= -DKERNEL -D_KERNEL 35COPTDYN= -fpic 36COPTGPROF= -pg 37 38LIB_PREFIX= lib 39LIB_SUFFIX= .a 40SHL_SUFFIX= .so.1.0 41 42LIB_SOCKET= 43LIB_MATH= -lm 44#LIB_KVM= -lkvm 45 46LIBS_PATH= -L$(OLIBSDIR) 47 48LDFLAGS= $(LDOPTS) $(LDOPTX) 49LDLIBS= $(LIBS) $(LIBX) 50 51#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) 52LDOPTS= $(LIBS_PATH) $(LDPATH) 53LDOPTDYN= 54LNDYNLIB= @ 55 56FLOAT_OPTIONS= 57 58CC= @echo " ==> COMPILING \"$@\""; cc 59LDCC= @echo " ==> LINKING \"$@\""; cc 60DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld 61RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib 62ARFLAGS= cr 63 64RMDEP= : 65MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); cc -M 66MKDEP_OUT= 67MKDIR= $(MKDIR_SH) 68