Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
550a4200
Commit
550a4200
authored
Mar 06, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile.am generation script
parent
a31822a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
cr_makefile_am.sh
cr_makefile_am.sh
+30
-0
No files found.
cr_makefile_am.sh
0 → 100755
View file @
550a4200
cpp_files
=(
$(
cat
cppa.files |
grep
"src/.*
\.
cpp$"
|
sort
)
)
num_cpp_files
=
${#
cpp_files
[@]
}
hpp_files
=(
$(
cat
cppa.files |
grep
"cppa/.*
\.
hpp$"
|
sort
)
)
num_hpp_files
=
${#
hpp_files
[@]
}
echo
"ACLOCAL_AMFLAGS = -I m4"
echo
""
echo
"lib_LTLIBRARIES = libcppa.la"
echo
""
echo
"libcppa_la_SOURCES =
\\
"
for
i
in
$(
seq
0
$((
$num_cpp_files
-
2
))
)
;
do
echo
"
${
cpp_files
[
$i
]
}
\\
"
;
done
echo
"
${
cpp_files
[
$((
$num_cpp_files
-
1
))
]
}
"
echo
""
echo
"if VERSIONED_INCLUDE_DIR"
echo
"library_includedir =
\$
(includedir)/cppa/
\$
(PACKAGE_VERSION)/"
echo
"else"
echo
"library_includedir =
\$
(includedir)/"
echo
"endif"
echo
""
echo
"nobase_library_include_HEADERS =
\\
"
for
i
in
$(
seq
0
$((
$num_hpp_files
-
2
))
)
;
do
echo
"
${
hpp_files
[
$i
]
}
\\
"
;
done
echo
"
${
hpp_files
[
$((
$num_hpp_files
-
1
))
]
}
"
echo
""
echo
"libcppa_la_CXXFLAGS = --std=c++0x -pedantic -Wall -Wextra"
echo
"libcppa_la_LDFLAGS = -release
\$
(PACKAGE_VERSION)
\$
(BOOST_CPPFLAGS)"
echo
""
echo
"pkgconfigdir =
\$
(libdir)/pkgconfig"
echo
"pkgconfig_DATA = libcppa.pc"
echo
""
echo
"SUBDIRS = . unit_testing examples benchmarks"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment