scram
[libpgclient.git] / util / Jamfile
blob0d94129499ad1f5e24dfb37d329bafca200fb556
1 #Copyright (c) Brian B.
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 3 of the License, or (at your option) any later version.
7 # See the file LICENSE included with this distribution for more
8 # information.
9 SubDir TOP util ;
11 if ( $(PREFIX) = $(HOME) ) {
12     switch $(OS) {
13         case LINUX :
14             Main pgsql_linux : pgsql.c pgsql_cmd.c linenoise.c ;
15             LinkLibraries pgsql_linux : libpgcli.a ;
16             InstallBin bin : pgsql_linux ;
17         case AIX :
18             Main pgsql_aix : pgsql.c pgsql_cmd.c linenoise.c ;
19             LinkLibraries pgsql_aix : libpgcli.a ;
20             InstallBin bin : pgsql_aix ;
21     }
22 } else {
23     Main pgsql : pgsql.c pgsql_cmd.c linenoise.c ;
24     LinkLibraries pgsql : libpgcli.a ;
25     InstallBin bin : pgsql ;