File: apq-postgresql.gpr

package info (click to toggle)
apq-postgresql 3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 384 kB
  • ctags: 187
  • sloc: ada: 2,169; ansic: 2,003; makefile: 93; sql: 3; sh: 2
file content (36 lines) | stat: -rw-r--r-- 1,347 bytes parent folder | download
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
31
32
33
34
35
36
--  APQ PostgreSQL project file for use with GNAT.
--  Copyright (c) 2009 Adrian-Ken Rueegsegger <ken@codelabs.ch>
--
--  This program is free software; you can redistribute it and/or modify
--  it under the terms of the GNU General Public License as published by
--  the Free Software Foundation; either version 2 of the License, or
--  (at your option) any later version.
--
--  This program is distributed in the hope that it will be useful,
--  but WITHOUT ANY WARRANTY; without even the implied warranty of
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--  GNU General Public License for more details.
--
--  This project file is designed to help build applications that use
--  APQ Postgresql.  Here is an example of how to use this project file:
--
--  with "apq-postgresql";
--  project Example is
--     for Object_Dir use "obj";
--     for Exec_Dir use ".";
--     for Main use ("example");
--  end Example;

with "apq";

project APQ.PostgreSQL is
   for Source_Dirs use ("/usr/share/ada/adainclude/apq-postgresql");
   for Library_Name use "apq-postgresql";
   for Library_Dir use "/usr/lib";
   for Library_ALI_Dir use "/usr/lib/ada/adalib/apq-postgresql";
   for Library_Kind use "dynamic";
   for Externally_Built use "true";

   Ada_Switches := ("-lapq-postgresqlhelp", "-lapq-postgresql");

end APQ.PostgreSQL;