Fix more autotools crap

This commit is contained in:
Lassi Kortela 2023-02-13 15:41:59 +02:00
parent c81aeacfb8
commit e3efc5b46e
4 changed files with 10 additions and 7 deletions

2
.gitignore vendored
View File

@ -7,6 +7,7 @@
.auto
.libs
.deps
INSTALL
Makefile
Makefile.in
aclocal.m4
@ -17,6 +18,7 @@ config.log
config.status
configure
libtool
m4
stamp-*
*-stamp
# Configure-generated files

View File

@ -1,4 +1,4 @@
NULL =
NULL =
SUBDIRS = include src lib scm doc examples test
DIST_SUBDIRS = $(SUBDIRS)
@ -12,5 +12,6 @@ EXTRA_DIST = \
MIGRATE \
$(NULL)
AUTOMAKE_OPTIONS = dist-bzip2
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = dist-bzip2

View File

@ -5,6 +5,7 @@ AC_CONFIG_SRCDIR([src/main.c])
AC_PREREQ([2.71])
AC_CONFIG_AUX_DIR(.auto)
AC_CONFIG_MACRO_DIRS([m4])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
@ -539,8 +540,8 @@ AM_CONDITIONAL(HAVE_MOTIF, test "${ac_cv_my_have_motif}" = "yes")
AC_SUBST(MOTIF_CFLAGS)
AC_SUBST(MOTIF_LIBS)
INCLUDES="${INCLUDES} -I\$(top_srcdir)/include -I\$(top_builddir)/include"
AC_SUBST(INCLUDES)
AM_CPPFLAGS="${INCLUDES} -I\$(top_srcdir)/include -I\$(top_builddir)/include"
AC_SUBST(AM_CPPFLAGS)
dnl Export variables
AC_SUBST(ELK_CFLAGS)

View File

@ -1,4 +1,4 @@
NULL =
NULL =
lib_LTLIBRARIES = libelk.la
libelk_la_CFLAGS = @ELK_CFLAGS@ -I/usr/include/libelf
@ -66,7 +66,7 @@ EXTRA_DIST = \
$(NULL)
bin_PROGRAMS = elk
elk_LDADD = $(top_builddir)/src/libelk.la
elk_LDADD = libelk.la
elk_SOURCES = main.c
install-exec-hook:
@ -74,4 +74,3 @@ install-exec-hook:
ln -s elk "$(DESTDIR)$(bindir)/scheme-elk"
echo-sources: ; echo $(SOURCES)