From 4766a7a7a2f23ee10560e1a2a177eec8931d974a Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Wed, 13 Feb 2013 23:17:52 +0100 Subject: Added a convenient and flexible build system. --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a0e260b --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# makefile to compile the Ada Milter API into a shared library +# Copyright 2013 B. Persson, Bjorn@Rombobeorn.se +# +# This makefile is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 3, as published +# by the Free Software Foundation. + + +include comfignat.mk + +options = wrap_threads +wrap_threads = false + +build_GPRs = build_milter_api.gpr +ifeq (${wrap_threads},true) + build_GPRs += build_thread_wrapper.gpr +endif +usage_GPRs = milter_api.gpr + +test_milter: build build_test_milter.gpr + ${build_GPR} -- cgit v1.2.3