Rombobjörn

summaryrefslogtreecommitdiff
path: root/milter_api.gpr.gp
blob: e585e8ad8f1a3e0d1c04fde3562d103eca1dc797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;