1#ident "@(#)i586-mingw32_nt-gcc.rul	1.13 18/04/11 "
2###########################################################################
3#
4# Platform dependent MACROS for Win32/Mingw32
5#
6###########################################################################
7# Copyright (c) 2004-2018 J. Schilling
8###########################################################################
9# The contents of this file are subject to the terms of the
10# Common Development and Distribution License, Version 1.0 only
11# (the "License").  You may not use this file except in compliance
12# with the License.
13#
14# See the file CDDL.Schily.txt in this distribution for details.
15# A copy of the CDDL is also available via the Internet at
16# http://www.opensource.org/licenses/cddl1.txt
17#
18# When distributing Covered Code, include this CDDL HEADER in each
19# file and include the License file CDDL.Schily.txt from this distribution.
20###########################################################################
21include $(SRCROOT)/$(RULESDIR)/rules.prg
22###########################################################################
23include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul
24
25OSDEFS +=
26CPPOPTS=	-I/MinGW/Include -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%)
27
28KDEFINES=	-DKERNEL -D_KERNEL
29
30LIB_PREFIX=	lib
31LIB_SUFFIX=	.a
32SHL_SUFFIX=	.so.$(DYNMAJOR).$(DYNMINOR)
33
34LIB_SOCKET=
35LIB_MATH=	-lm
36LIB_KVM=
37
38WIN_LIBS=	$(WIN32_LIBS)
39
40LDLIBS=		$(LIBS) $(LIBX) $(WIN_LIBS) -lmingw32
41
42LDOPTS=		$(LIBS_PATH) $(LDPATH)
43
44LORDER=		echo
45TSORT=		cat
46
47_MKDIR=		$(_MKDIR_SH)
48MKDIR=		$(MKDIR_SH)
49INSMKDIR=	$(INSMKDIR_SH)
50