build-sys: use non-recursive build

For reasons see excellent paper 'Recursive Make Considered Harmful' by
Peter Miller.

References: http://miller.emu.id.au/pmiller/books/rmch/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-04-24 21:36:16 +01:00
parent 0495ea4edf
commit 30238e9d1c
18 changed files with 102 additions and 115 deletions

18
src/Makemodule.am Normal file
View file

@ -0,0 +1,18 @@
## Makefile.am -- Process this file with automake to produce Makefile.in
bin_PROGRAMS = dhcpd-pools
AC_PROG_RANLIB = resolv
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib -I$(top_builddir)/lib
dhcpd_pools_LDADD = $(top_builddir)/lib/libdhcpd_pools.la
dhcpd_pools_SOURCES = \
src/analyze.c \
src/defaults.h \
src/dhcpd-pools.c \
src/dhcpd-pools.h \
src/getdata.c \
src/hash.c \
src/other.c \
src/output.c \
src/sort.c