forked from philberty/vigilant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a8a3919
Showing
16 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Object files | ||
*.o | ||
*.ko | ||
*.lo | ||
. | ||
# Libraries | ||
*.lib | ||
*.a | ||
*.la | ||
.deps | ||
.libs | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
*.so.* | ||
*.dylib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
Makefile | ||
Makefile.in | ||
libtool | ||
config.h | ||
config.h.in | ||
|
||
configure | ||
picklectl | ||
test | ||
|
||
picklejarFlask.c | ||
picklejarFlask.h | ||
|
||
aclocal.m4 | ||
autom4te.cache/ | ||
config.log | ||
config.status | ||
config/compile | ||
config/config.guess | ||
config/config.sub | ||
config/depcomp | ||
config/install-sh | ||
config/ltmain.sh | ||
config/missing | ||
config/ylwrap | ||
src/stamp-h1 | ||
libtool.m4 | ||
ltoptions.m4 | ||
ltsugar.m4 | ||
ltversion.m4 | ||
lt~obsolete.m4 | ||
picklejar.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 Philip Herron | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SUBDIRS = \ | ||
src | ||
AUTOMAKE_OPTIONS = foreign | ||
ACLOCAL_AMFLAGS = -I m4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* picklejar | ||
Shared memory database for Serialized data structures | ||
|
||
** Dependancies | ||
|
||
sudo apt-get install build-essential autoconf automake \ | ||
libtool libjson-c-dev libmicrohttpd-dev libevent-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
autoreconf -v --install | exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
AC_PREREQ(2.59) | ||
AC_REVISION($Revision$) | ||
|
||
AC_INIT(watchy, 0.01, https://github.com/redbrain/watchy) | ||
AC_CONFIG_SRCDIR([src/test.c]) | ||
AC_CONFIG_HEADER([src/config.h]) | ||
dnl keep the autoconf generated stuff neatly in a folder | ||
AC_CONFIG_AUX_DIR([config]) | ||
AM_SANITY_CHECK | ||
|
||
dnl Last slash shouldn't be stripped if prefix=/ | ||
if test "$prefix" != "/"; then | ||
prefix=`echo "$prefix" | sed -e 's/\/$//g'` | ||
fi | ||
|
||
dnl Checks for programs. | ||
AC_DEFINE_UNQUOTED([CONFIG_CC], "$CC", [C Compiler used]) | ||
AC_PROG_INSTALL | ||
AC_PROG_CC | ||
AC_PROG_CXX | ||
|
||
AC_EXEEXT | ||
AC_GNU_SOURCE | ||
AC_PROG_INSTALL | ||
|
||
AC_PROG_LIBTOOL | ||
AM_PROG_LIBTOOL | ||
|
||
AM_PROG_CC_C_O | ||
AC_C_INLINE | ||
AC_CANONICAL_HOST | ||
|
||
AC_CHECK_PROG(CYTHON_CHECK,cython,yes) | ||
if test x"$CYTHON_CHECK" != x"yes" ; then | ||
AC_MSG_ERROR([Please install cython]) | ||
fi | ||
PKG_CHECK_MODULES([py], [python], [], | ||
[ | ||
AC_ERROR([Couldn't find libpython.so]) | ||
]) | ||
AC_SUBST(py_CFLAGS) | ||
AC_SUBST(py_LIBS) | ||
|
||
AM_INIT_AUTOMAKE | ||
AC_CONFIG_FILES([Makefile | ||
src/Makefile | ||
src/watchy.pc]) | ||
AC_OUTPUT | ||
|
||
echo "---" | ||
echo "Configuration summary for $PACKAGE_NAME version $VERSION" | ||
echo "" | ||
echo " * Installation prefix: $prefix" | ||
echo " * C Compiler: $CC" | ||
echo " * C++ Compiler: $CXX" | ||
echo " * C Flags: $CFLAGS" | ||
echo " * C++ Flags: $CXXFLAGS" | ||
echo " * LD Flags: $LDFLAGS" | ||
echo "" | ||
echo "---" | ||
|
||
dnl libtoolize scans configure.ac and needs to see some text | ||
m4_define([LIBTOOLIZE_AC_INIT], []) |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
bin_PROGRAMS = test$(EXEEXT) picklectl$(EXEEXT) | ||
lib_LTLIBRARIES = libpicklejar.la | ||
|
||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = picklejar.pc | ||
|
||
libpicklejar_cindludedir = $(includedir)/picklejar | ||
libpicklejar_cindlude_HEADERS = picklejar.h | ||
|
||
libpicklejar_la_YFLAGS = -d | ||
libpicklejar_la_CFLAGS = $(json_CFLAGS) $(event_CFLAGS) $(py_CFLAGS) | ||
libpicklejar_la_LDFLAGS = -rpath '$(libdir)' $(json_LIBS) $(event_LIBS) $(py_LIBS) | ||
libpicklejar_la_SOURCES = \ | ||
picklejarFlask.pyx \ | ||
picklejar-api.c \ | ||
picklejar-restful.c \ | ||
picklejar-unix.c | ||
|
||
picklectl_SOURCES = picklectl.c | ||
picklectl_LDADD = libpicklejar.la | ||
|
||
test_SOURCES = test.c | ||
test_LDADD = libpicklejar.la | ||
|
||
SUFFIXES = .pyx | ||
.pyx.c: | ||
cython -2 -o $@ $< |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.