Makefile.am 1.42 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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 =

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

Jonathan Jenkins's avatar
Jonathan Jenkins committed
22
EXTRA_DIST += \
23
  prepare.sh COPYRIGHT TODO.txt configure.ac uc-codes.cfg reformat.sh \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
24 25
  misc/README misc/ptrn_loggp-2.4.6.patch \
  doc/BUILD_STEPS doc/GETTING_STARTED doc/RELEASE_NOTES
26

27
AM_CPPFLAGS = -I$(top_srcdir)/src ${ROSS_CFLAGS}
28

29
AM_CFLAGS =
30 31 32

AM_CXXFLAGS = $(AM_CFLAGS)

33
LDADD = $(lib_LIBRARIES) $(ROSS_LIBS)
34

35 36
include Make.rules

37
include $(top_srcdir)/scripts/Makefile.subdir
38
include $(top_srcdir)/src/Makefile.subdir
39
include $(top_srcdir)/src/models/Makefile.subdir
40
include $(top_srcdir)/tests/Makefile.subdir
Jonathan Jenkins's avatar
Jonathan Jenkins committed
41
include $(top_srcdir)/doc/Makefile.subdir
Philip Carns's avatar
Philip Carns committed
42

43
if USE_DARSHAN
44
AM_CPPFLAGS += ${DARSHAN_CFLAGS} -DUSE_DARSHAN=1
45
src_libcodes_base_a_SOURCES += src/workload/methods/codes-darshan-io-wrkld.c
46
LDADD += ${DARSHAN_LIBS}
47
TESTS += tests/workload/darshan-dump.sh
48
endif
49 50 51

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

if USE_DUMPI
AM_CPPFLAGS += ${DUMPI_CFLAGS} -DUSE_DUMPI=1
57
src_libcodes_base_a_SOURCES += src/workload/methods/codes-dumpi-trace-nw-wrkld.c 
58
LDADD += ${DUMPI_LIBS}
59
endif