code: 9ferno

ref: 600bbfe4aaa9ad0f73d8d73eef1b7670e5f7d3a3
dir: /mkfiles/mkfile-Solaris-sparc/

View raw version
TARGMODEL=	Posix
TARGSHTYPE=	sh
CPUS=		sparc

O=		o
OS=		o

AR=		ar
ARFLAGS=	cvru

YACC=		iyacc
YFLAGS=		-d

AS=             gcc
ASFLAGS=        -c

CC=gcc
CFLAGS=	-c\
		-g\
		-O\
		-munaligned-doubles\
		-threads\
		-Wimplicit\
		-I$ROOT/Solaris/sparc/include\
		-I$ROOT/include\
		-I/usr/openwin/share/include\

ANSICPP=
LD=		gcc
LDFLAGS=-L/usr/openwin/lib\

SYSLIBS=
EMULIBS=	-lthread -lsocket -lm -lX11 -lXext -lnsl -lposix4

# use the following settings in order to use the native sun C compiler
# rather than gcc.
# this has not been tested in this release.

# AS=		cc
# ASFLAGS=	-c
# 
# CC=		cc
# CFLAGS=		-c\
# 		-mt\
# 		-g\
# 		-w\
# 		-xCC \
# 		-Xa\
# 		-I$ROOT/Solaris/sparc/include\
# 		-I$ROOT/include\
# 		-I/usr/openwin/share/include\
# 
# LD=		cc
# LDFLAGS=	-mt\
# 		-L/usr/openwin/lib\
# 
# SYSLIBS=
# EMULIBS=	-lsunmath -lsocket -lm -lX11 -lXext -lnsl -lposix4