Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 54a6506

Browse files
committed
Initial commit
0 parents  commit 54a6506

27 files changed

+3687
-0
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Petr Štetiar <[email protected]>

COPYING

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2009 Petr �tetiar <[email protected]>, Gaben
2+
3+
Permission is hereby granted, free of charge, to any person
4+
obtaining a copy of this software and associated documentation
5+
files (the "Software"), to deal in the Software without
6+
restriction, including without limitation the rights to use,
7+
copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the
9+
Software is furnished to do so, subject to the following
10+
conditions:
11+
12+
The above copyright notice and this permission notice shall be
13+
included in all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.

ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Makefile.am

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
AUTOMAKE_OPTIONS = foreign 1.6
2+
SUBDIRS = include src bindings
3+
4+
$(OBJECTS): libtool
5+
libtool: $(LIBTOOL_DEPS)
6+
$(SHELL) ./config.status --recheck
7+
8+
EXTRA_DIST = windows/vs2k5/librs232/*
9+

TODO

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

autogen.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
3+
run ()
4+
{
5+
echo "running: $*"
6+
eval $*
7+
8+
if test $? != 0 ; then
9+
echo "error: while running '$*'"
10+
exit 1
11+
fi
12+
}
13+
14+
run aclocal
15+
run libtoolize -f
16+
run automake -a
17+
run autoconf

bindings/Makefile.am

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if BUILD_LUA
2+
subdirs = lua
3+
endif
4+
5+
SUBDIRS = $(subdirs)

bindings/lua/Makefile.am

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
LIBVERSION = 0:1:0
2+
3+
if ENABLE_DEBUG
4+
AM_CFLAGS_EXTRA= -DRS232_DEBUG -ggdb3 -O0
5+
else
6+
AM_CFLAGS_EXTRA = -O2
7+
endif
8+
9+
INCLUDES = $(all_includes) -I$(top_srcdir)/include
10+
AM_CFLAGS = -Wall -ansi -pedantic -W -Wmissing-prototypes -Wmissing-declarations -Werror -std=gnu99 $(AM_CFLAGS_EXTRA) $(LUA_CFLAGS)
11+
12+
lib_LTLIBRARIES = librs232lua.la
13+
librs232lua_la_LIBADD = ../../src/librs232.la $(LUA_LFLAGS)
14+
librs232lua_la_LDFLAGS = -Wc,-nostartfiles -version-info $(LIBVERSION) -module
15+
librs232lua_la_SOURCES = rs232_lua.c
16+

0 commit comments

Comments
 (0)