# # Copyright (C) 2003, Northwestern University and Argonne National Laboratory # See COPYRIGHT notice in top-level directory. # # $Id: Makefile.in 2590 2016-10-31 21:37:02Z wkliao $ # # @configure_input@ srcdir = @srcdir@ VPATH = @srcdir@ include ../../macros.make INCLUDES = -I../../src/lib -I$(srcdir)/../common LDFLAGS := $(LDFLAGS) -L../common LIBS := $(LIBRARY) -ltestutils $(LIBS) @LCOV_LIB@ SRCS = header_consistency.c OBJS = $(SRCS:.c=.o) PROGS = $(SRCS:.c=) GARBAGE = $(PROGS) *.nc PACKING_LIST = $(SRCS) Makefile.in all: $(PROGS) $(OBJS): $(srcdir)/../common/testutils.h $(PROGS): ../common/libtestutils.a ../common/libtestutils.a: set -e; cd ../common && $(MAKE) $(MFLAGS) all header_consistency: header_consistency.o $(LIBRARY) $(LINK.c) $< $(LDFLAGS) $(LIBS) testing check verbose_testing: TEST_MPIRUN_2 = $(subst NP,2,$(TEST_MPIRUN)) TEST_MPIRUN_4 = $(subst NP,4,$(TEST_MPIRUN)) ptest2: $(PROGS) @for i in $(PROGS); do ( \ $(TEST_MPIRUN_2) ./$$i $(TEST_OUTDIR)/testfile.nc \ ; ) ; done ptest4: $(PROGS) @for i in $(PROGS); do ( \ $(TEST_MPIRUN_4) ./$$i $(TEST_OUTDIR)/testfile.nc \ ; ) ; done ptest: ptest4 ptests: ptest2 ptest4 ptest6 ptest8 ptest10: include $(srcdir)/../../rules.make $(LIBRARY): ;