summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-03 00:36:34 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-03 00:36:34 -0500
commitba29df2ef0ab32313e332ce7ce4e086f29d8d07d (patch)
tree55eaa8a7fee166fc876e92e94229082b3a8d61ed /Makefile
parent15b67942e56de4e0068f0870f257e852cd8b7c00 (diff)
buildsystem
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 55c26ef..1291709 100644
--- a/Makefile
+++ b/Makefile
@@ -15,16 +15,14 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
include $(dir $(lastword $(MAKEFILE_LIST)))/config.mk
-include $(topsrcdir)/common.top.mk
+include $(topsrcdir)/automake.head.mk
-subdirs = wrapper modules
+am_subdirs = wrapper modules
-src_files = Makefile
-src_files += common.top.mk common.bottom.mk
-src_files += common.each.mk common.once.mk
-src_files += config.mk configure
-src_files += COPYING HACKING README
-out_files = config.sh config.h
+makefiles = Makefile automake.head.mk automake.tail.mk automake.txt common.once.head.mk common.once.tail.mk common.each.head.mk common.each.tail.mk config.mk
+
+am_src_files = COPYING HACKING README configure config.mk.in
+am_out_files = config.sh config.h
config_vars = $(shell $(SED) -n 's/^\s*\([a-z][^ !?:=]*\).*=.*/\1/p' $(topoutdir)/config.mk) PACKAGE VERSION DESTDIR
$(outdir)/config.sh: $(outdir)/config.mk
@@ -32,4 +30,4 @@ $(outdir)/config.sh: $(outdir)/config.mk
$(outdir)/config.h: $(outdir)/config.sh
. $(abspath $<) && $(PRINTF) '#define %s "%s"\n' $(foreach v,$(config_vars),$v '$($v)') PACKAGE_UPPER $${PACKAGE^^} | LC_ALL=C $(SORT) > $@
-include $(topsrcdir)/common.bottom.mk
+include $(topsrcdir)/automake.tail.mk