Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
36b60fc1
Commit
36b60fc1
authored
Mar 29, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various autotools problems.
parent
a29e7e5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
Makefile.am
c++/Makefile.am
+15
-5
configure.ac
c++/configure.ac
+1
-1
No files found.
c++/Makefile.am
View file @
36b60fc1
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS
=
-I
m4
AUTOMAKE_OPTIONS
=
foreign
AM_CXXFLAGS
=
-I
$(srcdir)
/src
...
...
@@ -9,7 +11,8 @@ EXTRA_DIST = \
INSTALL.txt
\
COPYING.txt
\
CONTRIBUTORS.txt
\
CHANGES.txt
CHANGES.txt
\
$(capnpc_inputs)
CLEANFILES
=
$(capnpc_outputs)
test_capnpc_middleman
...
...
@@ -33,6 +36,9 @@ MAINTAINERCLEANFILES = \
m4/lt~obsolete.m4
\
m4/ltoptions.m4
maintainer-clean-local
:
-
rm
-rf
build-aux
nobase_include_HEADERS
=
\
src/capnproto/macros.h
\
src/capnproto/type-safety.h
\
...
...
@@ -76,14 +82,18 @@ capnpc_outputs = \
src/capnproto/test.capnp.c++
\
src/capnproto/test.capnp.h
BUILT_SOURCES
=
$(capnpc_outputs)
test_capnpc_middleman
:
#
$(capnpc_inputs)
$(CAPNPC)
$^
# This should depend on $(capnpc_inputs), but then make mysteriously complains
# about a cyclic dependency. I don't know where it is coming from. I rummaged
# around in the generated Makefile a bit but couldn't figure it out. I give
# up. Automake is terrible.
test_capnpc_middleman
:
$(CAPNPC)
$(capnpc_inputs)
touch
test_capnpc_middleman
$(capnpc_outputs)
:
test_capnpc_middleman
BUILT_SOURCES
=
$(capnpc_outputs)
check_PROGRAMS
=
capnproto-test
capnproto_test_LDADD
=
-lgtest
-lgtest_main
libcapnproto.a
capnproto_test_SOURCES
=
\
...
...
c++/configure.ac
View file @
36b60fc1
...
...
@@ -29,7 +29,7 @@ AX_CXX_COMPILE_STDCXX_11
ACX_PTHREAD
LIBS="$PTHREAD_LIBS $LIBS"
CXXFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CXXFLAGS="$C
XX
FLAGS $PTHREAD_CFLAGS"
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
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