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
9 if ! $(THIS_IS_K8JAM) { Exit "You need k8jam to build this Download it here: http://repo.or.cz/w/k8jam.git" ; }
16 if ( 'gcc' in $(CC) ) {
17 CFLAGS.all += -O0 -g3 ;
19 CFLAGS.all += -O0 -g ;
22 set-default-locations ;
24 if ( 'gcc' in $(CC) ) {
25 CFLAGS.all += -fPIC -D_GNU_SOURCE -Wall -Iinclude -Wno-array-bounds ;
27 CFLAGS.all += -qpic -D_GNU_SOURCE -Wall -Iinclude ;
35 softinclude $(TOP)/Jamrules.configure ;
37 InstallFile include/libpgcli :
38 $(TOP)/include/libpgcli/pgprov3.h
39 $(TOP)/include/libpgcli/pgconn.h
40 $(TOP)/include/libpgcli/pgconsts.h
41 $(TOP)/include/libpgcli/pgerrcodes.h
42 $(TOP)/include/libpgcli/pgfld.h
43 $(TOP)/include/libpgcli/pgpool.h
47 InstallFile lib$(ARCH_LIB)/pkgconfig : libpgcli.pc ;
49 InstallFile lib/pkgconfig : libpgcli.pc ;
52 Clean clean : libpgcli.pc ;