Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
bfef2fcd
Commit
bfef2fcd
authored
Dec 07, 2009
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autotools build system builds chat example now
parent
a08a72dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
9 deletions
+38
-9
Makefile.am
Makefile.am
+2
-2
configure.in
configure.in
+18
-7
Makefile.am
examples/Makefile.am
+7
-0
Makefile.am
examples/chat/Makefile.am
+11
-0
No files found.
Makefile.am
View file @
bfef2fcd
...
...
@@ -6,8 +6,8 @@ if INSTALL_MAN
DIR_MAN
=
man
endif
SUBDIRS
=
src
$(DIR_MAN)
$(DIR_PERF)
devices bindings
DIST_SUBDIRS
=
src man perf devices bindings
SUBDIRS
=
src
$(DIR_MAN)
$(DIR_PERF)
devices bindings
examples
DIST_SUBDIRS
=
src man perf devices bindings
examples
EXTRA_DIST
=
$(top_srcdir)
/foreign/openpgm/@pgm1_basename@.tar.bz2
\
$(top_srcdir)
/foreign/openpgm/@pgm2_basename@.tar.bz2
\
...
...
configure.in
View file @
bfef2fcd
...
...
@@ -605,7 +605,7 @@ if test "x$werror" = "xyes" -a "x$pgm1_ext" = "xno" -a "x$pgm2_ext" = "xno"; the
LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS} -Werror"
fi
#
f
orwarder device
#
F
orwarder device
forwarder="no"
AC_ARG_WITH([forwarder], [AS_HELP_STRING([--with-forwarder],
[build forwarder device [default=no]])], [with_forwarder=yes], [with_forwarder=no])
...
...
@@ -614,7 +614,7 @@ if test "x$with_forwarder" != "xno"; then
forwarder="yes"
fi
#
s
treamer device
#
S
treamer device
streamer="no"
AC_ARG_WITH([streamer], [AS_HELP_STRING([--with-streamer],
[build streamer device [default=no]])], [with_streamer=yes], [with_streamer=no])
...
...
@@ -641,6 +641,13 @@ if test "x$with_perf" = "xno" -a "x$with_pgm2_examples" = "xyes"; then
AC_MSG_ERROR([Can not configure --with-pgm2-examples without --with-perf.]);
fi
# Chat example
chat="no"
AC_ARG_WITH([chat], [AS_HELP_STRING([--with-chat], [build chatroom example [default=no]])], [with_chat=yes], [with_chat=no])
if test "x$with_chat" != "xno"; then
chat="yes"
fi
AM_CONDITIONAL(BUILD_PYTHON, test "x$pyzmq" = "xyes")
AM_CONDITIONAL(BUILD_JAVA, test "x$jzmq" = "xyes")
AM_CONDITIONAL(BUILD_PYTHON, test "x$pyzmq" = "xyes")
...
...
@@ -653,7 +660,8 @@ AM_CONDITIONAL(BUILD_PGM2, test "x$pgm2_ext" = "xyes")
AM_CONDITIONAL(BUILD_NO_PGM, test "x$pgm2_ext" = "xno" -a "x$pgm1_ext" = "xno")
AM_CONDITIONAL(BUILD_FORWARDER, test "x$forwarder" = "xyes")
AM_CONDITIONAL(BUILD_STREAMER, test "x$streamer" = "xyes")
AM_CONDITIONAL(BUILD_PERF, test "x$perf" = "xyes")
AM_CONDITIONAL(BUILD_PERF, test "x$perf" = "xyes")
AM_CONDITIONAL(BUILD_CHAT, test "x$chat" = "xyes")
AM_CONDITIONAL(ON_MINGW, test "x$on_mingw32" = "xyes")
AM_CONDITIONAL(BUILD_PGM2_EXAMPLES, test "x$with_pgm2_ext" = "xyes")
AM_CONDITIONAL(INSTALL_MAN, test "x$install_man" = "xyes")
...
...
@@ -677,7 +685,8 @@ AC_OUTPUT(Makefile src/Makefile man/Makefile bindings/python/Makefile \
bindings/java/Makefile perf/Makefile perf/c/Makefile perf/cpp/Makefile \
perf/python/Makefile perf/ruby/Makefile perf/java/Makefile src/libzmq.pc \
devices/Makefile devices/zmq_forwarder/Makefile \
devices/zmq_streamer/Makefile bindings/Makefile)
devices/zmq_streamer/Makefile bindings/Makefile \
examples/Makefile examples/chat/Makefile)
AC_MSG_RESULT([])
AC_MSG_RESULT([ ******************************************************** ])
...
...
@@ -715,9 +724,11 @@ if test "x$pgm1_ext" = "xno" -a "x$pgm2_ext" = "xno"; then
AC_MSG_RESULT([ PGM: no])
fi
AC_MSG_RESULT([ Devices:])
AC_MSG_RESULT([ forwarder: $forwarder])
AC_MSG_RESULT([ streamer: $streamer])
AC_MSG_RESULT([ Performance tests: $perf])
AC_MSG_RESULT([ Forwarder: $forwarder])
AC_MSG_RESULT([ Streamer: $streamer])
AC_MSG_RESULT([ Performance tests: $perf])
AC_MSG_RESULT([ Examples:])
AC_MSG_RESULT([ Chat: $chat])
AC_MSG_RESULT([])
AC_MSG_RESULT([ ******************************************************** ])
AC_MSG_RESULT([])
...
...
examples/Makefile.am
0 → 100644
View file @
bfef2fcd
if
BUILD_CHAT
DIR_CHAT
=
chat
endif
SUBDIRS
=
$(DIR_CHAT)
DIST_SUBDIRS
=
chat
examples/chat/Makefile.am
0 → 100644
View file @
bfef2fcd
INCLUDES
=
-I
$(top_builddir)
/bindings/c
-I
$(top_builddir)
/bindings/cpp
noinst_PROGRAMS
=
display prompt
display_SOURCES
=
display.cpp
display_LDADD
=
$(top_builddir)
/src/libzmq.la
display_CXXFLAGS
=
-Wall
-pedantic
-Werror
prompt_SOURCES
=
prompt.cpp
prompt_LDADD
=
$(top_builddir)
/src/libzmq.la
prompt_CXXFLAGS
=
-Wall
-pedantic
-Werror
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