################################################################################
##
##  Makefile:   test/sysUtils
##
##  $Revision: 1.18 $  $Name: not supported by cvs2svn $
##  $Date: 2004-08-09 20:38:11 $
##
##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
##
###############################################################################

ifndef prefix
    export prefix=$(shell cd ../..;pwd)
endif

include ../../src/Makefile.Globals

CFLAGS := -I../../include $(CFLAGS)
LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)

TARGET = atst_psAbort_01  \
         atst_psAbort_02  \
         atst_psAbort_03  \
         tst_psMemory     \
         tst_psError      \
         tst_psLogMsg00   \
         tst_psLogMsg01   \
         tst_psLogMsg02   \
         tst_psLogMsg03   \
         tst_psStringCopy \
         tst_psTrace00    \
         tst_psTrace01    \
         tst_psTrace02    \
         tst_psTrace03    \
         tst_psTrace04

OBJS = $(addsuffix .o,$(TARGET))

all: $(TARGET)

clean:
	@echo "    Deleting executable and binary files for 'test/collections'"
	$(RM) $(OBJS)

distclean: clean
	$(RM) $(TARGET)

install: $(testbindir) $(testbindir)/verified $(TARGET)
	install $(TARGET) $(testbindir)
	install verified/*.stderr verified/*.stdout $(testbindir)/verified

$(testbindir):
	mkdir -p $(testbindir)

$(testbindir)/verified:
	mkdir -p $(testbindir)/verified


