Blame scsilib/RULES/9000-725-hp-ux-cc.rul

Packit bf707c
#ident "@(#)9000-725-hp-ux-cc.rul	1.9 03/01/30 "
Packit bf707c
###########################################################################
Packit bf707c
# Written 1996 by J. Schilling
Packit bf707c
###########################################################################
Packit bf707c
#
Packit bf707c
# Platform dependent MACROS for HP/UX
Packit bf707c
#
Packit bf707c
###########################################################################
Packit bf707c
# This program is free software; you can redistribute it and/or modify
Packit bf707c
# it under the terms of the GNU General Public License as published by
Packit bf707c
# the Free Software Foundation; either version 2, or (at your option)
Packit bf707c
# any later version.
Packit bf707c
#
Packit bf707c
# This program is distributed in the hope that it will be useful,
Packit bf707c
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit bf707c
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit bf707c
# GNU General Public License for more details.
Packit bf707c
#
Packit bf707c
# You should have received a copy of the GNU General Public License along with
Packit bf707c
# this program; see the file COPYING.  If not, write to the Free Software
Packit bf707c
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Packit bf707c
###########################################################################
Packit bf707c
include $(SRCROOT)/$(RULESDIR)/rules.prg
Packit bf707c
###########################################################################
Packit bf707c
Packit bf707c
CPPFLAGS=	$(CPPOPTS) $(CPPOPTX)
Packit bf707c
CFLAGS=		$(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
Packit bf707c
Packit bf707c
CPPOPTS=	-I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
Packit bf707c
#
Packit bf707c
# -Ae	      -> ANSI C (non-bundled C only - bundled C ignores -Ae)
Packit bf707c
# +DAportable -> Create Parisc-1.1 code
Packit bf707c
#
Packit bf707c
COPTS=		-Ae +DAportable
Packit bf707c
CWOPTS=		
Packit bf707c
COPTOPT=	-O
Packit bf707c
KDEFINES=	-DKERNEL -D_KERNEL
Packit bf707c
COPTDYN=	-fpic
Packit bf707c
COPTGPROF=	-pg
Packit bf707c
Packit bf707c
LIB_PREFIX=	lib
Packit bf707c
LIB_SUFFIX=	.a
Packit bf707c
SHL_SUFFIX=	.sl
Packit bf707c
Packit bf707c
LIB_SOCKET=	
Packit bf707c
LIB_MATH=	-lm
Packit bf707c
LIB_KVM=	
Packit bf707c
Packit bf707c
LIBS_PATH=	-L$(OLIBSDIR)
Packit bf707c
Packit bf707c
LDFLAGS=	$(LDOPTS) $(LDOPTX)
Packit bf707c
LDLIBS=		$(LIBS) $(LIBX)
Packit bf707c
Packit bf707c
#LDOPTS=		$(LIBS_PATH) $(LDPATH) $(RUNPATH)
Packit bf707c
LDOPTS=		$(LIBS_PATH) $(LDPATH)
Packit bf707c
LDOPTDYN=	-shared -Wl,-soname,$(TARGET)
Packit bf707c
LNDYNLIB=	@
Packit bf707c
Packit bf707c
FLOAT_OPTIONS=	
Packit bf707c
Packit bf707c
CC=		@echo "	==> COMPILING \"$@\""; cc
Packit bf707c
LDCC=		@echo "	==> LINKING \"$@\""; cc
Packit bf707c
DYNLD=		@echo "	==> LINKING dynamic library \"$@\""; cc
Packit bf707c
RANLIB=		@echo "	==> RANDOMIZING ARCHIVE \"$@\""; true
Packit bf707c
ARFLAGS=	cr
Packit bf707c
LORDER=		echo
Packit bf707c
TSORT=		cat
Packit bf707c
Packit bf707c
RMDEP=		:
Packit bf707c
MKDEP=		@echo "	==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(SRCROOT)/conf/mkdep-hpux.sh
Packit bf707c
MKDEP_OUT=