Cleanup autotools code and add gitignore

pull/7/head
nirenjan 2015-11-30 22:30:14 -08:00
parent 5e4a6dc826
commit 032dda1dd4
4 changed files with 28 additions and 10 deletions

20
libx52/.gitignore vendored 100644
View File

@ -0,0 +1,20 @@
# Ignore autogenerated files
.deps
.dirstamp
.libs
ar-lib
autom4te.cache
compile
config.*
configure
depcomp
install-sh
libtool
ltmain.sh
missing
Makefile
Makefile.in
*.la
*.lo
*.m4
libx52-*.*

View File

@ -1,2 +1,6 @@
SUBDIRS = src
lib_LTLIBRARIES = libx52.la
libx52_la_SOURCES = src/x52_common.h src/x52_commands.h src/libx52.h \
src/x52_control.c src/x52_core.c \
src/x52_date_time.c src/x52_mfd_led.c
libx52_la_LDFLAGS = -version-info 1:0:0
pkginclude_HEADERS = src/libx52.h

View File

@ -1,4 +1,4 @@
AC_INIT([libx52], [1.0], [nirenjan@gmail.com])
AC_INIT([libx52], [1.0.0], [nirenjan@gmail.com])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AC_PROG_CC
AM_PROG_AR
@ -21,5 +21,5 @@ if test "x${have_libusb}" = xno; then
])
fi
AC_CONFIG_FILES([Makefile src/Makefile])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

View File

@ -1,6 +0,0 @@
lib_LTLIBRARIES = libx52.la
libx52_la_SOURCES = x52_common.h x52_commands.h libx52.h \
x52_control.c x52_core.c \
x52_date_time.c x52_mfd_led.c
pkginclude_HEADERS = libx52.h