File: apq-postgresql.gpr.in

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 (46 lines) | stat: -rw-r--r-- 858 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
37
38
39
40
41
42
43
44
45
46
-- Build file for Aw_Lib.
--
-- author Marcelo Coraça de Freitas <marcelo.batera@gmail.com> 
--
-- Repository information:
-- $Date: 2008-02-25 19:47:48 -0300 (Seg, 25 Fev 2008) $
-- $Revision: 234 $
-- $Author: ogro $


with "apq.gpr";

project APQ.PostgreSQL is

	version := $version;
	
	
	for Languages use ( "Ada", "C" );
	
	for Source_Dirs use ( "src" );
	
	for Object_Dir use "obj";
	
	-- LIBRARY
	for Library_Dir use "lib";
	for Library_Name use "apq-postgresql";
	for Library_Kind use APQ'Library_Kind;
	for Library_Version use "libapq-postgresql.so." & Version;
	
	
	package Compiler is
		for Default_Switches ("ada") use ("-O2", "-gnat05");
	end Compiler;



	package Linker is
		for Default_Switches ("Ada") use (
			"-lpq",
			"-lapq-postgresqlhelp"
		);
		--for Default_Switches ("ada") use ("-ldl", "-lpq");
	end Linker;

end APQ.PostgreSQL;