Rombobjörn

summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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}