3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 13:29:25 +01:00

build: Add support for internal ELL compilation

This commit is contained in:
Marcel Holtmann 2014-04-27 16:12:54 -07:00
parent 344a33268c
commit 6748514804
4 changed files with 65 additions and 13 deletions

8
.gitignore vendored
View File

@ -7,18 +7,14 @@
Makefile Makefile
Makefile.in Makefile.in
aclocal.m4 aclocal.m4
config.guess
config.h config.h
config.h.in config.h.in
config.log config.log
config.status config.status
config.sub config.sub
configure configure
depcomp
compile
install-sh
libtool libtool
ltmain.sh
missing
stamp-h1 stamp-h1
build-aux
autom4te.cache autom4te.cache
ell

View File

@ -1,6 +1,45 @@
AM_MAKEFLAGS = --no-print-directory AM_MAKEFLAGS = --no-print-directory
MAINTAINERCLEANFILES = Makefile.in \ ACLOCAL_AMFLAGS = -I build-aux
aclocal.m4 configure config.h.in config.sub config.guess \
ltmain.sh depcomp compile missing install-sh mkinstalldirs noinst_LTLIBRARIES = ell/libell-internal.la
ell_sources = ell/ell.h ell/private.h \
ell/util.h ell/util.c \
ell/test.h ell/test.c \
ell/queue.h ell/queue.c \
ell/hashmap.h ell/hashmap.c \
ell/string.h ell/string.c \
ell/settings.h ell/settings.c \
ell/main.h ell/main.c \
ell/idle.h ell/idle.c \
ell/signal.h ell/signal.c \
ell/timeout.h ell/timeout.c \
ell/io.h ell/io.c \
ell/log.h ell/log.c \
ell/plugin.h ell/plugin.c \
ell/checksum.h ell/checksum.c \
ell/netlink.h ell/netlink.c \
ell/dbus-private.h \
ell/dbus.h ell/dbus.c \
ell/dbus-service.h ell/dbus-service.c
ell_libell_internal_la_SOURCES = $(ell_sources)
AM_CFLAGS = -fvisibility=hidden
MAINTAINERCLEANFILES = Makefile.in configure \
config.h.in aclocal.m4 build-aux/* $(ell_sources)
DISTCLEANFILES = $(BUILT_SOURCES)
BUILT_SOURCES = ell/internal
ell/internal: Makefile
$(AM_V_at)$(MKDIR_P) ell
$(AM_V_GEN)for f in $(ell_sources) ; do \
if [ ! -f $$f ] ; then \
$(LN_S) -t ell -f $(top_srcdir)/../../ell/$$f ; \
fi \
done > $@

View File

@ -1,3 +1,7 @@
#!/bin/sh #!/bin/sh
autoreconf --force --install if [ ! -d build-aux ]; then
mkdir build-aux
fi
autoreconf --force --install --symlink

View File

@ -1,10 +1,12 @@
AC_PREREQ(2.60) AC_PREREQ(2.60)
AC_INIT(iwd, 0.0) AC_INIT(iwd, 0.0)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_AUX_DIR(build-aux)
AC_CONFIG_MACRO_DIR(build-aux)
AM_INIT_AUTOMAKE([foreign subdir-objects color-tests silent-rules AM_INIT_AUTOMAKE([foreign subdir-objects color-tests silent-rules
tar-pax no-dist-gzip dist-xz]) tar-pax no-dist-gzip dist-xz])
AC_CONFIG_HEADERS(config.h)
AC_USE_SYSTEM_EXTENSIONS
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@ -14,5 +16,16 @@ AC_PREFIX_DEFAULT(/usr/local)
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_MKDIR_P
AC_PROG_LN_S
AC_OUTPUT(Makefile) LT_PREREQ(2.2)
LT_INIT([disable-static])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
AC_MSG_RESULT([
$PACKAGE_NAME $VERSION
])