telize

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

build.conf (1005B)


      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=-DGEOIP2DB_CITY="GeoLite2-City.mmdb"
     15 cflags=-DGEOIP2DB_ASN="GeoLite2-ASN.mmdb"
     16 cflags=-Wall -Wextra -pedantic -Wmissing-declarations
     17 cflags=-Wshadow -Wstrict-prototypes -Wmissing-prototypes
     18 cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
     19 cflags=-I/usr/pkg/include
     20 ldflags=-L/usr/local/lib -L/usr/pkg/lib -lmaxminddb
     21 
     22 dev {
     23 	# These flags are added to the shared ones when
     24 	# you build the "dev" flavor.
     25 	cflags=-g
     26 	cxxflags=-g
     27 }
     28 
     29 #prod {
     30 #	You can specify additional flags here which are only
     31 #	included if you build with the "prod" flavor.
     32 #}