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. --- build_milter_api.gpr | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 build_milter_api.gpr (limited to 'build_milter_api.gpr') diff --git a/build_milter_api.gpr b/build_milter_api.gpr deleted file mode 100644 index a6d7245..0000000 --- a/build_milter_api.gpr +++ /dev/null @@ -1,43 +0,0 @@ --- Use this project file to compile the Ada Milter API into a shared library. --- Copyright 2009 - 2012 B. Persson, Bjorn@Rombobeorn.se --- --- This project file 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. - - -with "directories"; -with "system_log"; - -project Build_Milter_API is - - Version := "1.2.1"; - Destdir := external("DESTDIR", ""); - - for Library_Name use "adamilter"; - for Library_Kind use "relocatable"; - for Library_Version use "libadamilter.so." & Version; - for Library_Src_Dir use Destdir & Directories.Includedir & "/adamilter"; - for Library_Dir use Destdir & Directories.Libdir; - for Library_ALI_Dir use Destdir & Directories.Libdir & "/adamilter"; - - -- Put the binder files for different architectures in subdirectories where - -- they won't conflict with each other. - for Object_Dir use "obj/" & Directories.Hardware_Platform; - - for Library_Interface use ("Milter_API", "Berkeley_Exit_Codes"); - for Languages use ("Ada", "C"); - - package Compiler is - for Default_Switches ("Ada") use ("-gnato"); - end Compiler; - - -- Ensure that the shared library will be initialized. GPRbuild 2010 doesn't - -- pass -a automatically. - package Binder is - for Default_Switches ("Ada") use ("-a"); - end Binder; - - for Library_Options use ("-lmilter"); - -end Build_Milter_API; -- cgit v1.2.3