Browse Source

automake: add basic libtool support

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

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
master
Oron Peled 7 years ago
committed by Tzafrir Cohen
parent
commit
6df9a492a0
  1. 11
      .gitignore
  2. 8
      Makefile.am
  3. 12
      build_tools/make_dist
  4. 2
      configure.ac

11
.gitignore

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

8
Makefile.am

@ -24,4 +24,12 @@ docs config:
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

12
build_tools/make_dist

@ -30,10 +30,20 @@ extra_dist='
ppp/Makefile.in
Makefile.in
xpp/Makefile.in
xpp/oct612x/Makefile.in
auxdir/compile
auxdir/config.guess
auxdir/config.sub
auxdir/depcomp
auxdir/install-sh
auxdir/ltmain.sh
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"
tar czf "$output" -C "$tmp_work_dir" "$tarball_prefix"
rm -rf "$tmp_work_dir"

2
configure.ac

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

Loading…
Cancel
Save