Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
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
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
Libraries
nghttp2
Commits
40db6885
Commit
40db6885
authored
Jan 31, 2012
by
Jim Morrison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automake-zie the examples directory
parent
a0c457cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
29 deletions
+10
-29
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+2
-0
examples/.gitignore
examples/.gitignore
+1
-0
examples/Makefile.am
examples/Makefile.am
+6
-28
No files found.
Makefile.am
View file @
40db6885
...
...
@@ -20,6 +20,6 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SUBDIRS
=
lib tests
SUBDIRS
=
lib tests
examples
ACLOCAL_AMFLAGS
=
-I
m4
configure.ac
View file @
40db6885
...
...
@@ -36,6 +36,7 @@ AC_CONFIG_HEADERS([config.h])
dnl Checks for programs
AC_PROG_CC
AC_PROG_CXX
AM_PROG_LIBTOOL
AC_PROG_INSTALL
AC_PROG_LN_S
...
...
@@ -86,6 +87,7 @@ AC_CONFIG_FILES([
lib/includes/Makefile
lib/includes/spdylay/spdylayver.h
tests/Makefile
examples/Makefile
])
AC_OUTPUT
...
...
examples/.gitignore
0 → 100644
View file @
40db6885
spdycat
examples/Makefile
→
examples/Makefile
.am
View file @
40db6885
...
...
@@ -20,34 +20,12 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
CC
=
gcc
CXX
=
g++
CFLAGS
=
-Wall
-g
-O2
-I
../lib/includes
CXXFLAGS
=
$(CFLAGS)
LDFLAGS
=
-L
../lib/.libs
LIBS
=
-lspdylay
-lssl
-lcrypto
PROGRAMS
=
spdycat
SPDYCAT_OBJS
=
spdycat.o spdylay_ssl.o util.o uri.o
AM_CFLAGS
=
-Wall
AM_CPPFLAGS
=
-I
$(srcdir)
/../lib/includes
-I
$(builddir)
/../lib/includes
`
pkg-config
--cflags
libssl
`
AM_LDFLAGS
=
`
pkg-config
--libs
libssl
`
LDADD
=
$(top_builddir)
/lib/libspdylay.la
.PHONY
:
all
all
:
$(PROGRAMS)
bin_PROGRAMS
=
spdycat
util.o
:
util.cc util.h
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
-c
$<
uri.o
:
uri.cc uri.h
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
-c
$<
spdylay_ssl.o
:
spdylay_ssl.cc spdylay_ssl.h
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
-c
$<
spdycat.o
:
spdycat.cc
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
-c
$<
spdycat
:
$(SPDYCAT_OBJS)
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
$(SPDYCAT_OBJS)
-o
$@
$(LIBS)
.PHONY
:
clean
clean
:
rm
-f
*
.o
$(PROGRAMS)
spdycat_SOURCES
=
uri.cc spdylay_ssl.cc util.cc spdycat.cc
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