1###########################################################################
2#ident "@(#)x86pc-qnx-gcc.rul	1.8 18/04/11 "
3###########################################################################
4# Written 2001-2018 by J. Schilling
5###########################################################################
6#
7# Platform dependent MACROS for QNX Neutrino
8#
9###########################################################################
10# Copyright (c) J. Schilling
11###########################################################################
12# The contents of this file are subject to the terms of the
13# Common Development and Distribution License, Version 1.0 only
14# (the "License").  You may not use this file except in compliance
15# with the License.
16#
17# See the file CDDL.Schily.txt in this distribution for details.
18# A copy of the CDDL is also available via the Internet at
19# http://www.opensource.org/licenses/cddl1.txt
20#
21# When distributing Covered Code, include this CDDL HEADER in each
22# file and include the License file CDDL.Schily.txt from this distribution.
23###########################################################################
24include $(SRCROOT)/$(RULESDIR)/rules.prg
25###########################################################################
26include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul
27
28OSDEFS +=
29
30KDEFINES=	-DKERNEL -D_KERNEL
31
32LIB_PREFIX=	lib
33LIB_SUFFIX=	.a
34SHL_SUFFIX=	.so.$(DYNMAJOR).$(DYNMINOR)
35
36LIB_SOCKET=	-lsocks -lrpc
37LIB_MATH=	-lm
38LIB_KVM=
39
40#LDOPTS=		$(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%)
41LDOPTS=		$(LIBS_PATH) $(LDPATH)
42
43LORDER=		echo
44TSORT=		cat
45