Rombobjörn

summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2013-02-13 23:17:52 +0100
committerBjörn Persson <bjorn@rombobjörn.se>2013-02-13 23:17:52 +0100
commit4766a7a7a2f23ee10560e1a2a177eec8931d974a (patch)
tree5380090b964906e3317b930b43ce38bd60f5e0cf /Makefile
parentb5565b3dc55003122b0ffdc211d03446971ff12a (diff)
Added a convenient and flexible build system.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
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}