1#ident "@(#)ip22-irix-gcc.rul	1.16 21/04/28 "
2###########################################################################
3# Written 1996-2020 by J. Schilling
4###########################################################################
5#
6# Platform dependent MACROS for Silicon Graphics IRIX
7#
8###########################################################################
9# Copyright (c) J. Schilling
10###########################################################################
11# The contents of this file are subject to the terms of the
12# Common Development and Distribution License, Version 1.0 only
13# (the "License").  You may not use this file except in compliance
14# with the License.
15#
16# See the file CDDL.Schily.txt in this distribution for details.
17# A copy of the CDDL is also available via the Internet at
18# http://www.opensource.org/licenses/cddl1.txt
19#
20# When distributing Covered Code, include this CDDL HEADER in each
21# file and include the License file CDDL.Schily.txt from this distribution.
22###########################################################################
23include $(SRCROOT)/$(RULESDIR)/rules.prg
24###########################################################################
25include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul
26GCC_OPT64=	-mabi=64
27
28OSDEFS +=	-D__SVR4 -DSVR4
29
30KDEFINES=	-DKERNEL -D_KERNEL
31
32LIB_SOCKET=
33LIB_MATH=	-lm
34LIB_KVM=
35
36LDOPTS=		$(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-rpath,%)
37LDOPTDYN=	-shared -Wl,-soname,$(TARGET)
38#LNDYNLIB=	$(NOECHO)
39
40FLOAT_OPTIONS=
41
42ARFLAGS=	crs
43#
44# lorder seems not to work on some machines, disable it
45#
46LORDER=		echo
47TSORT=		cat
48