telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

build.conf (919B)


      1 # telize build config
      2 # You can switch flavors using: kodev flavor [newflavor]
      3 
      4 # Set to yes if you wish to produce a single binary instead
      5 # of a dynamic library. If you set this to yes you must also
      6 # set kore_source together with kore_flavor.
      7 #single_binary=no
      8 #kore_source=/home/joris/src/kore
      9 #kore_flavor=
     10 
     11 # The flags below are shared between flavors
     12 cflags=-std=c99 -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2 -O2
     13 cflags=-DGEOIP2DIR="/var/db/GeoIP/"
     14 cflags=-Wall -Wextra -pedantic -Wmissing-declarations
     15 cflags=-Wshadow -Wstrict-prototypes -Wmissing-prototypes
     16 cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
     17 cflags=-I/usr/pkg/include
     18 ldflags=-L/usr/local/lib -L/usr/pkg/lib -lmaxminddb
     19 
     20 dev {
     21 	# These flags are added to the shared ones when
     22 	# you build the "dev" flavor.
     23 	cflags=-g
     24 	cxxflags=-g
     25 }
     26 
     27 #prod {
     28 #	You can specify additional flags here which are only
     29 #	included if you build with the "prod" flavor.
     30 #}