building
[libxsql.git] / Jamfile
bloba006519103015fcbca55ebde8e2085a829579051
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 ;
6 if $(UNIX)      { SUFSHR = .so ; }
7 else if $(NT)   { SUFSHR = .dll ; }
9 set-default-locations ;
11 CFLAGS.all += -fPIC -D_GNU_SOURCE -Iinclude/libxsql -I$(HONE)/include ;
12 LINKLIBS.all += -ldl -L. ;
14 SubDir TOP ;
15 SubInclude TOP src ;
16 SubInclude TOP src config ;
18 softinclude $(TOP)/Jamrules.configure ;
20 InstallFile include/libxsql :
21     $(TOP)/include/libxsql/var.h
22     $(TOP)/include/libxsql/xsql.h
23     $(TOP)/include/libxsql/db.h
24     $(TOP)/include/libxsql/fmt.h
25     $(TOP)/include/libxsql/plot.h
28 InstallFile lib/pkgconfig : libxsql.pc ;
30 Clean clean :
31     libxsql.pc