"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.16.7/.dir-locals.el" (4 Sep 2020, 3772 Bytes) of package /linux/misc/dns/bind9/9.16.7/bind-9.16.7.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Lisp source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ;;; Directory Local Variables
    2 ;;; For more information see (info "(emacs) Directory Variables")
    3 
    4 ((c-mode .
    5   ((eval .
    6      (set (make-local-variable 'directory-of-current-dir-locals-file)
    7           (file-name-directory (locate-dominating-file default-directory ".dir-locals.el"))
    8           )
    9      )
   10    (eval .
   11      (set (make-local-variable 'include-directories)
   12           (list
   13 
   14            ;; top directory
   15            (expand-file-name
   16         (concat directory-of-current-dir-locals-file "./"))
   17 
   18            ;; libisc
   19            (expand-file-name
   20         (concat directory-of-current-dir-locals-file "lib/isc/unix/include"))
   21            (expand-file-name
   22         (concat directory-of-current-dir-locals-file "lib/isc/pthreads/include"))
   23            (expand-file-name
   24         (concat directory-of-current-dir-locals-file "lib/isc/include"))
   25            (expand-file-name
   26         (concat directory-of-current-dir-locals-file "lib/isc"))
   27            (expand-file-name
   28         (concat directory-of-current-dir-locals-file "lib/isc/netmgr"))
   29 
   30            ;; libdns
   31            (expand-file-name
   32         (concat directory-of-current-dir-locals-file "lib/dns/include"))
   33            (expand-file-name
   34         (concat directory-of-current-dir-locals-file "lib/dns"))
   35 
   36            ;; libisccc
   37            (expand-file-name
   38         (concat directory-of-current-dir-locals-file "lib/isccc/include"))
   39 
   40            ;; libisccfg
   41            (expand-file-name
   42         (concat directory-of-current-dir-locals-file "lib/isccfg/include"))
   43 
   44            ;; libns
   45            (expand-file-name
   46         (concat directory-of-current-dir-locals-file "lib/ns/include"))
   47 
   48            ;; libirs
   49            (expand-file-name
   50         (concat directory-of-current-dir-locals-file "lib/irs/include"))
   51 
   52            ;; libbind9
   53            (expand-file-name
   54         (concat directory-of-current-dir-locals-file "lib/bind9/include"))
   55 
   56            ;; bin
   57            (expand-file-name
   58         (concat directory-of-current-dir-locals-file "bin/check"))
   59            (expand-file-name
   60         (concat directory-of-current-dir-locals-file "bin/confgen/include"))
   61            (expand-file-name
   62         (concat directory-of-current-dir-locals-file "bin/confgen"))
   63            (expand-file-name
   64         (concat directory-of-current-dir-locals-file "bin/confgen/include"))           
   65            (expand-file-name
   66         (concat directory-of-current-dir-locals-file "bin/dig/include"))
   67            (expand-file-name
   68         (concat directory-of-current-dir-locals-file "bin/named/include"))
   69            (expand-file-name
   70         (concat directory-of-current-dir-locals-file "bin/named/unix/include"))
   71            (expand-file-name
   72         (concat directory-of-current-dir-locals-file "bin/rndc/include"))
   73            (expand-file-name
   74         (concat directory-of-current-dir-locals-file "bin/dnssec/include"))
   75            (expand-file-name
   76         (concat directory-of-current-dir-locals-file "bin/named/include"))
   77            (expand-file-name
   78         (concat directory-of-current-dir-locals-file "bin/rndc/include"))
   79 
   80            (expand-file-name "/usr/local/opt/openssl@1.1/include")
   81            (expand-file-name "/usr/local/opt/libxml2/include/libxml2")
   82            (expand-file-name "/usr/local/opt/json-c/include/json-c/")
   83            (expand-file-name "/usr/local/include")
   84            )
   85           )
   86      )
   87 
   88    (eval setq flycheck-clang-include-path include-directories)
   89    (eval setq flycheck-cppcheck-include-path include-directories)
   90    (eval setq flycheck-gcc-include-path include-directories)
   91    (eval setq flycheck-clang-args
   92      (list
   93       "-include"
   94       (expand-file-name
   95        (concat directory-of-current-dir-locals-file "config.h"))
   96       )
   97      )
   98    (eval setq flycheck-gcc-args
   99      (list
  100       "-include"
  101       (expand-file-name
  102        (concat directory-of-current-dir-locals-file "config.h"))
  103       )
  104      )
  105    (eval setq flycheck-cppcheck-args
  106      (list
  107       "--enable=all"
  108       "--suppress=missingIncludeSystem"
  109       (concat "-include=" (expand-file-name
  110                    (concat directory-of-current-dir-locals-file "config.h")))
  111       )
  112      )
  113    )
  114   ))