reord
[libpgclient.git] / Jamfile
blob023d130473d81a02265228e576e690cfc6056cf0
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 if $(debug) {
19     SubInclude TOP test ;
22 softinclude $(TOP)/Jamrules.configure ;
24 InstallFile include/pgclient :
25     $(TOP)/include/pgclient/pgprov3.h
26     $(TOP)/include/pgclient/pgconn.h
27     $(TOP)/include/pgclient/pgconsts.h
28     $(TOP)/include/pgclient/pgerrcodes.h
29     $(TOP)/include/pgclient/pgfld.h
30     $(TOP)/include/pgclient/pgpool.h
33 InstallFile lib/pkgconfig : libpgclient.pc ;
35 Clean clean : libpgclient.pc ;