1#ident "@(#)i386-openserver-gcc.rul	1.10 18/04/11 "
2###########################################################################
3# Written 1999-2018 by J. Schilling/Santa Cruz Operation
4###########################################################################
5#
6# Platform dependent MACROS for SCO OpenServer 5 using gcc
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-gcc.rul
26
27OSDEFS +=	-DSCO -DOPENSERVER
28COPTS=		-melf
29
30KDEFINES=	-DKERNEL -D_KERNEL
31
32LIB_PREFIX=	lib
33LIB_SUFFIX=	.a
34SHL_SUFFIX=	.so.$(DYNMAJOR).$(DYNMINOR)
35
36LIB_SOCKET=	-lsocket -lnsl -ldl
37LIB_MATH=	-lm
38LIB_KVM=
39
40LDOPTS=		$(LIBS_PATH) $(LDPATH)
41LDOPTDYN=	-dy -G $(TARGET)
42
43LORDER=		echo
44TSORT=		cat
45
46_MKDIR=		$(_MKDIR_SH)
47MKDIR=		$(MKDIR_SH)
48INSMKDIR=	$(INSMKDIR_SH)
49