# # @(#)M.solaris2 2.1 97/10/23 # # SUN Solaris 2.x specific Makefile wraper # # usage examples: # make -f M.solaris2 # make -f M.solaris2 run MACHID = linux # C compiler and library options for compiling the benchmark programs. # This example enables SAR within the benchmark for UNIX System VR4 # EXTRA_CFLAGS = -DSAR CC=gcc OPT = -O #CFLAGS = -v -Xc -D__sparc -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 CFLAGS = -v -DNO_T_TYPES -Dfds_bits=__fds_bits LDFLAGS = #EXTRA_CFLAGS = -DPORTMAP -DHAVE_INTTYPES EXTRA_CFLAGS = -DPORTMAP EXTRA_LDFLAGS = EXTRA_LINTFLAGS= LIBS=-lm EXTRA_LIBS = # # If the server requires the client to be bound to a reserved port add this #RESVPORT_MOUNT=-DRESVPORT RESVPORT_MOUNT= # # SUN SunOS definitions # For Solaris 2.X (SunOS 5.X) or later OSTYPE = -DSVR4 # STD_TGTS = all install clean clobber lint $(STD_TGTS): @make MACHID="${MACHID}" CC="${CC}" CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" EXTRA_CFLAGS="${EXTRA_CFLAGS}" \ EXTRA_LDFLAGS="${EXTRA_LDFLAGS}" EXTRA_LIBS="${EXTRA_LIBS}" \ LIBS="${LIBS}" OSTYPE="${OSTYPE}" OPT="${OPT}" \ EXTRA_LINTFLAGS="${EXTRA_LINTFLAGS}" \ RESVPORT_MOUNT="${RESVPORT_MOUNT}" $@