mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-17 03:03:24 +02:00
lang/c/msgpack: autotoolized
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@59 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
0
c/ChangeLog
Normal file
0
c/ChangeLog
Normal file
17
c/Makefile
17
c/Makefile
@@ -1,17 +0,0 @@
|
||||
|
||||
CFLAGS = -I.. -Wall -g -O4
|
||||
LDFLAGS = -L.
|
||||
|
||||
all: bench
|
||||
|
||||
bench: pack.o unpack.o unpack_inline.o bench.o pack.h pack_inline.h unpack.h unpack_context.h
|
||||
$(CC) $(LDFLAGS) unpack.o unpack_inline.o pack.o bench.o -lyajl_s -o $@
|
||||
|
||||
bench_inline: pack.o bench_inline.o pack.h pack_inline.h
|
||||
$(CC) $(LDFLAGS) pack.o bench_inline.o -lyajl_s -o $@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) unpack.o unpack_inline.o pack.o test.o bench.o bench_inline.o
|
||||
$(RM) bench bench_inline
|
||||
|
15
c/Makefile.am
Normal file
15
c/Makefile.am
Normal file
@@ -0,0 +1,15 @@
|
||||
lib_LTLIBRARIES = libmsgpackc.la
|
||||
|
||||
libmsgpackc_la_SOURCES = \
|
||||
pack.c \
|
||||
unpack.c \
|
||||
unpack_inline.c
|
||||
|
||||
nobase_include_HEADERS = \
|
||||
msgpack/pack.h \
|
||||
msgpack/unpack.h
|
||||
|
||||
noinst_HEADERS = \
|
||||
pack_inline.h \
|
||||
unpack_context.h
|
||||
|
3
c/bootstrap
Executable file
3
c/bootstrap
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
NO_NEST=1
|
||||
source ../bootstrap
|
11
c/configure.in
Normal file
11
c/configure.in
Normal file
@@ -0,0 +1,11 @@
|
||||
AC_INIT(pack.h)
|
||||
AM_INIT_AUTOMAKE(msgpackc, 0.1)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
CFLAGS="-O4 $CFLAGS -Wall -I.."
|
||||
|
||||
AC_OUTPUT([Makefile])
|
||||
|
Reference in New Issue
Block a user