File: Makefile.am

package info (click to toggle)
opari2 2.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,808 kB
  • sloc: cpp: 8,533; sh: 5,755; ansic: 5,129; f90: 530; fortran: 341; makefile: 227; awk: 179
file content (162 lines) | stat: -rw-r--r-- 6,713 bytes parent folder | download | duplicates (2)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
## -*- mode: makefile -*-

##
## This file is part of the Score-P software (http://www.score-p.org)
##
## Copyright (c) 2009-2011,
## RWTH Aachen, Germany
##
## Copyright (c) 2009-2011,
## Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
##
## Copyright (c) 2009-2011, 2019-2020,
## Technische Universitaet Dresden, Germany
##
## Copyright (c) 2009-2011,
## University of Oregon, Eugene, USA
##
## Copyright (c) 2009-2011, 2014-2015, 2017,
## Forschungszentrum Juelich GmbH, Germany
##
## Copyright (c) 2009-2011,
## German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
##
## Copyright (c) 2009-2011,
## Technische Universitaet Muenchen, Germany
##
## This software may be modified and distributed under the terms of
## a BSD-style license. See the COPYING file in the package base
## directory for details.
##

## file       Makefile.am

## The SUBDIRS variable holds a list of subdirectories automake (recursivly)
## must build.
SUBDIRS = $(subdirs) $(ax_config_subdirs)

## Options passed to aclocal to specify local macro directories. Although
## ACLOCAL_AMFLAGS should be replaced by AC_CONFIG_MACRO_DIRS, aclocal-1.13.4
## doesn't honor the paths provided to AC_CONFIG_MACRO_DIRS. See
## https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21352
ACLOCAL_AMFLAGS = -I build-config/m4 -I build-config/common/m4

include build-config/common/Makefile.inc.am
include doc/Makefile.inc.am
include build-config/common/platforms.am

## Still, sometimes there are files that must be distributed, but which are not
## covered in the automatic rules. These files should be listed in the
## EXTRA_DIST variable. You can mention files from subdirectories in EXTRA_DIST.
##
## You can also mention a directory in EXTRA_DIST. In this case the entire
## directory will be recursively copied into the distribution. Please note that
## this will also copy everything in the directory, including CVS/RCS version
## control files. We recommend against using this feature.
EXTRA_DIST += $(srcdir)/src/config.h                                     \
              $(srcdir)/src/config-custom.h                              \
              $(srcdir)/test/replacePaths_c.awk                          \
              $(srcdir)/test/replacePaths_f77.awk                        \
              $(srcdir)/test/replacePaths_f90.awk                        \
              $(srcdir)/doc/example/openmp/example.c                     \
              $(srcdir)/doc/example/openmp/example.f90                   \
              $(srcdir)/doc/example/pomp/example.c                       \
              $(srcdir)/doc/example/pomp/example.f90                     \
              $(srcdir)/doc/doxygen-user/opari2_usage.dox.in             \
              $(srcdir)/doc/doxygen-user/opari2-config_usage.dox.in      \
              $(srcdir)/doc/doxygen-dev/doxygen-dev.cfg.in               \
              $(srcdir)/test/data                                        \
              $(srcdir)/THANKS                                           \
              $(srcdir)/OPEN_ISSUES

if ! CROSS_BUILD
EXTRA_DIST += $(srcdir)/build-frontend/configure.ac \
              $(srcdir)/build-frontend/aclocal.m4   \
              $(srcdir)/build-frontend/Makefile.am  \
              $(srcdir)/build-frontend/Makefile.in  \
              $(srcdir)/build-frontend/configure    \
              $(srcdir)/src/config-frontend.h.in
endif

doc_DATA = $(srcdir)/OPEN_ISSUES \
           $(srcdir)/ChangeLog

CLEANFILES += doc/doxygen-user/main.dox

.PHONY: doc/doxygen-user/main.dox

if GIT_CONTROLLED
doc/doxygen-user/main.dox: doc/doxygen-user/main_user_usage.dox doc/doxygen-user/main_user_linking.dox
	$(AM_V_GEN)$(MKDIR_P) doc/doxygen-user && \
	cat $(srcdir)/doc/doxygen-user/main_user_introduction.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_summary.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_install.dox.in \
	    doc/doxygen-user/main_user_usage.dox \
	    $(srcdir)/doc/doxygen-user/main_user_ctc-decoding.dox.in \
	    doc/doxygen-user/main_user_linking.dox \
	    $(srcdir)/doc/doxygen-user/main_user_pomp-instrumentation.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_example.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_news.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_finalization.dox.in \
	    > doc/doxygen-user/main.dox

## The developer documentation is compiled of the user documentation
## and additional information for developers
doc/doxygen-dev/main.dox: doc/doxygen-user/main_user_usage.dox doc/doxygen-user/main_user_linking.dox
	$(AM_V_GEN)$(MKDIR_P) doc/doxygen-dev && \
	cat $(srcdir)/doc/doxygen-user/main_user_introduction.dox.in \
	    $(srcdir)/doc/doxygen-dev/main_dev.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_summary.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_install.dox.in \
	    doc/doxygen-user/main_user_usage.dox \
	    $(srcdir)/doc/doxygen-user/main_user_ctc-decoding.dox.in \
	    doc/doxygen-user/main_user_linking.dox \
	    $(srcdir)/doc/doxygen-user/main_user_pomp-instrumentation.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_example.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_news.dox.in \
	    $(srcdir)/doc/doxygen-dev/main_dev_parser.dox.in \
	    $(srcdir)/doc/doxygen-dev/main_dev_new-paradigm.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_finalization.dox.in \
	    > doc/doxygen-dev/main.dox

doc/doxygen-user/main_user_usage.dox:
	$(AM_V_GEN)$(MKDIR_P) doc/doxygen-user && \
	cat $(srcdir)/doc/doxygen-user/main_user_usage.dox.in \
	    $(srcdir)/doc/doxygen-user/opari2_usage.dox.in \
	    $(srcdir)/doc/doxygen-user/main_user_usage-end.dox.in \
	    > doc/doxygen-user/main_user_usage.dox

doc/doxygen-user/main_user_linking.dox:
	$(AM_V_GEN)$(MKDIR_P) doc/doxygen-user && \
	( \
	    cat $(srcdir)/doc/doxygen-user/main_user_linking.dox.in \
	        $(srcdir)/doc/doxygen-user/opari2-config_usage.dox.in; \
	    echo "\endverbatim"; \
	) > doc/doxygen-user/main_user_linking.dox
else
doc/doxygen-user/main.dox:
#	touch doc/doxygen-user/main.dox

doc/doxygen-dev/main.dox:
#	touch doc/doxygen-dev/main.dox
endif

doxygen-dev: doc/doxygen-dev/main.dox
	$(MKDIR_P) doxygen-dev-doc/opari2/tags
	$(DOXYGEN) doc/doxygen-dev.cfg

dist-hook: doc/doxygen-user/main.dox doxygen-user-generate
	$(AM_V_at)rm -f $(top_distdir)/build-frontend/opari2_usage.h
	$(AM_V_at)rm -f $(top_distdir)/build-frontend/opari2-config_usage.h

install-data-local: doxygen-user-install

clean-local: doxygen-user-clean
	rm -rf test/tmp

uninstall-hook: doxygen-uninstall common-uninstall

libexec_SCRIPTS = build-frontend/pomp2-parse-init-regions.awk

# non-color automake only provides $(am__tty_colors) if tests are in use
TESTS =