# 
# Midway Distributed Shared Memory System
# Copyright (c) 1994 Carnegie Mellon University
# All Rights Reserved.
# 
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
# 
# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
#
CC = /usr/misc/bin/gcc
OLDCC = /bin/cc

COMMONFLAGS = -I. -I.. 
COPTS = -MD $(COMMONFLAGS)

# Define macros for network calls
# Must also link with libfast-udp-net.a & libfast-udp-mach.a
NETFLAGS = 
#NETFLAGS = -DFAST_UDP

NETLIBS =
#NETLIBS = -lfast-udp-net -lfast-udp-mach

#
# Define -DBENCHMARK to compile code for benchmarking.
#

CPPFLAGS = ${COPTS}
CFLAGS = ${COPTS} -O -DBENCHMARK -DOMITSHARED $(NETFLAGS)

#I386_LIBFLAGS = -v -L/usr/lib
I386_LIBFLAGS = -v
LIBFLAGS = -L. ${${TARGET_MACHINE}_LIBFLAGS}

PMAX_ASFLAGS= -O -nocpp
ASFLAGS = ${${TARGET_MACHINE}_ASFLAGS}

I = -c -d -v

