Makefile.am 1.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4

bin_PROGRAMS =
bin_SCRIPTS =
noinst_LIBRARIES =
noinst_PROGRAMS =
lib_LIBRARIES =
noinst_HEADERS =
TESTS =
check_PROGRAMS =
EXTRA_PROGRAMS =
CLEANFILES = $(bin_SCRIPTS)
EXTRA_DIST =
BUILT_SOURCES =
src_models_CESOURCES =

Philip Carns's avatar
Philip Carns committed
18 19 20 21
# pkgconfig files
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = maint/codes-base.pc
$(pkgconfig_DATA): config.status
22 23 24

EXTRA_DIST += prepare.sh

25
AM_CPPFLAGS = -I$(top_srcdir)/src ${ROSS_CPPFLAGS}
26 27 28 29 30 31 32 33 34 35

AM_CFLAGS = ${ROSS_CFLAGS}

AM_LIBS = ${ROSS_LIBS}

AM_CXXFLAGS = $(AM_CFLAGS)

include Make.rules

include $(top_srcdir)/src/Makefile.subdir
36
include $(top_srcdir)/tests/Makefile.subdir
Philip Carns's avatar
Philip Carns committed
37

38
if USE_DARSHAN
39
AM_CPPFLAGS += ${DARSHAN_CFLAGS}
40 41 42
src_libcodes_base_a_SOURCES += src/workload/codes-darshan-io-wrkld.c
tests_workload_codes_workload_test_LDADD += ${DARSHAN_LIBS}
tests_workload_codes_workload_mpi_replay_LDADD += ${DARSHAN_LIBS}
43
endif
44 45 46 47 48

if USE_RECORDER
AM_CPPFLAGS += ${RECORDER_CPPFLAGS}
src_libcodes_base_a_SOURCES += src/workload/codes-recorder-io-wrkld.c
endif