From c980526f600dcc010b7a930be5413e3c7a4a8e96 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Dec 2008 19:22:49 +0000 Subject: Initial template files --- AUTHORS | 0 COPYING | 31 +++++++++++++++++++++++++++++++ INSTALL | 1 + NEWS | 0 README | 0 configure.in | 20 ++++---------------- src/Makefile.am | 3 +++ 7 files changed, 39 insertions(+), 16 deletions(-) create mode 100644 AUTHORS create mode 100644 COPYING create mode 120000 INSTALL create mode 100644 NEWS create mode 100644 README create mode 100644 src/Makefile.am diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..2632857 --- /dev/null +++ b/COPYING @@ -0,0 +1,31 @@ + +Copyright (c) 2008, Stefan Walter +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + * Redistributions in binary form must reproduce the + above copyright notice, this list of conditions and + the following disclaimer in the documentation and/or + other materials provided with the distribution. + * The names of contributors to this software may not be + used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF +THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. diff --git a/INSTALL b/INSTALL new file mode 120000 index 0000000..5bb6e7b --- /dev/null +++ b/INSTALL @@ -0,0 +1 @@ +/usr/share/automake-1.10/INSTALL \ No newline at end of file diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/configure.in b/configure.in index 918856e..e638fcf 100644 --- a/configure.in +++ b/configure.in @@ -1,26 +1,14 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(iptools, 0.2, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(iptools, 0.2) +AC_INIT(p11-tests, 0.1, stef@memberwebs.com) +AM_INIT_AUTOMAKE(p11-tests, 0.1) -AC_CONFIG_SRCDIR([src/ipmunge.c]) +AC_CONFIG_SRCDIR([src/p11-tests.c]) AM_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AC_PROG_INSTALL -# Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h]) - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_TYPE_SIZE_T - -# Checks for library functions. -AC_FUNC_MALLOC -AC_FUNC_MEMCMP -AC_CHECK_FUNCS([atexit inet_ntoa inet_pton memset strerror strspn strtol]) - AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT + diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..7d13b5e --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,3 @@ +bin_PROGRAMS = p11-tests +p11_tests_SOURCES = p11_tests.c +AM_CFLAGS = -g -O0 -- cgit v1.2.3