Rombobjörn

summaryrefslogtreecommitdiff
path: root/milter_api.gpr.gp
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2013-08-06 20:10:06 +0200
committerBjörn Persson <bjorn@rombobjörn.se>2013-08-06 20:10:06 +0200
commitb63c05741fb491cc364cd4635a5a1eb9dae51454 (patch)
treef7b44b557b1a8ec8e1b040a1ec58df34cdf263ab /milter_api.gpr.gp
parentb2be45c7844ff3a433a909f6dda74e7c612f1fb0 (diff)
Updated Comfignat to version 1.1.
Diffstat (limited to 'milter_api.gpr.gp')
-rw-r--r--milter_api.gpr.gp30
1 files changed, 30 insertions, 0 deletions
diff --git a/milter_api.gpr.gp b/milter_api.gpr.gp
new file mode 100644
index 0000000..e585e8a
--- /dev/null
+++ b/milter_api.gpr.gp
@@ -0,0 +1,30 @@
+-- Projects that use the Ada Milter API should import this file.
+-- Copyright 2009 - 2013 B. Persson, Bjorn@Rombobeorn.se
+--
+-- This library 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.
+
+
+#if Directories_GPR'Defined then
+with $Directories_GPR;
+#end if;
+
+library project Milter_API is
+
+ for Library_Name use "adamilter";
+ for Library_Kind use "dynamic";
+ for Source_Dirs use ($Includedir & "/adamilter");
+ for Library_Dir use $Libdir;
+ for Library_ALI_Dir use $Libdir & "/adamilter";
+ for Externally_Built use "true";
+
+ #if Wrap_Threads then
+ package Linker is
+ -- Programs that link to libadamilter shall link to
+ -- libadamilter_thread_wrapper and libdl too.
+ for Linker_Options use ("-ladamilter_thread_wrapper", "-ldl");
+ end Linker;
+ #end if;
+
+end Milter_API;