1#ident "@(#)i86pc-sunos5-pcc.rul 1.3 13/01/09 " 2########################################################################### 3# Written 2010-2013 by J. Schilling 4########################################################################### 5# 6# Platform dependent MACROS for SunOS 5.x for PC 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-pcc.rul 26 27OSDEFS += -D__SVR4 -DSVR4 28KDEFINES= -DKERNEL -D_KERNEL 29 30LIB_SOCKET= -lsocket -lnsl -ldl 31LIB_MATH= -lm 32LIB_KVM= -lkvm -lelf 33LIB_VOLMGT= -lvolmgt 34 35# 36# Solaris comes with a linker that supports mapfiles 37# 38MAPVERS= $(_MAPVERS) # This enables to use mapfiles 39 40LDOPTDYN= -dy -G -Wl,-ztext -h $(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl 41 42ARFLAGS= crs 43