mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-16 06:25:04 -05:00
Merge pull request #4 from sorced-jim/master
Minor updates to make git status work better
This commit is contained in:
commit
175c4758bf
25
.gitignore
vendored
25
.gitignore
vendored
@ -1,2 +1,27 @@
|
|||||||
*~
|
*~
|
||||||
*.o
|
*.o
|
||||||
|
*.lo
|
||||||
|
*.la
|
||||||
|
depcomp
|
||||||
|
*.m4
|
||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
libtool
|
||||||
|
missing
|
||||||
|
autom4te.cache/
|
||||||
|
config.guess
|
||||||
|
config.h
|
||||||
|
config.h.in
|
||||||
|
config.log
|
||||||
|
config.status
|
||||||
|
config.sub
|
||||||
|
configure
|
||||||
|
install-sh
|
||||||
|
.deps/
|
||||||
|
.libs
|
||||||
|
lib/includes/spdylay/spdylayver.h
|
||||||
|
lib/libspdylay.pc
|
||||||
|
ltmain.sh
|
||||||
|
stamp-h1
|
||||||
|
.deps/
|
||||||
|
INSTALL
|
||||||
|
@ -20,6 +20,6 @@
|
|||||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
SUBDIRS = lib tests
|
SUBDIRS = lib tests examples
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
13
README.rst
13
README.rst
@ -38,3 +38,16 @@ get a resource given in the command-line::
|
|||||||
Please note that OpenSSL with
|
Please note that OpenSSL with
|
||||||
`NPN <http://technotes.googlecode.com/git/nextprotoneg.html>`_
|
`NPN <http://technotes.googlecode.com/git/nextprotoneg.html>`_
|
||||||
support is required in order to build and run ``spdycat``.
|
support is required in order to build and run ``spdycat``.
|
||||||
|
|
||||||
|
==============
|
||||||
|
Build from git
|
||||||
|
==============
|
||||||
|
|
||||||
|
Building from git is easy, but please be sure that at least autoconf 2.68 is
|
||||||
|
used.
|
||||||
|
|
||||||
|
autoreconf -i
|
||||||
|
automake
|
||||||
|
autoconf
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
@ -36,6 +36,7 @@ AC_CONFIG_HEADERS([config.h])
|
|||||||
|
|
||||||
dnl Checks for programs
|
dnl Checks for programs
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
AC_PROG_CXX
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
@ -86,6 +87,7 @@ AC_CONFIG_FILES([
|
|||||||
lib/includes/Makefile
|
lib/includes/Makefile
|
||||||
lib/includes/spdylay/spdylayver.h
|
lib/includes/spdylay/spdylayver.h
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
|
examples/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
1
examples/.gitignore
vendored
Normal file
1
examples/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
spdycat
|
@ -20,34 +20,12 @@
|
|||||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# 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
|
AM_CFLAGS = -Wall
|
||||||
SPDYCAT_OBJS = spdycat.o spdylay_ssl.o util.o uri.o
|
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
|
bin_PROGRAMS = spdycat
|
||||||
all: $(PROGRAMS)
|
|
||||||
|
|
||||||
util.o: util.cc util.h
|
spdycat_SOURCES = uri.cc spdylay_ssl.cc util.cc spdycat.cc
|
||||||
$(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)
|
|
Loading…
Reference in New Issue
Block a user