forked from NU-CUCIS/ph5concat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
40 lines (32 loc) · 1.08 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Copyright (C) 2019, Northwestern University and Fermi National Accelerator Laboratory
# See COPYRIGHT notice in top-level directory.
#
# @configure_input@
SUFFIXES = .cpp .hpp .o
SUBDIRS = . utils examples case_study
AM_CPPFLAGS = -I.
if PH5CONCAT_DEBUG
AM_CPPFLAGS += -DDEBUG=1
endif
if PH5CONCAT_PROFILING
AM_CPPFLAGS += -DPROFILE=1
endif
noinst_PROGRAMS = ph5_concat
ph5_concat_SOURCES = ph5_concat.cpp \
file_partition.cpp \
dataset_partition.cpp \
main.cpp
EXTRA_DIST = ph5_concat.hpp \
COPYRIGHT \
CREDITS.md \
AUTHORS.md \
README.md \
RELEASE_NOTES.md \
list.txt
dist-hook:
$(SED_I) -e "s|_PH5CONCAT_VERSION_|@PH5CONCAT_VERSION@|g" $(distdir)/main.cpp
$(SED_I) -e "s|_PH5CONCAT_RELEASE_DATE_|@PH5CONCAT_RELEASE_DATE@|g" $(distdir)/main.cpp
$(SED_I) -e "1,10s|_PH5CONCAT_RELEASE_DATE_|@PH5CONCAT_RELEASE_DATE@|" $(distdir)/RELEASE_NOTES.md
$(SED_I) -e "1,10s|_PH5CONCAT_VERSION_|$(PH5CONCAT_VERSION)|" $(distdir)/RELEASE_NOTES.md
.PHONY: