Permalink
Browse files

Added initial source files, and autotools

  • Loading branch information...
1 parent 46227ec commit 3952660b8d905c9caa4245a9132e7bdd41fd7313 @hintjens hintjens committed Aug 4, 2012
Showing with 2,187 additions and 0 deletions.
  1. +5 −0 AUTHORS
  2. +44 −0 C/.gitignore
  3. +4 −0 C/Makefile.am
  4. +43 −0 C/autogen.sh
  5. +520 −0 C/c
  6. +212 −0 C/configure.in
  7. +45 −0 C/doc/Makefile.am
  8. +34 −0 C/include/mdcliapi.h
  9. +34 −0 C/include/mdcliapi2.h
  10. +26 −0 C/include/mdp.h
  11. +36 −0 C/include/mdwrkapi.h
  12. +29 −0 C/src/Makefile.am
  13. +492 −0 C/src/mdbroker.c
  14. +177 −0 C/src/mdcliapi.c
  15. +162 −0 C/src/mdcliapi2.c
  16. +27 −0 C/src/mdclient.c
  17. +29 −0 C/src/mdclient2.c
  18. +24 −0 C/src/mdworker.c
  19. +244 −0 C/src/mdwrkapi.c
View
@@ -0,0 +1,5 @@
+Maintainer
+==========
+
+Pieter Hintjens <ph@imatix.com>
+
View
@@ -0,0 +1,44 @@
+INSTALL
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.cache/
+config.log
+config.status
+config/
+configure
+doc/Makefile
+doc/Makefile.in
+libtool
+src/.deps/
+src/Makefile
+src/Makefile.in
+src/libmdp.pc
+src/platform.hpp
+src/platform.hpp.in
+src/platform.hpp.in~
+src/stamp-h1
+src/*.o
+src/mtrace.txt
+src/outbin
+src/mdp_selftest
+doc/*.7
+doc/*.xml
+src/.libs/
+src/mdp.la
+src/platform.h
+src/platform.h.in
+src/platform.h.in~
+src/*.lo
+src/malloc.txt
+src/core
+ipr
+*.gz
+*.zip
+*.la
+win32/mdp.ncb
+win32/mdp.vcproj.WS200902.user.user
+win32/mdp_selftest.exe.embed.manifest
+win32/mdp_selftest.exe.embed.manifest.res
+win32/mdp_selftest.exe.intermediate.manifest
+win32/mdp_selftest.vcproj.WS200902.user.user
View
@@ -0,0 +1,4 @@
+ACLOCAL_AMFLAGS = -I config
+
+SUBDIRS = src doc
+DIST_SUBDIRS = src doc
View
@@ -0,0 +1,43 @@
+#!/bin/sh
+# Copyright (c) 1991-2012 iMatix Corporation and contributors
+#
+# This file is part of the Majordomo project.
+#
+# This is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Script to generate all required files from fresh git checkout.
+
+command -v libtool >/dev/null 2>&1
+if [ $? -ne 0 ]; then
+ echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
+ exit 1
+fi
+
+command -v autoreconf >/dev/null 2>&1
+if [ $? -ne 0 ]; then
+ echo "autogen.sh: error: could not find autoreconf. autoconf and automake are required to run autogen.sh." 1>&2
+ exit 1
+fi
+
+mkdir -p ./config
+if [ $? -ne 0 ]; then
+ echo "autogen.sh: error: could not create directory: ./config." 1>&2
+ exit 1
+fi
+
+autoreconf --install --force --verbose -I config
+if [ $? -ne 0 ]; then
+ echo "autogen.sh: error: autoreconf exited with status $?" 1>&2
+ exit 1
+fi
Oops, something went wrong.

0 comments on commit 3952660

Please sign in to comment.