runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

build.ninja (1192B)


      1 # used by ninja's build artefacts, but this is longer than DST
      2 # to write, hence I'll keep using the shortcut.
      3 builddir = ./build
      4 
      5 # build.ninja
      6 include conf.ninja
      7 
      8 # the XOPEN_SOURCE=500 could be avoided by using
      9 # _DEFAULT_SOURCE (the BSD one is deprecated) but
     10 # I am unsure if that would bring in non-standard
     11 # features, that I would rather avoid doing.
     12 #TODO investigate why _DEFAULT_SOURCE is actually
     13 # required by 2 subprojects, and if it really is
     14 # standard.
     15 CCFLAGS  = $$CCFLAGS $
     16  -DVERSION='"TODO..."' $
     17  -std=c11 $
     18  -D_POSIX_C_SOURCE=200809L $
     19  -D_XOPEN_SOURCE=500L $
     20  -Werror=strict-prototypes $
     21  -Werror=missing-variable-declarations $
     22  -Werror=missing-prototypes $
     23  -Werror=implicit-function-declaration $
     24  -Werror=incompatible-function-pointer-types $
     25  -Werror=cast-qual $
     26  -Werror=c2x-extensions $
     27  -Werror=float-conversion $
     28  -Werror=pedantic $
     29  -Werror=unreachable-code $
     30  -Werror=implicit-fallthrough$
     31 
     32 subninja src/librunit.ninja
     33 subninja src/runsv.ninja
     34 subninja src/chpst.ninja
     35 subninja src/sv.ninja
     36 subninja src/utmpset.ninja
     37 subninja src/runsvchdir.ninja
     38 subninja src/svlogd.ninja
     39 subninja src/runit.ninja
     40 subninja src/runit-init.ninja
     41 subninja src/runsvdir.ninja