INCLUDES = $(all_includes)
INCLUDES += -I$(top_builddir)/src -I$(top_builddir)/src/public

AUTOMAKE_OPTIONS = no-dependencies

noinst_PROGRAMS = scalars_write scalars_read scalars_write_step

scalars_write_SOURCES = scalars_write.c
scalars_write_LDADD = $(top_builddir)/src/libadios.a 
scalars_write_LDFLAGS = $(ADIOSLIB_LDFLAGS)
scalars_write_LDADD += $(ADIOSLIB_LDADD)
scalars_read_SOURCES = scalars_read.c
scalars_read_LDADD = $(top_builddir)/src/libadiosread.a 
scalars_read_LDFLAGS = $(ADIOSREADLIB_LDFLAGS)
scalars_read_LDADD += $(ADIOSREADLIB_LDADD)
scalars_write_step_SOURCES = scalars_write.c
scalars_write_step_LDADD = $(top_builddir)/src/libadios.a
scalars_write_step_LDFLAGS = $(ADIOSLIB_LDFLAGS)
scalars_write_step_LDADD += $(ADIOSLIB_LDADD)

CLEANFILES = *.bp
CC=$(MPICC)
EXTRA_DIST = scalars.xml gwrite_scalars.ch gread_scalars.ch job.pbs
