automake: add basic libtool support

* Also:
  - Add libtool-related files into "make dist"
  - Update .gitignore

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
Oron Peled 2014-12-07 14:00:42 -05:00 committed by Tzafrir Cohen
parent fc620819b6
commit 6df9a492a0
4 changed files with 29 additions and 4 deletions

11
.gitignore vendored
View File

@ -1,9 +1,16 @@
*~ *~
*.o *.o
*.lo
*.a
*.so
*.la
.*.o.d .*.o.d
.*.lo.d .*.lo.d
*.asciidoc *.asciidoc
*.html *.html
.deps
.libs
.dirstamp
Makefile Makefile
Makefile.in Makefile.in
auxdir/ auxdir/
@ -32,8 +39,8 @@ hdlcgen
hdlcstress hdlcstress
hdlctest hdlctest
hdlcverify hdlcverify
libtonezone.a libtool
libtonezone.so m4/
makeopts makeopts
patgen patgen
patlooptest patlooptest

View File

@ -24,4 +24,12 @@ docs config:
DISTCLEANFILES = makeopts config.log config.status .*.d DISTCLEANFILES = makeopts config.log config.status .*.d
MAINTAINERCLEANFILES = \
m4/libtool.m4 \
m4/ltoptions.m4 \
m4/ltsugar.m4 \
m4/ltversion.m4 \
m4/lt~obsolete.m4 \
#
.PHONY: docs config .PHONY: docs config

View File

@ -30,10 +30,20 @@ extra_dist='
ppp/Makefile.in ppp/Makefile.in
Makefile.in Makefile.in
xpp/Makefile.in xpp/Makefile.in
xpp/oct612x/Makefile.in
auxdir/compile
auxdir/config.guess
auxdir/config.sub
auxdir/depcomp
auxdir/install-sh auxdir/install-sh
auxdir/ltmain.sh
auxdir/missing auxdir/missing
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
' '
find $extra_dist | cpio -pudmv "$tmp_version_dir" find $extra_dist | cpio -pudmv "$tmp_version_dir"
tar czf "$output" -C "$tmp_work_dir" "$tarball_prefix" tar czf "$output" -C "$tmp_work_dir" "$tarball_prefix"
rm -rf "$tmp_work_dir" rm -rf "$tmp_work_dir"

View File

@ -55,8 +55,8 @@ AM_PROG_CC_C_O
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_AWK AC_PROG_AWK
AC_PROG_LIBTOOL
AST_CHECK_GNU_MAKE AST_CHECK_GNU_MAKE
test_obj=conftest.o test_obj=conftest.o