Makefile.am 1.25 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

AM_CFLAGS = ${ROSS_CFLAGS}

AM_LIBS = ${ROSS_LIBS}

AM_CXXFLAGS = $(AM_CFLAGS)

include Make.rules

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

39
if USE_DARSHAN
40
AM_CPPFLAGS += ${DARSHAN_CFLAGS} -DUSE_DARSHAN=1
41 42 43
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}
44
endif
45 46 47 48 49

if USE_RECORDER
AM_CPPFLAGS += ${RECORDER_CPPFLAGS}
src_libcodes_base_a_SOURCES += src/workload/codes-recorder-io-wrkld.c
endif
50 51 52 53 54 55

if USE_DUMPI
AM_CPPFLAGS += ${DUMPI_CFLAGS} -DUSE_DUMPI=1
src_libcodes_base_a_SOURCES += src/network-workload/codes-dumpi-trace-nw-wrkld.c 
AM_LIBS += ${DUMPI_LIBS}
endif