first commit
[libpgclient.git] / Jamfile
blob5f69a3c43982d5f886fabb0dd27d846450959857
1 if ! $(THIS_IS_K8JAM) { Exit "You need k8jam to build this Download it here: http://repo.or.cz/w/k8jam.git" ; }
2 if $(windoze) {
3     setup-windoze ;
4     use-mingw32 ;
7 if $(debug) {
8     CFLAGS.all += -O0 -g3 ;
9 } else {
10     set-profile ;
12 set-default-locations ;
14 CFLAGS.all += -fPIC -D_GNU_SOURCE -Wall -Iinclude ;
16 SubDir TOP ;
17 SubInclude TOP src ;
18 SubInclude TOP test ;
20 softinclude $(TOP)/Jamrules.configure ;
22 InstallFile include/ :
23     $(TOP)/include/pgprov3.h
24     $(TOP)/include/pgconn.h
25     $(TOP)/include/pgconsts.h
26     $(TOP)/include/pgfld.h
27     $(TOP)/include/pgpool.h
30 InstallFile lib/pkgconfig : libpgclient.pc ;
32 Clean clean : libpgclient.pc ;