1#ident "@(#)9000-725-hp-ux-cc.rul 1.9 03/01/30 " 2########################################################################### 3# Written 1996 by J. Schilling 4########################################################################### 5# 6# Platform dependent MACROS for HP/UX 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 29CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) 30# 31# -Ae -> ANSI C (non-bundled C only - bundled C ignores -Ae) 32# +DAportable -> Create Parisc-1.1 code 33# 34COPTS= -Ae +DAportable 35CWOPTS= 36COPTOPT= -O 37KDEFINES= -DKERNEL -D_KERNEL 38COPTDYN= -fpic 39COPTGPROF= -pg 40 41LIB_PREFIX= lib 42LIB_SUFFIX= .a 43SHL_SUFFIX= .sl 44 45LIB_SOCKET= 46LIB_MATH= -lm 47LIB_KVM= 48 49LIBS_PATH= -L$(OLIBSDIR) 50 51LDFLAGS= $(LDOPTS) $(LDOPTX) 52LDLIBS= $(LIBS) $(LIBX) 53 54#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) 55LDOPTS= $(LIBS_PATH) $(LDPATH) 56LDOPTDYN= -shared -Wl,-soname,$(TARGET) 57LNDYNLIB= @ 58 59FLOAT_OPTIONS= 60 61CC= @echo " ==> COMPILING \"$@\""; cc 62LDCC= @echo " ==> LINKING \"$@\""; cc 63DYNLD= @echo " ==> LINKING dynamic library \"$@\""; cc 64RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true 65ARFLAGS= cr 66LORDER= echo 67TSORT= cat 68 69RMDEP= : 70MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(SRCROOT)/conf/mkdep-hpux.sh 71MKDEP_OUT= 72