# Generated automatically from Makefile.in by configure.
# Makefile for libhpcxx_rts.a (HPC++ Run Time System Library)
# Extreme! Computing Lab - Computer Science Department
# Copyright (c) 1997 Indiana University
# Authors: Pete Beckman, Dennis Gannon, Todd Green, and Liz Johnson
#
# $Id: Makefile.in,v 1.7 1998/07/21 22:38:16 khalsa Exp $

#### Start of system configuration section. ####



#top_srcdir = ..

# the new one is being installed, sticking with the old one
#top_srcdir = /tmp_mnt/nfs/research/paraducks/apps/HPC++

top_srcdir = /research/paraducks/apps/HPC++091498
srcdir = .

CXX = CC

AR  = /bin/ar
ARFLAGS = cr

DEFS = -DHAVE_CONFIG_H
#LIBS = -lhpcxx_rts  -lnexus -lpthread
# tjs 98.09.17 adding -lm to screw around with math functions in all examples
LIBS = -lhpcxx_rts  -lnexus -lpthread -lm
IMPL_RUNTIME = Nexus
IMPL_THREADS = Nexus
TULIP_ARCH = sgi64

prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
datadir = $(prefix)/lib
libdir = $(prefix)/lib
infodir = $(prefix)/info
installdir = $(top_srcdir)/lib/$(TULIP_ARCH)

CXXFLAGS =  -64 -g  -no_auto_include -prelink
CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/template  -I/local64/apps/nexus-4.1.1/include
LDFLAGS =  -L/local64/apps/nexus-4.1.1/lib -64 -L$(installdir)

# Extension (not including `.') for the installed manual page filenames.
manext = 1
# Where to install the manual pages.
mandir = $(prefix)/man/man$(manext)

alldirs = $(bindir) $(scriptdir) $(datadir) $(libdir) $(infodir) $(mandir)

#### End of system configuration section. ####

SHELL = /bin/sh

SRCS = tim_thrd_xmpl.C tim_mutex_xmpl.C tim_sync_xmpl.C tim_syncq_xmpl.C \
       tim_barrier_xmpl.C tim_csem_xmpl.C tim_runnable_xmpl.C \
       tim_context_xmpl.C tim_gp_xmpl.C tim_rmfi_xmpl.C

OBJS = $(SRCS:.C=.o)
EXE = $(SRCS:.C=)

# suffix rule for .C to .o conversion
.C.o:
	$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(DEFS) -c $(@:.o=.C)


all: $(EXE)

tim_rmfi_xmpl: tim_rmfi_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_gp_xmpl: tim_gp_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_remote_xmpl: tim_remote_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_remote_server: tim_remote_server.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_remote_client: tim_remote_client.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_context_xmpl: tim_context_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_runnable_xmpl: tim_runnable_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_csem_xmpl: tim_csem_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_barrier_xmpl: tim_barrier_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_syncq_xmpl: tim_syncq_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_sync_xmpl: tim_sync_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_mutex_xmpl: tim_mutex_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

tim_thrd_xmpl: tim_thrd_xmpl.o
	$(CXX) -o $(@) $(@).o $(LDFLAGS) $(LIBS)

clean:
	rm -rf ii_files
	rm -f ~* $(EXE) $(OBJS)