Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restruct source layout to meet common conventions.
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
- Loading branch information
Showing
11 changed files
with
603 additions
and
15 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,4 @@ | ||
Hans J. Koch <hjk@hansjkoch.de> | ||
John Ogness <john.ogness@linutronix.de> | ||
Benedikt Spranger <b.spranger@linutronix.de> | ||
Manuel Traut <manut@linutronix.de> |
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,18 @@ | ||
#! /bin/sh | ||
|
||
if [ -z $1 ] | ||
then | ||
exit 1 | ||
fi | ||
|
||
if [ -d "$1/.git" ] | ||
then | ||
git log --date-order --date=short | \ | ||
sed -e '/^commit.*$/d' | \ | ||
awk '/^Author/ {sub(/\\$/,""); getline t; print $0 t; next}; 1' | \ | ||
sed -e 's/^Author: //g' | \ | ||
sed -e 's/>Date: \([0-9]*-[0-9]*-[0-9]*\)/>\t\1/g' | \ | ||
sed -e 's/^\(.*\) \(\)\t\(.*\)/\3 \1 \2/g' > $1/ChangeLog | ||
fi | ||
|
||
exit 0 |
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 |
---|---|---|
@@ -1,6 +1,20 @@ | ||
SUBDIRS = src | ||
|
||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = libUIO.pc | ||
|
||
EXTRA_DIST = libUIO.pc.in libUIO-uninstalled.pc.in | ||
lib_LTLIBRARIES = libUIO.la | ||
libUIO_la_SOURCES = libUIO.c libUIO.h | ||
libUIO_la_CFLAGS = -O2 -Wall -Wextra $(LIBUIO_WERROR) | ||
include_HEADERS = libUIO.h | ||
|
||
EXTRA_DIST = libUIO.pc.in libUIO-uninstalled.pc.in ChangeLog-from-git | ||
|
||
DISTCLEANFILES = *~ | ||
|
||
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in \ | ||
config.sub configure depcomp INSTALL install-sh ltmain.sh m4/* \ | ||
Makefile.in missing | ||
|
||
ACLOCAL_AMFLAGS = -I m4 | ||
|
||
dist-hook: | ||
$(top_srcdir)/ChangeLog-from-git $(top_srcdir) |
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,22 @@ | ||
libUIO - UserspaceIO helper library | ||
|
||
|
||
|
||
Copyright (C) 2008 Hans J. Koch | ||
|
||
libUIO is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License version 2.1 | ||
as published by the Free Software Foundation. | ||
|
||
This program 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 Lesser General Public License for more details. | ||
|
||
You should have received a copy of the Lesser GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
||
Comments are welcome. | ||
|
||
- Hans J. Koch <hjk@hansjkoch.de> |
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 @@ | ||
#! /bin/sh | ||
mkdir -p m4 && \ | ||
touch ChangeLog && \ | ||
autoreconf -s -f -i |
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 |
---|---|---|
@@ -1,13 +1,41 @@ | ||
AC_INIT([libUIO],[0.1],[john.ogness@linutronix.de]) | ||
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) | ||
AC_PROG_CC | ||
AC_PROG_LIBTOOL | ||
AC_PROG_INSTALL | ||
AC_LANG([C]) | ||
dnl Every other copy of the package version number gets its value from here | ||
AC_INIT(libuio, 0.2, john.ogness@linutronix.de) | ||
AM_INIT_AUTOMAKE | ||
|
||
AM_CONFIG_HEADER(config.h) | ||
|
||
AC_SUBST(VERSION) | ||
|
||
ISODATE=`date +%Y-%m-%d` | ||
AC_SUBST(ISODATE) | ||
|
||
AC_CANONICAL_HOST | ||
AC_CANONICAL_BUILD | ||
AC_CONFIG_HEADERS([src/config.h]) | ||
AC_LANG([C]) | ||
|
||
dnl Checks for programs. | ||
AC_PROG_CC | ||
AM_PROG_CC_C_O | ||
AC_PROG_INSTALL | ||
AC_PROG_LIBTOOL | ||
|
||
dnl Checks for libraries. | ||
|
||
dnl Checks for header files. | ||
|
||
dnl Checks for typedefs, structures, and compiler characteristics. | ||
|
||
dnl Checks for library functions. | ||
|
||
dnl with or without -Werror | ||
AC_ARG_WITH([werror], | ||
[AS_HELP_STRING([--with-werror], | ||
[compile with -Werror @<:@default=without@:>@])], | ||
[LIBUIO_WERROR="-Werror"], | ||
[LIBUIO_WERROR=""]) | ||
AC_SUBST(CIF_WERROR) | ||
|
||
dnl last but not least | ||
AC_OUTPUT([Makefile | ||
src/Makefile | ||
libUIO-uninstalled.pc | ||
libUIO.pc]) |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.